Binary logistic regression for repeated measures data with GAMLj3
Posted: Fri Jul 05, 2024 11:25 am
Hello,
I would like to perform a binary logistic regression with two outcomes (response to treatment: yes=1 or no=0) and five potential predictor variables. The treatment response was analyzed at two time points: one earlier time point (time point 1) and one later time point (time point 2), which means I have repeated measures data here for the dependent variable.
My research question is: Which predictor variables are good predictors for a response at time point 1 and which are good predictors for a response at time point 2?
I have been suggested to use the GAMLj3 module for creating a generalized mixed model and selecting logistic model in that module. I downloaded this module and it is now available from within Jamovi.
When opening "General Linear Mixed Model" from GAMLj3, the categorial dependent variable would be "Logistic". Then, I have fields for "Dependent Variable", "Factors", "Covariates" and "Cluster variables". All my predictor variables are continuous, so they would go into "Covariates". But the field "Dependent Variable" can only take one variable. So, how would I enter the data for the two time points? They are the same variable, i.e. the response, but at two different time points.
I uploaded some example data in CSV, Excel and Jamovi format because this may make it easier to understand the structure of my data.
CSV format: https://u.pcloud.link/publink/show?code ... 6rBfwWRy4V
Excel format: https://u.pcloud.link/publink/show?code ... Xfj0QSJR8V
Jamovi format: https://u.pcloud.link/publink/show?code ... 1zeY4UVOgV
I would like to perform a binary logistic regression with two outcomes (response to treatment: yes=1 or no=0) and five potential predictor variables. The treatment response was analyzed at two time points: one earlier time point (time point 1) and one later time point (time point 2), which means I have repeated measures data here for the dependent variable.
My research question is: Which predictor variables are good predictors for a response at time point 1 and which are good predictors for a response at time point 2?
I have been suggested to use the GAMLj3 module for creating a generalized mixed model and selecting logistic model in that module. I downloaded this module and it is now available from within Jamovi.
When opening "General Linear Mixed Model" from GAMLj3, the categorial dependent variable would be "Logistic". Then, I have fields for "Dependent Variable", "Factors", "Covariates" and "Cluster variables". All my predictor variables are continuous, so they would go into "Covariates". But the field "Dependent Variable" can only take one variable. So, how would I enter the data for the two time points? They are the same variable, i.e. the response, but at two different time points.
I uploaded some example data in CSV, Excel and Jamovi format because this may make it easier to understand the structure of my data.
CSV format: https://u.pcloud.link/publink/show?code ... 6rBfwWRy4V
Excel format: https://u.pcloud.link/publink/show?code ... Xfj0QSJR8V
Jamovi format: https://u.pcloud.link/publink/show?code ... 1zeY4UVOgV