Re: [R] return.replicates in survey pkg

2010-03-26 Thread Thomas Lumley
On Fri, 26 Mar 2010, Richard Valliant wrote: How do I retrieve the replicates estimates from a crosstab done using svyby? Here is an example from the help page for svyby in the package: data(api) dclus1<-svydesign(id=~dnum, weights=~pw, data=apiclus1, fpc=~fpc) rclus1<-as.svrepdesign(dclus1)

[R] return.replicates in survey pkg

2010-03-26 Thread Richard Valliant
How do I retrieve the replicates estimates from a crosstab done using svyby? Here is an example from the help page for svyby in the package: > data(api) > dclus1<-svydesign(id=~dnum, weights=~pw, data=apiclus1, fpc=~fpc) > rclus1<-as.svrepdesign(dclus1) > > a <- svyby(~api99, ~stype, rclus1, svym