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 and 
nonparametric smoothing models also are available.

Brian

Brian S. Cade

U. S. Geological Survey
Fort Collins Science Center
2150 Centre Ave., Bldg. C
Fort Collins, CO  80526-8818

email:  [EMAIL PROTECTED]
tel:  970 226-9326



Frank E Harrell Jr <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
03/10/2006 04:07 PM

To
[EMAIL PROTECTED]
cc
r-help <r-help@stat.math.ethz.ch>
Subject
Re: [R] how to calculate the quantile of the weighted data






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
                     Department of Biostatistics   Vanderbilt University

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! 
http://www.R-project.org/posting-guide.html

        [[alternative HTML version deleted]]

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to