- Dear all,
I am running Mann-Whitney tests on data from 6 different treatments of an economic experiment (panel data): several groups of 4 subjects per treatment over 20 periods.
As performing the test on each observation will give me dependence problems, I would like to run it on the average values of each subject for the 20 periods, and even on the average values of each group.
At the moment, to run the test for the individual profit (ex. between treatments 1 and 4) over the whole sample I am using the command:
ranksum profit if Newtreatment==1 | Newtreatment==4, by (Newtreatment)
Can anybody tell me how to do for the average values?
I have created a new variable calculating the averages, but I would like to have the test only on one value per subject or per group and not on the 20 identical values of the 20 periods.
Many thanks in advance,
Stef
Related Posts with Running Mann-Whitney test on averages over 20 periods for a repeated experiment
Autocorrelation Diff in DiffHello, I am working on the following Diff in diff model: ln_sales = b0 + b1*treatment + b2*(treat…
Foreach and forevalues loopHi, I have a list of variables that look as follows: max_1 max_2 max_3. All the numbers in the vari…
Relative survival and relative excess risk (RER) using imputed dataHi everyone, Does anyone know how I can calculate relative survival (strs) and relative excess risk…
Preliminary analysesHi all, quite a general question again. Which are the best tools in STATA to provide preliminary ana…
Sort out the observations from a large sampleHello everyone. I am a new user of Stata and new member of this forum. May I ask you a question. I a…
Subscribe to:
Post Comments (Atom)
0 Response to Running Mann-Whitney test on averages over 20 periods for a repeated experiment
Post a Comment