Hello dear community,
I am writing to have your precious help in managing a dataset. Briefly, three groups of patients (normal weight, overweight and pediatric) received three different kinds of pre-oxygenation (through three devices) at random order, each time after retuning to their baseline values of the outcomes. I would like to study for example FeO2 for differences across the tree devices used, but accounting for the fact they are repeated measures for each subject. What is the most useful test to do? I had used a K Wallis since the outcomes (FeO2, ORI and EIT_POST are not normally distributed) but this does not account for the fact that each subject underwent all interventions. I also tried with mixed linear regression but could not find the way to examine the differences "pairwise".
I am pasting here a part of the dataset with dataex as suggested (I hope I did it right
Many thanks if you can help!
Anna
I am writing to have your precious help in managing a dataset. Briefly, three groups of patients (normal weight, overweight and pediatric) received three different kinds of pre-oxygenation (through three devices) at random order, each time after retuning to their baseline values of the outcomes. I would like to study for example FeO2 for differences across the tree devices used, but accounting for the fact they are repeated measures for each subject. What is the most useful test to do? I had used a K Wallis since the outcomes (FeO2, ORI and EIT_POST are not normally distributed) but this does not account for the fact that each subject underwent all interventions. I also tried with mixed linear regression but could not find the way to examine the differences "pairwise".
I am pasting here a part of the dataset with dataex as suggested (I hope I did it right

Code:
* Example generated by -dataex-. For more info, type help dataex clear input int id byte(session device) double(FeO2 ORI) float(EIT_POST group5) 124 0 . 18 0 52 3 124 1 3 . 0 43 3 124 2 3 . .55 52 3 124 3 3 56 .55 53 3 124 5 1 . 0 49 3 124 6 1 . .4 49 3 124 7 1 40.5 .37 51 3 124 9 2 . 0 53 3 124 10 2 . .48 58 3 124 11 2 46 .44 58 3 127 0 . 16.5 0 38 2 127 1 1 . .2 27 2 127 2 1 . .95 28 2 127 3 1 49.5 .95 27 2 127 5 3 . 0 37 2 127 6 3 . 1 36 2 127 7 3 65 1 35 2 127 9 2 . .62 31 2 127 10 2 . 1 31 2 127 11 2 66.5 1 31 2 128 0 . 17 0 69 2 128 1 2 . 0 49 2 128 2 2 . .85 50 2 128 3 2 77 .82 51 2 128 5 1 . 0 53 2 128 6 1 . .76 49 2 128 7 1 54.5 .71 51 2 128 9 3 . 0 53 2 128 10 3 . .77 63 2 128 11 3 78.5 .76 66 2 130 0 . 17.5 0 59 1 130 1 2 . 0 50 1 130 2 2 . .54 49 1 130 3 2 73.5 .65 49 1 130 5 1 . 0 51 1 130 6 1 . .48 37 1 130 7 1 52.5 .54 50 1 130 9 3 . 0 48 1 130 10 3 . .3 51 1 130 11 3 72 .65 48 1 131 0 . 18 0 61 3 131 1 3 . .22 48 3 131 2 3 . .68 56 3 131 3 3 72 .82 60 3 131 5 2 . .25 50 3 131 6 2 . .45 51 3 131 7 2 71 .85 50 3 131 9 1 . .2 50 3 131 10 1 . . 48 3 131 11 1 55.5 .76 46 3 224 0 . 19 0 66 3 224 1 1 . 0 59 3 224 2 1 . .45 55 3 224 3 1 27 .61 57 3 224 5 2 . 0 48 3 224 6 2 . .54 47 3 224 7 2 37 .57 44 3 224 9 3 . 0 52 3 224 10 3 . .53 54 3 224 11 3 78.4 .62 54 3 227 0 . 18 0 65 2 227 1 1 . 0 42 2 227 2 1 . .95 43 2 227 3 1 55 .97 41 2 227 5 2 . 0 48 2 227 6 2 . .86 44 2 227 7 2 50 .88 42 2 227 9 3 . 0 43 2 227 10 3 . .86 45 2 227 11 3 74 .92 40 2 228 0 . 18.5 0 52 2 228 1 2 . 0 68 2 228 2 2 . .84 50 2 228 3 2 67 .87 52 2 228 5 1 . 0 54 2 228 6 1 . .74 47 2 228 7 1 47 .71 66 2 228 9 3 . 0 77 2 228 10 3 . .85 53 2 228 11 3 76.5 .84 52 2 229 0 . 18 0 41 2 229 1 3 . 0 36 2 229 2 3 . .55 41 2 229 3 3 77.5 .56 41 2 229 5 2 . 0 37 2 229 6 2 . .58 37 2 229 7 2 77.5 .55 35 2 229 9 1 . 0 32 2 229 10 1 . .56 33 2 229 11 1 50 .56 34 2 231 0 . 17.5 0 51 1 231 1 1 . .37 51 1 231 2 1 . .75 51 1 231 3 1 51.5 .79 48 1 231 5 2 . 0 48 1 231 6 2 . .64 51 1 231 7 2 77 .6 52 1 231 9 3 . 0 43 1 231 10 3 . .7 48 1 231 11 3 80.5 .67 53 1 end label values session session label def session 0 "Baseline Sitting", modify label def session 1 "Baseline Supine", modify label def session 2 "At 1.5 min", modify label def session 3 "At 3 min", modify label def session 5 "Baseline Supine 2", modify label def session 6 "After 1.5 min sess 2", modify label def session 7 "At 3 min sess 2", modify label def session 9 "Baseline Supine sess 3", modify label def session 10 "At 1.5 min sess 3", modify label def session 11 "At 3 min sess 3", modify label values device device label def device 1 "Face Mask", modify label def device 2 "Ambu", modify label def device 3 "Ambu Peep", modify label values group5 group5 label def group5 1 "Normo", modify label def group5 2 "Obese", modify label def group5 3 "Pediatric", modify
Anna
Comment