I think I want to use Repeated-Measure Anova command, "anova, repeated ()" or "wsanova" commands based on the instruction from this site (https://www.stata.com/support/faqs/s...easures-anova/), but I am unsure if I can use this command with the type of data I have. I am using Stata/MP 14.0 for Mac.

To describe the data, participants from two countries responded to items from three domains (i.e., A, B, and C). So the repeated component here is the domain. We created two conditions (high vs. low) nested within each domain so there were a total of six sub-domains (i.e., A high, A low, B high, B low, C high, and C low). Participants were randomized into either high or low condition within each domain. In other words, participants were not divided into a single condition, and their conditions differed depending on each domain. For instance, some participants answered questions in A-high subdomain, B-low subdomain, and C-high subdomain. I am attaching a portion of the dataset I have. ID is the participant number below.
ID Country Domain Condition Total
1 1 1 2 2
1 1 2 2 2
1 1 3 2 1.833333254
2 1 1 1 2.416666746
2 1 2 1 1.916666627
2 1 3 1 3.416666746
3 1 1 2 2.916666508
3 1 2 1 2.833333254
3 1 3 2 2.75
4 2 1 2 1.5
4 2 2 2 1.666666746
4 2 3 2 1.166666627
5 2 1 1 2.416666746
5 2 2 2 2.75
5 2 3 2 2.583333254
6 2 1 1 2.333333492
6 2 2 2 3.5
6 2 3 1 2
Could I use the following command to run Repeated-Measure Anova to examine the effect of two between-subject variables (country and condition) and one within-subject variable (domain)? The issue that I am currently having is that each participant could have been assigned to multiple conditions depending on the domain (e.g., participant 3, 5, or 6). If I can't use this command, could you give me some suggestions on what command/analysis I could use?

anova Total Country Condition Country#Condition/ ID | Country#Condition Domain Domain#Country Domain#Condition Domain#Condition#Country, rep (Domain)

**Another option I have been thinking of was using nested anova (two condition nested in each domain), but I am not sure if I could run interaction terms (interactions among Domain#Condition#Country) with nested anova. To sum, what I want to do essentially is to run anova with all three variables (Country, Domain, and Condition) included, and I am not sure what command to use.

I have been spending every waking hour from the past two weeks trying to resolve this so any advice would be truly appreciated. Thank you in advance for any advice!

So