Stata 9, Epi tables, Survey, Factor Tables for epidemiologists Survey commands Factor analysis H.S.1
Tables for epidemiologists Commands –csCohort study with incidence proportion –irCohort study with incidence rate –ccCase-control –mccMatched case-control Example –cc diseased exposed, by(sex)Stratified MH-OR Calculator (i=immideate) –csi RR –iri RR –cci OR H.S.2
Survey commands Purpose –A family of commands to account for survey designg effects (stratification (and clustering)) Workflow –svyset [pweight=p1],strata(country)set probability weights and stratification –svy:mean x1weighted mean –Regressions do not need weighting H.S.3
Factor analysis Purpose –Find latent factors from a large set of variables Workflow –factor x1 x2 x3factor analysis –screeplotplot eigenvalues –factor x1 x2 x3, factors(3)max 3 factors –estat kmosampling OK? –rotatevarimax rotation –loadingplot2 first factors H.S.4