- 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
Sort two variables simultaneouslyHi is it possible to sort two variables for example by id number and sex. So if I have the following…
KPSS stationarity test without trendHi there, I would like to perform KPSS stationarity tests to compliment my ADF tests. By default, th…
Creating deciles/quintiles based on a certain group of observations by yearHello I have a panel data of all NYSE, AMEX and NASDAQ firms. I am trying to create size deciles ba…
Using -rtfutil- for page breaks and other simple tasksHello Statatalist I just discovered the user-written -rtfutil- command from SSC, which seems to be …
Comparing models and profiles (including significance) using LPA (continous variables)Hello everyone, Thanks for all the helpful information on this site. I am trying to compare models…
Subscribe to:
Post Comments (Atom)
0 Response to Running Mann-Whitney test on averages over 20 periods for a repeated experiment
Post a Comment