Hi all,
Hoping for some advice re a model for this scenario:
Look at group of patients who either have disease A or dont - variable ptype = 0 (no A) or 1 (has A)
Patients evaluated at two visits giving baseline values and then follow up values for a series of outcomes being investigated - variable visit=0 or visit=1
Outcomes being various different types - binary, ordinal, catergorical and continiuous.
Potential confounding factors gender and diabetes I have also aimed to include in the model.
There are only ~60 patients equally split in terms of those having disease or not. I am treating patienst as the random effects component of the mixed effect model.
I'm wondering for a binary outcome 'Slow', in which patients are either deemed slow (1) or not (0) at both baseline and follow up, whether this code gives me the effect of having disease A from baseline to follow up:
Any help is much appreciated
Hoping for some advice re a model for this scenario:
Look at group of patients who either have disease A or dont - variable ptype = 0 (no A) or 1 (has A)
Patients evaluated at two visits giving baseline values and then follow up values for a series of outcomes being investigated - variable visit=0 or visit=1
Outcomes being various different types - binary, ordinal, catergorical and continiuous.
Potential confounding factors gender and diabetes I have also aimed to include in the model.
There are only ~60 patients equally split in terms of those having disease or not. I am treating patienst as the random effects component of the mixed effect model.
I'm wondering for a binary outcome 'Slow', in which patients are either deemed slow (1) or not (0) at both baseline and follow up, whether this code gives me the effect of having disease A from baseline to follow up:
Code:
melogit slow i.visit##i.(ptype gender diabetes)|| study_id: , or
Code:
lincom 1.ptype + 1.ptype#1.visit , or
Comment