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
Merging datasets with multiple observations per company IDHi, Newbie to Stata and trying two merge two datasets (one from Compustat and one from Execucomp) wi…
Store variables generated in a loop in macroHello, I am using a loop to decode and generate variables: Code: foreach var of varlist S9Q1a_1-S…
(Quasi-)Three-dimensional panel data with binary depedent and independent variablesDear Stata-community, I have just started my PhD and am quite new to stata and could use some guidan…
Trend analysis - ptrendHi Listers, I am interested in assessing the relationship between diabetes diagnosis (yes/no) and a…
rdplot - magnitude and statistical significance of discontinuous jumpDear all, I use the command -rdplot- to assess graphically if there is a discontinuous jump in a ti…
Subscribe to:
Post Comments (Atom)
0 Response to ttest with three/four variables
Post a Comment