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
Does anyone know how to convert different time zones by state into one time zone? City (Origin) State (Origin) City (Destination) State (Destination) Departure Time Arrival time …
Angle Distribution of Loading Subspaces in PCAAngle Distribution of Loading Subspaces in PCA Hi, Are there any codes in Stata to do Angle Distrib…
Ardl utestHello Statalisters! I am trying to use the Utest command to validate the existence of U-shaped rela…
Calculate annual changes via loopsGood morning I would like to report a series of annual variations using a loop. This is my initial s…
A doubt regarding duplicate identifier in a panel data setDear Members I have some doubts which I will illustrate with a sample dataset Code: * Example g…
Subscribe to:
Post Comments (Atom)
0 Response to ttest over multiple subsamples
Post a Comment