Things I Love About Stata — egen mean

egen mean I work a lot with clustered data, including group psychotherapy data (people clustered in groups), individual psychotherapy data (people clustered within therapists), and longitudinal data (observations clustered within people). Consequently, I often need to create cluster-level means and grand means for graphing and modeling. The egen mean function makes creating means easy. CombiningContinue reading “Things I Love About Stata — egen mean”

Resources for Power in SEM

References for Power in Structural Equation Modeling Kaplan, D. (1995). Statistical power in structural equation modeling. In R. H. Hoyle (Ed.), Structural Equation Modeling: Concepts, Issues, and Applications (pp. 100-117). Thousand Oaks, CA: Sage. Kaplan, D. & Wegner, R. N. (1993). Asymptotic independence and separability in covariance structure models: Implications for specification error, power, andContinue reading “Resources for Power in SEM”

Stata: Dummy Coding

This post will illustrate how to: Use the generate and replace commands to create dummy variables. A second use of the generate command to create dummy variables that is simpler that #1. Using tabluate to create dummy variables. Dummy coding is used when you have nominal categories, meaning the groups are assigned a value forContinue reading “Stata: Dummy Coding”


Something went wrong. Please refresh the page and/or try again.

Follow My Blog

Get new content delivered directly to your inbox.

%d bloggers like this: