Questions tagged [frequency]

The rate at which a thing occurs or is found.

The rate at which a thing occurs or is found.

2858 questions
0
votes
2 answers

Calculating Mean and SD of Frequency Data for 500+ Users in R

I have frequency data on 520 users. I want to calculate the overall mean and sd for each user. Later I want to use the mean and sd to calculate shape and scale for fitting them to a Beta distribution. I have tried a couple of methods. Consider my…
MK25
  • 11
  • 4
0
votes
0 answers

alerts trigger multiple times

the code has "alert.freq_once_per_bar_close" but for some reason the alerts keep triggering until they are stopped for too many alerts. I noticed there is not an "Options" dialog in the alerts setup box is there a way to add the options box in the…
Scott
  • 1
0
votes
2 answers

How can I get the start and end indices of a note in a volume graph?

I am trying to make a program, that tells me when a note has been pressed. I have the following notes exported as a .wav file (The C Major Scale 4 times with different rhythms, dynamics and in different octaves): I can get the volumes of my sound…
CozyCode
  • 484
  • 4
  • 13
0
votes
2 answers

How to plot counts stackbar in ggplot2 R?

Dataset contains "two friends" and coded "interaction" (all factors). I want to plot the frequency of type of interactions between two friends using a stacked bar. I tried the following code. Friend1 <-…
Rspacer
  • 2,369
  • 1
  • 14
  • 40
0
votes
0 answers

A function to calculate adjusted odds in a multivariable frequency table?

I am looking for a function that allows me to calculate adjusted odds (not odds ratios) for a combination of multiple independent variables and one binary dependent variable. Would appreciate the help. in the following dataframe example : z is the…
Anas116
  • 797
  • 2
  • 9
0
votes
1 answer

how to create an array if I have the frequency of the elements given

I want to create an array which displays the element that many times as the entered frequency. I wrote the following code printf("Enter the number of 5 kg cartons: "); scanf("%d",&c5); printf("Enter the number of 10 kg cartons:…
0
votes
5 answers

How to count frequency of first letters of strings?

I have a list of strings in my program, for example: [ 'home', 'dog', 'park', 'house', 'hotel', 'fire' ] and I want to know which is the most first frequent letter . for example in that string is the letter H because it is in hotel, house and…
Francesco
  • 13
  • 2
0
votes
0 answers

A frequency line chart from pivot table on excel

I have a data I want to sort into pivot-based graphs and I need help with it. Below is an example of the data im sorting Basically, I want the pivot to have a week number and category filter. Then for it to sort the data like a frequency based…
Meion
  • 1
0
votes
0 answers

How to make a loop for Cloud Analysis?

I am doing some cloud analysis and frecuency tables to determine which words are the most common in a dataset of motivation speches of the nobel prize, using the quanteda library. Now my data set is divided into all of the type of prizes there is…
0
votes
0 answers

How to use chisquare test to compare the statistical significance of the difference of frequencies of the categories of a categorical variable?

let's say that I have a table as follows SSE1 SSE2 SSE3 SSE4 SSE5 frequncy 125 200 259 300 200 And I wish to use chisq.test to see if these values are statistically different from each other or not. But I don't know how…
Anas116
  • 797
  • 2
  • 9
0
votes
1 answer

How to include NA frequencies when making a list of frequency tables?

I have the dataframes df, df1, and the list l1 as follows : df = data.frame(x = c(1,0,0,0,1,1,1,NA), y = c(2,2,2,2,3,3,2,NA), z = c(1:7,NA), m = c(1,2,3,1,2,3,1,NA) ) df$x = factor(df$x) df$y = factor(df$y) df$m = factor(df$m) df1…
Anas116
  • 797
  • 2
  • 9
0
votes
3 answers

Automatic creation of table of frequencies

I have search a way to improve the efficacity of my code. This is my data : Data = Type District A 1 B 1 A 2 C 1 B 1 C 2 A 2 I want to obtain a table like this : 1 2 A Freq Freq B Freq Freq C Freq Freq With…
Léo
  • 11
  • 2
0
votes
2 answers

How to add a percentage column to each dataset of a list?

I have this dataset (let's imagine it with 900 variables ) and the list l2 as follows : df = data.frame(x = c(1,0,0,0,1,1,1), y = c(2,2,2,2,3,3,2) ) l1 = lapply(df,table) l2 = lapply(l1,as.data.frame) I wish to add a percentage column to each of…
Anas116
  • 797
  • 2
  • 9
0
votes
2 answers

Calculate frequency of float values in list Python

I need to calculate frequency of float elements in list. Convert them to int I can't, because I need to manipulate then float values, not int. My try in the code below: values = [21.963, 23.4131, 23.7639, 24.3934, 24.5237, 25.2829, 25.394] …
Qvch
  • 45
  • 4
1 2 3
99
100