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…
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…
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…
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 <-…
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…
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:…
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…
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…
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…
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…
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…
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…
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…
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]
…