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
entropy and missing valuesThe number of non-missing values varies with cases. For example, as shown in the below table, a has …
Problem with margins after regression with cubic spline interaction termsHello, I am working on a longitudinal study looking for differences between two groups in the depen…
Help with Tabout One-way tableHello, I would like to make a simple summary statistic table describing 3 merges. I just renamed th…
Monthly panel data with missing values of annual between panels, and monthly within panelsHello STATA community, Firstly, I am sorry if my question is so basic but I am new to STATA. I am t…
sdmxuse error with OECD APII have a strange error with "sdmxuse" command. I used the same code a week ago with no issues. Now I…
Subscribe to:
Post Comments (Atom)
0 Response to ttest over multiple subsamples
Post a Comment