Confidence intervals for regression parameters

A tiny dataset from the VPLX manual.

1 |

A data frame with 6 observations on the following 5 variables.

- rooms
Number of rooms in the house

- person
Number of people in the household

- weight
Sampling weight

- cluster
Cluster number

- stratum
Stratum number

Manual for VPLX, Census Bureau.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ```
data(crowd)
## Example 1-1
i1.1<-as.svrepdesign(svydesign(id=~cluster, weight=~weight,data=crowd))
i1.1<-update(i1.1, room.ratio=rooms/person,
overcrowded=factor(person>rooms))
svymean(~rooms+person+room.ratio,i1.1)
svytotal(~rooms+person+room.ratio,i1.1)
svymean(~rooms+person+room.ratio,subset(i1.1,overcrowded==TRUE))
svytotal(~rooms+person+room.ratio,subset(i1.1,overcrowded==TRUE))
## Example 1-2
i1.2<-as.svrepdesign(svydesign(id=~cluster,weight=~weight,strata=~stratum, data=crowd))
svymean(~rooms+person,i1.2)
svytotal(~rooms+person,i1.2)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.