00:01
So for a, this is a 3x3 factorial design with 3 levels of stimulus, which are simple, go or no go, and choice, and 3 levels of age.
00:19
And there are 3 replications within each cell, as there are 3 data points for each combination of stimulus and age.
00:30
Now, for b, we're going to verify the requirement of equal population variances, and to this end we're gonna separate the data into factor a and factor b, which are age and stimulus, and we're gonna take the standard deviations for each of the categories in each of the factor and take the maximum of the standard deviation and minimum of the standard deviation and verify that this is less than 2.
01:05
So here i have the response and here i have the calculation of standard deviation for factor a which is the age group.
01:17
So here i have the standard deviations for different age groups, and the calculation of proportion would be the maximum, 0 .18 over the minimum, which is 0 .157, and the ratio turns out to be here, 1 .15, which is less than 2.
01:45
Now, you can do the same thing for the factor b, which is the stimulus, and we have the ratio of 1 .32, which is less than 2, so we verified the requirement of equal population variances.
02:04
Now for c, we're going to determine if there is significant interaction between stimulus and age.
02:11
And here i have the python code again.
02:14
So this is the factor a, which is the age, and this is the factor b which is the stimulus.
02:27
And now we can do the two -way anova test and here is the output...