Re: [R] quantile() with weights
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Wouter Envoyé : vendredi 9 juin 2006 19:15 Hi list, I'm looking for a way to calculate quantiles (such as in quantile()), but with the ability to assign a different weight to each member of the sample vector. [...] See 'wtd.quantile' in the 'Hmisc' package. Christophe -- Christophe Declercq, MD Observatoire régional de la santé Nord-Pas-de-Calais 235, avenue de la recherche BP 86 F-59373 LOOS CEDEX Phone +33 3 20 15 49 24 Fax + 33 3 20 15 10 46 E-mail [EMAIL PROTECTED] __ 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
[R] quantile() with weights
Hi list, I'm looking for a way to calculate quantiles (such as in quantile()), but with the ability to assign a different weight to each member of the sample vector. It is possible to write it out completely, but maybe there is a dedicated function out somewhere... cheers Wouter __ 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
Re: [R] quantile() with weights
Wouter wrote: Hi list, I'm looking for a way to calculate quantiles (such as in quantile()), but with the ability to assign a different weight to each member of the sample vector. It is possible to write it out completely, but maybe there is a dedicated function out somewhere... cheers Wouter __ 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 See ?wtd.quantile in package Hmisc. --sundar __ 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
Re: [R] quantile() with weights
Wouter wrote: Hi list, I'm looking for a way to calculate quantiles (such as in quantile()), but with the ability to assign a different weight to each member of the sample vector. It is possible to write it out completely, but maybe there is a dedicated function out somewhere... cheers Wouter See ?wtd.quantile in package Hmisc. --sundar __ 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