Hi,
I have three variables, x, y, and z. x and y are categorical variables, x takes 0 and 1, but y takes 1, 2, and 3.
I want to do a t-test on z as follows:
(z if x==0 and y==1) == (z if x==0 and y==2)
(z if x==0 and y==3) == (z if x==0 and y==2)
(z if x==1 and y==1) == (z if x==1 and y==2)
(z if x==1 and y==3) == (z if x==1 and y==2)
How can I conduct such tests? I'd appreciate your help. Thanks,
Related Posts with ttest over multiple subsamples
statistical significanceHi, How check in stata statistical significance between price and country of origin from data stata.…
Heckman modelDear Stata Users, I am applying the two step Heckmam model, but I am having a problem. After havin…
Returns to education regressionHi everyone, I am new to STATA and have a question about a returns to education regression I would l…
URGENT help needed with university data analysis courseworkHere's the deal. I am an absolute noob when it comes to using Stata, having used it only once in my …
How to analyze intergroup interaction in subgroup analysis pf meta-analysis (metan, network)Hi, I would like to conduct a subgroup analysis of meta-analysis and check intergroup interaction. …
Subscribe to:
Post Comments (Atom)
0 Response to ttest over multiple subsamples
Post a Comment