Displaying 1 result from an estimated 1 matches for "gest_ag".
Did you mean:
gest_age
2010 Jan 28
0
LMS estimation for lmsqreg package
...nding of statistics, I roughly understand the formulas, but then I don't know how to recreate them in R.) Does anyone have an example?
So far I have done this:
library(lmsqreg)
centiles <- c(0.004,0.02,0.09,0.25,0.5,0.75,0.91,0.98,0.996)
lms.fit <- lmsqreg.fit(boys.o$BIRTH_WEIGHT,boys.0$GEST_AGE,edf=c(3,5,3),pvec=centiles)
plot(lms.fit)
points(boys.0$GEST_AGE,boys.0$BIRTH_WEIGHT)
I also plotted the median and the coefficient of variation by gestation age, but then I'm struggling to find the correct command to plot the Box-Cox power by gestation age. (Does it makes sense to compute al...