*stata的help中的例子都有。stata的manual,里面讲的更加详细
*Examples
* -----------------------------------------------------------------------------------------------------------------
*Setup
sysuse auto
*Probit regression
probit foreign weight mpg *Same as above, but with robust standard errors
probit foreign weight mpg, vce(robust)
*-----------------------------------------------------------------------------------------------------------------
*Setup
webuse union
*Probit regression
probit union age grade not_smsa south##c.year *Same as above, but adjust standard errors for clusters in id
probit union age grade not_smsa south##c.year, vce(cluster id)
*-----------------------------------------------------------------------------------------------------------------
*Setup
webuse nhanes2d, clear
svyset *Probit regression using survey data svy: probit highbp height weight age female