Dear Stata Community,
I am running a random intercept model on a longitudinal dataset where I am interested in examining the association between certain protective/risk factors and suicide ideation among a group of psychiatric inpatients. Initially, 500 patients were assessed in 2018 and about 50% of those consented to be followed up at a later time (between 2019 and 2020). My outcome of interest is suicide ideation and my (primary) predictor variable is score on a questionnaire. Below is a list of variables in my dataset:
I've run the following models:
=> obtained non-significant association
=> obtain non-significant association for either of the predictors
=> intrxn term not signifcant, score-depression association significant, occasion not significant
How can I interpret these varying results and significance outcomes?
Thank you,
I am running a random intercept model on a longitudinal dataset where I am interested in examining the association between certain protective/risk factors and suicide ideation among a group of psychiatric inpatients. Initially, 500 patients were assessed in 2018 and about 50% of those consented to be followed up at a later time (between 2019 and 2020). My outcome of interest is suicide ideation and my (primary) predictor variable is score on a questionnaire. Below is a list of variables in my dataset:
- suicide_ideation (binary; present/absent)
- score: score on questionnaire quantifying risk (continuous)
- age: (continuous)
- sex (binary)
- occasion: 1,2
- participant id
I've run the following models:
Code:
melogit suicide_ideation score || participant_id, or
Code:
melogit suicide_ideation score i.occasion
Code:
melogit suicide_ideation c.score##i.occasion
How can I interpret these varying results and significance outcomes?
Thank you,
Comment