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
Marginsplot axis value labelsI'm using marginsplot to graph a repeated measures anova, with the timepoints labeled t0-t9. This me…
How to construct the distribution of propensity scores calculated from the pre-match conditional logistic regression?Dear Statalists,
Hope my message finds you well.
I am trying to construct an estimated propensity …
text file without the .txt extensionHi Stata Users. I have multiple text file but without .txt extension. As I have many files I do not …
Help!!! Convergence error in calculating of productivity by SFA - "Kumbhakar, S.C, 2015"Hi everyone,
I am calculating total factor productivity by the SFA model in using STATA.
When I ru…
Binning times in hours, rounding error?Hello,
I am trying to truncate times to only the hour using floor so that I can merge all data for …
Subscribe to:
Post Comments (Atom)
0 Response to Ttest with categorical varaibles
Post a Comment