Survey and Correlated Data
Stata’s svy: prefix now works with
Twenty-six other commands also now support estimation with survey data.
You just declare the survey design for your data by using svyset, and then declare your data to be survival-time data by using stset. Here’s an example:
| . webuse nhefs . svyset psu2 [pw = swgt2], strata(strata2) . stset age_lung_cancer if age_lung_cancer < . [pw = swgt2], fail(lung_cancer) . svy: stcox former_smoker smoker male urban1 rural |

We could just as easily have fitted a parametric survival regression model simply by replacing svy:stcox with svy:streg.
Here’s a complete list of what’s new in statistics(survey)
|
bivariate probit regression | |
| clogit | conditional (fixed effects) logistic regression | |
| cloglog | complementary log-log regression | |
| cnreg | censored-normal regression | |
| cnsreg | constrained linear regression | |
| glm | generalized linear models | |
| hetprob | heteroskedastic probit regression | |
| ivregress | instrumental-variable regression | |
| ivtobit | probit model with endogenous regressors | |
| ivprobit | tobit model with endogenous regressors | |
| mprobit | multinomial probit regression | |
| nl | nonlinear least-squares estimation | |
| scobit | skewed logistic regression | |
| slogit | stereotype logistic regression | |
| stcox | Cox proportional hazards regression | |
| streg | parametric survival regression (five estimators) | |
| tobit | tobit regression | |
| treatreg | treatment-effects model | |
| truncreg | truncated regression | |
| zinb | zero-inflated negative binomial regression | |
| zip | zero-inflated Poisson regression | |
| ztnb | zero-truncated negative binomial regression | |
| ztp | zero-truncated Poisson regression |
See [SVY] svyset.
Back to What is New in Stata 10