Hi apologies I have a very basic question. I haven't used STATA ina while just getting back into it so I'm a bit rusty.

I would like to test the statistical significance for the difference between a treatment and control i.e. the treatment effect.

However I do not want to test for the statistical significance of the mean treatment effect. Instead I've added up the marginal responses from the control and treatment (to get a cumulative value) then I have gotten the difference between the cumulatieve value of the treatment and control to get the treatment effect size which I've done on excel (for convenience purposes). I would like to test the statistical significance between these two variables. However given it's done in excel when I export it into STATA it's simply two numbers so I can't test for statistical significane.

I was wondering would I need to export all of the data and create some interaction term that somehow gives me the difference between the cumulative values of the treatment and control? If so all of the commands I know for running statistical significance all assume it's the mean. In order to test for statistical significance of a cumulative treatment effect would I need to do the test for statistical significance manually?

Thanks for any help.