Re: [R] how to calculate the quantile of the weighted data

2006-03-13 Thread Brian S Cade
You could also consider using the quantreg package. The linear quantile regression estimator rq() in this package has a weights option and using this linear model approach allows you to include covariates if necessary and perform hypothesis tests and estimate confidence intervals. Nonlinear

[R] how to calculate the quantile of the weighted data

2006-03-10 Thread Jing Yang
Dear R-users, Does anyone have an idea of how to calculate the quantile of the weighted data? Any suggestion will be appreciated! Best,Jing __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the

Re: [R] how to calculate the quantile of the weighted data

2006-03-10 Thread Frank E Harrell Jr
Jing Yang wrote: Dear R-users, Does anyone have an idea of how to calculate the quantile of the weighted data? Any suggestion will be appreciated! Best,Jing library(Hmisc) ?wtd.quantile -- Frank E Harrell Jr Professor and Chair School of Medicine