Is it possible to run a ttest to compare mean score between groups by age?
Age is a categorical variable
There are two independent groups being compared
Mean score is continuous
If it is also possible to take into account gender that would be helpful but I can just create two separate variables for males and females and run the ttest twice. If this cannot be achieved using a ttest please can you advise if there is a test more appropriate?
Related Posts with ttest with three/four variables
Covariances across groups and quarters Code: * Example generated by -dataex-. To install: ssc install dataex clear input byte qrtr float(…
metaprop - show subgroup pooled estimates onlyI using metaprop on 160 studies, subgrouping data by country. I want to suppress the study-level est…
zoib regressionHi everyone, I have used the zero-one inflated beta regression but I have concerns. My dependent var…
labels of yDear All, I have this dataset Code: * Example generated by -dataex-. To install: ssc install dataex…
Help with Loop based on timeHi For the following dataset, I have generated the first month of the data for X2 and X3 but for re…
Subscribe to:
Post Comments (Atom)
0 Response to ttest with three/four variables
Post a Comment