search for: age10

Displaying 2 results from an estimated 2 matches for "age10".

Did you mean: age1
2011 Feb 28
3
Measuring correlations in repeated measures data
...from package nlme, where the model is: fit <- lmer(distance ~ age + (1 | Subject), data=Orthodont) I would like to measure the correlation b/t the variable "distance" at different ages such that I would have a matrix of correlation coefficients like the following: age08 age09 age10 age11 age12 age13 age14 age08 1 age09 1 age10 1 age11 1 age12 1 age13 1 age14 1 The idea would be to demonstrate that the correlations b/t repeated me...
2010 Feb 11
1
Rounding multinomial proportions
...he 'stats' package, with the other multinomial functions reside. I'm using R to export data to text files, which are input data for an external model written in C++. Parts of the data are age distributions, in the form of relative frequency in each year: Year Age1 Age2 ... Age10 1980 0.123 0.234 ... 0.001 ... ... ... ... ... Each row should sum to exactly 1. The problem is that when I preprocess each line in R as p<-a/sum(a), occasionally a line will sum to 0.999, 1.002, or the like. This could either crash the external model or lead to wrong conc...