Displaying 2 results from an estimated 2 matches for "fractil".
Did you mean:
fractal
2011 Aug 21
1
rank analysis - reinventing the wheel?
Hello,
I have two data frames. One is my dependent variable and the other is my
independent variable. For each row I'd like to split the independent
variable into fractiles (25 or more) and calculate the average value of the
dependent variable. Then I would like to plot the average of the averages
for each row for each fractile. If possible, I'd like to have the option to
1) define the fractiles independently for each row, and 2) define the
fractiles based off...
2007 Mar 30
1
Using split() several times in a row?
Hi, fellow R users.
I have a question about sapply and split combination.
I have a big dataframe (40000 observations, 21 variables). First
variable (factor) is "date" and it is in format "8.29.97", that is, I
have monthly data. Second variable (also factor) has levels 1 to 6
(fractiles 1 to 5 and missing value with code 6). The other 19
variables are numeric.
For each month I have several hunder observations of 19 numeric and 1 factor.
I am normalizing the numeric variables by dividing val1 by val2, where:
val1: (for each month, for each numeric variable) difference between
m...