I would like to know which test to use on Stata according to my configuration.
So I want to compare 3 ways to collect data
So I have 3 groups for which I collect a Y variable according to the methods A B C, and for each person I also collect the Y variable but according to the reference method (called y_base).
It looks like this with random data generated (in my database, i have something like 500 people in each groups)
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input float id str1 module float(y_base y) 1 "A" 6 2 2 "A" 7 3 3 "A" 6 4 4 "A" 4 4 5 "A" 6 2 6 "A" 4 2 7 "A" 4 5 8 "A" 3 2 9 "A" 6 2 10 "A" 4 6 11 "A" 7 3 12 "A" 5 1 13 "A" 3 3 14 "A" 5 5 15 "A" 1 5 16 "A" 6 4 17 "A" 4 4 18 "A" 3 3 19 "A" 3 5 20 "A" 4 5 21 "B" 4 5 22 "B" 5 3 23 "B" 2 3 24 "B" 3 5 25 "B" 1 5 26 "B" 4 5 27 "B" 1 8 28 "B" 4 6 29 "B" 7 3 30 "B" 8 5 31 "B" 2 5 32 "B" 8 4 33 "B" 7 4 34 "B" 8 1 35 "B" 4 5 36 "B" 6 4 37 "B" 5 7 38 "B" 5 2 39 "B" 5 6 40 "B" 5 5 41 "C" 6 3 42 "C" 8 4 43 "C" 6 3 44 "C" 5 4 45 "C" 6 4 46 "C" 6 4 47 "C" 6 4 48 "C" 3 2 49 "C" 6 3 50 "C" 7 2 51 "C" 5 2 52 "C" 7 4 53 "C" 7 4 54 "C" 4 2 55 "C" 5 2 56 "C" 5 5 57 "C" 6 2 58 "C" 3 5 59 "C" 4 1 60 "C" 5 3 end
Thanks you
0 Response to Which test should i use on Stata ?
Post a Comment