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?
_cf mismatch on two datasets created by the same programHello, Why would it be the case that the same program (e.g. sales.do) used to generate the same dat…
Predicted R-squaredAnyone know of a Stata command or user-written routine that generates the predicted R-squared after …
Plugging values of a variable back into StataHi users. I am using a variable called activity status which comes in codes such 11, 12, 21, 31, 41,…
box plot with a dummy variablehi, i want to use a box plot with a dummy variable like in the image. So in other words, i want to g…
Declare data to be time seriesDear STATA experts, I'm working on a Interrupted Time Series analysis. I have individual level da…
Subscribe to:
Post Comments (Atom)
0 Response to Code to run ttests and effect sizes on many variables at once?
Post a Comment