Table 4 Some common analyses with svy commands in STATA 12
Archived Content
Information identified as archived is provided for reference, research or recordkeeping purposes. It is not subject to the Government of Canada Web Standards and has not been altered or updated since it was archived. Please "contact us" to request a format other than those available.
Type of analysis | Procedure |
---|---|
Means | svy:mean |
Totals | svy:total |
Ratios | svy:ratio |
Proportions / percentages | svy:proportion; svy:tabulate |
Tests of independence in 2-way tables | svy:tabulate |
Linear regression | svy:regress |
Logistic regression | svy:logistic or svy:logit |
Multinominal Logit | svy:mlogit |
Proportional odds | svy:ologit |
Loglinear and Poisson regression | svy:poisson |
Proportional hazards models (Cox) | svy:stcox |
Kaplan Meier survival curve | svy:stcox with single covariate followed by stcurve |
- Date modified: