search for: mydataram

Displaying 1 result from an estimated 1 matches for "mydataram".

Did you mean: mydatarame
2013 Jun 29
0
Quantile Regression/(package (quantreg))
Mike, Do something like: require(rms) dd <- datadist(mydatarame); options(datadist='dd') f <- Rq(y ~ rcs(age,4)*sex, tau=.5) # use rq function in quantreg summary(f) # inter-quartile-range differences in medians of y (b/c tau=.5) plot(Predict(f, age, sex)) # show age effect on median as a continuous variable For more help type ?summary.rms and...