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
How to create bottom 26% of the populationHi, I have been using thus far xtile quin=mpce[aw=weight], n(5) to create bottom 20% of the populat…
Unique frequency table from repeated category variablesHi !, I have three category variables (credit_provider_1,_2,_3) generated over the number of "loans"…
short panel data ( micro panel)Hello, I am sorry for the long post. I am trying do a research on evaluating the performance of stoc…
Looping certain commands?Evening everyone! I was wondering if it's possible to write a loop for the alpha command? Code: l…
Installing python packagesDear all, I'm having trouble installing python packages in stata 16 (numpy and pandas) using my mac…
Subscribe to:
Post Comments (Atom)
0 Response to ttest with three/four variables
Post a Comment