Hi Keti
Before reinventing the wheel from scratch you might want to take a
look at the survey package
http://faculty.washington.edu/tlumley/survey/
best
robert
On 4/24/07, Keti Cuko <ktcuko at gmail.com> wrote:> Hi,
> My name is Katie and I was wondering if you could help me with my problem.
I
> am trying to write a function in R that computes the statistics (mean,
> standard error, confidence intervals) for stratified samples. I am not that
> familiar with R and I am having dificulties setting this function up. Any
> help or tips on where/how to do this?
>
> Best,
> Katie
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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
> and provide commented, minimal, self-contained, reproducible code.
>