Dear all,
I have a question concerning a longitudinal analysis.
I have 62 patients (autistic children; variable "patient_id") attending 10 different hospitals (variable "hospital").
Each patient was treated with a therapy over a varying number of weekly visits. Some children had 9 visits, others 12 visits, others 17 visits, and so on.
My outcome (variable "outcome") is a behavioral score ranging from 1 to 6.
I need a suggestion concerning my analysis.
I have no preplanned hypotheses (e.g., that visit 15 will be better than visit 1, or something like that).
I ran an ordered logistic model: meologit outcome i.Visit || hospital: || patient_id:, or
However, I have the following questions:
Gianfranco
PS: if ti can help, data are organized as follows:
I have a question concerning a longitudinal analysis.
I have 62 patients (autistic children; variable "patient_id") attending 10 different hospitals (variable "hospital").
Each patient was treated with a therapy over a varying number of weekly visits. Some children had 9 visits, others 12 visits, others 17 visits, and so on.
My outcome (variable "outcome") is a behavioral score ranging from 1 to 6.
I need a suggestion concerning my analysis.
I have no preplanned hypotheses (e.g., that visit 15 will be better than visit 1, or something like that).
I ran an ordered logistic model: meologit outcome i.Visit || hospital: || patient_id:, or
However, I have the following questions:
- Would you use visit 1 as the baseline, considering it can greatly differ from one patient to another? That is: meologit outcome i.Visit i.baseline if Visit>1 || hospital: || patient_id:, or
- Would you use Visit_number as a continuous variable to capture the overall effect of time on the outcome? Given that I expect a non-linear effect of Visit_number, I would consider using spline functions to account for this. However, after using splines, how would you get and quantify the overall effect of Visit_number?
- How would you plot the effect of time? Would you use margins and marginsplot to get the Odds Ratios for each Visit_number (referenced to Visit 1)?
Gianfranco
PS: if ti can help, data are organized as follows:
Code:
* Example generated by -dataex-. For more info, type help dataex clear input str4 Id byte Visit_number str9 Hospital byte Outcome "SC" 1 "Bergamo" 2 "SC" 2 "Bergamo" 1 "SC" 3 "Bergamo" 2 "SC" 4 "Bergamo" 2 "SC" 5 "Bergamo" 3 "SC" 6 "Bergamo" 3 "SC" 7 "Bergamo" 4 "SC" 8 "Bergamo" 2 "SC" 9 "Bergamo" 4 "CR" 1 "Campania" 4 "CR" 2 "Campania" 4 "CR" 3 "Campania" 4 "CR" 4 "Campania" 4 "CR" 5 "Campania" 4 "CR" 6 "Campania" 4 "CR" 7 "Campania" 5 "CR" 8 "Campania" 5 "CR" 9 "Campania" 5 "CR" 10 "Campania" 5 "CR" 11 "Campania" 5 "CR" 12 "Campania" 5 "CR" 13 "Campania" 5 "CR" 14 "Campania" 5 "CR" 15 "Campania" 5 "DC" 1 "Campania" 3 "DC" 2 "Campania" 3 "DC" 3 "Campania" 3 "DC" 4 "Campania" 3 "DC" 5 "Campania" 4 "DC" 6 "Campania" 4 end
Comment