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?
Exploring Stata mapping toolkitDear All, I want to visualise trade data showing the links between regions. Something like this (won…
Metafunnel command - studies not displayed as expectedHi I'm using metafunnel in Stata 15.1 to plot funnel plots for a meta-analysis I'm undertaking but …
Calculate % coefficient effect after regressionHey everybody, I have a regression: Code: xtreg IMD ulc GDPpc capitalform mor sen pop pat fd van_i…
VECM: questions on Rank and First-difference vs. LevelDear all I am using VECM for the first time so please apologise me if my questions are so basic. I …
Creating a year variable in a longitudinal datasetHi All My dataset is longitudinal in the long format, and each individual has 5 rows of data with e…
Subscribe to:
Post Comments (Atom)
0 Response to Code to run ttests and effect sizes on many variables at once?
Post a Comment