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
Seeking guidance for the interval specification of rangestat commandDear Stata community, I have stock returns file from CRSP where the date format follows business ca…
Help me Svyset my dataDear All, First off, apologies for the long post. I am having a challenging with how to go about w…
New to this - anova testI am very new to stata so bear with me.. I have conducted an experiment where we measure a hormone i…
BCTOBIT error type mismatch (109)Hello. I'm trying to run the bctobit module to test for consistency of my tobit model (which was run…
Need help in methodologyHello, I investigate the topic about IT and economic growth related. In my base papers 10 variables …
Subscribe to:
Post Comments (Atom)
0 Response to Ttest with categorical varaibles
Post a Comment