I have about 20 variables that I would like to conduct two sample t-tests (with unequal variances) and calculate effect sizes for. Is there a way that I can have stata conduct these analyses on all 20 variables without me having to type out the code 20 times?
Alternatively, I would also be fine with only running ttests on all 20 variables and exporting the p-values into an excel document where I can quickly identify which ones to calculate effect sizes for.
Thanks!
Related Posts with Code to run ttests and effect sizes on many variables at once?
asdoc: Cutomizing the regression output | MS Word from Stata | Confidence Interval, adding stars, etc.I received several emails and comments on blog posts suggesting the addition of confidence intervals…
An Error marginHi there, This seems simple and basic statistics but I could not get my head around it. Can someon…
Count number of time where at least x number of consecutive rows have the same valueHello, I have a large dataset which displays a status per time point. I want to count the number of…
Growth mixture modelling for longitudinal register data with varying measurement pointsHi Statalisters, I wanted to ask regarding growth mixture modelling for register data (PS I am not s…
Update-all: r(691) I/O errorWhen I started STATA today, the program said that new update is available. So I let STATA download u…
Subscribe to:
Post Comments (Atom)
0 Response to Code to run ttests and effect sizes on many variables at once?
Post a Comment