HI, I wanted to know if it is possible to run ttests in order to calculate the difference between the means, also with categorical variables and dummy variables?
At the moment I am using only continuous variables and a dummy one after the "by":
e.g. ttest var_continuous, by(dummy_var)
but I would need to do the same also with categoricals and dummies instead of the continuous variables.
Is it possible? or is there another method to look at the difference between categorical and dummy variables of two different groups?
Thank you in advance
Related Posts with Ttest with categorical varaibles
Subtracting two variables with missing valuesHello all, I have split the data of user reviews in two halfs (chronological order). For each user,…
REPLACING #VALUE! and #NUM! to "." from excel databaseHello! I need help to find a code that allow me to replace #VALUE! and #NUM! to "." from an excel im…
Confidence Interval with Graph DotDear all, I am trying to add confidence intervals to a graph dot showing the mean value of anti-imm…
Dummy omitted because of collinearity - FEHi everyone, I am running a FE regression with dependent variable = lnyield and the independent var…
Keep only children and disregard adult children which start their own familyHello STATALIST community, I am a desperate student at the University of Konstanz in Germany and I …
Subscribe to:
Post Comments (Atom)
0 Response to Ttest with categorical varaibles
Post a Comment