I currently am conducting a study where I have three variables: one that is binary, and two numerical ratio variables. Each of the subjects in my study has values for each of the three variables.
- Condition (binary): Values 0 and 1
- Pre (ratio)
- Post (ratio)
I want to test if there is a significant difference between the the pre and post variables of the
0 control group and the
1 experimental group. Both groups have 103 subjects. The data meet all typical ANOVA assumptions such as normality and the like. I was thinking of nesting the variables as follows and then running a two-way ANOVA.
Variable 1 is
not and variable 2 is
post. People are nested in Variable 1 (meaning that each person gives both pre and post information for either exposed or not exposed conditions)
Would this be the correct way to approach this problem? Also how would I implement this statistical analysis, preferably in R or SPSS?