Structuring Data for Binomial Logistic Regression with Two-Level Questions

Discuss statistics related things
Post Reply
User avatar
ThomasChen
Posts: 4
Joined: Tue Aug 15, 2023 12:51 am

Structuring Data for Binomial Logistic Regression with Two-Level Questions

Post by ThomasChen »

Hello all,
I plan to conduct a binomial logistic regression analysis. The participants completed questions at two levels. The covariates include scores, and the dependent variable is the levels. Could I arrange the data so that one participant is represented by two rows, each for a different level? Please see the attached picture for reference.
Thanks in advance!
Attachments
Screenshot 2024-02-27 185053.png
Screenshot 2024-02-27 185053.png (10.55 KiB) Viewed 750 times
User avatar
mcfanda@gmail.com
Posts: 462
Joined: Thu Mar 23, 2017 9:24 pm

Re: Structuring Data for Binomial Logistic Regression with Two-Level Questions

Post by mcfanda@gmail.com »

If you have repeated measure, you need a logistic mixed model, underground generalized mixed models
User avatar
ThomasChen
Posts: 4
Joined: Tue Aug 15, 2023 12:51 am

Re: Structuring Data for Binomial Logistic Regression with Two-Level Questions

Post by ThomasChen »

Got it! Thanks.
User avatar
mcfanda@gmail.com
Posts: 462
Joined: Thu Mar 23, 2017 9:24 pm

Re: Structuring Data for Binomial Logistic Regression with Two-Level Questions

Post by mcfanda@gmail.com »

mcfanda@gmail.com wrote: Tue Feb 27, 2024 8:29 pm If you have repeated measure, you need a logistic mixed model, under generalized mixed models
Post Reply