Hi,
I am hoping to do a paired t-test to look at pre- and post-intervention activity levels, with an interaction term for the season when activity was measured (as season may affect most pre and post levels).
The code would be this without season in.
ttest week1activitylevel==week4activitylevel
If week1season is variable for season in which week 1 activity took place, and week4season is season in which week 4 activity took place, could I just do
ttest week1activitylevel==week4activitylevel i.week1season i.week4season
I am hoping to do a paired t-test to look at pre- and post-intervention activity levels, with an interaction term for the season when activity was measured (as season may affect most pre and post levels).
The code would be this without season in.
ttest week1activitylevel==week4activitylevel
If week1season is variable for season in which week 1 activity took place, and week4season is season in which week 4 activity took place, could I just do
ttest week1activitylevel==week4activitylevel i.week1season i.week4season
Comment