Lines Matching +refs:svyratio +refs:survey +refs:design
3 %\VignetteIndexEntry{A survey analysis example}
6 \title{A survey analysis example}
11 This document provides a simple example analysis of a survey data set,
27 library(survey)
32 The \texttt{svydesign} function returns an object containing the survey data and metadata.
41 function takes a formula object describing the variables and a survey
42 design object containing the data.
48 svyratio(~api.stu,~enroll, dclus1)
52 correctly on these survey objects, carrying along the metadata needed
56 svyratio(~api.stu, ~enroll, design=subset(dclus1, stype=="H"))
74 svyby(~ell+meals, ~stype, design=dclus1, svymean)
80 regmodel <- svyglm(api00~ell+meals,design=dclus1)
81 logitmodel <- svyglm(I(sch.wide=="Yes")~ell+meals, design=dclus1, family=quasibinomial())
96 svyratio(~api.stu,~enroll, gclus1)