The best way to show that a predictor is categorical?

Welcome to the forum for MLwiN users. Feel free to post your question about MLwiN software here. The Centre for Multilevel Modelling take no responsibility for the accuracy of these posts, we are unable to monitor them closely. Do go ahead and post your question and thank you in advance if you find the time to post any answers!

Remember to check out our extensive software FAQs which may answer your question: http://www.bristol.ac.uk/cmm/software/s ... port-faqs/
Post Reply
whoopigoldberg
Posts: 1
Joined: Wed Jun 05, 2024 4:53 am

The best way to show that a predictor is categorical?

Post by whoopigoldberg »

Hi there,

The power size is something I'm currently calculating with MLPowSim. Predictor x1 can be either a binary (1), a continuous (2), or an all MVN (3) type, and users need to indicate it in the model setup. Two things have come to mind:

Which of the three options given above is the best fit for a categorical predictor such as work satisfaction, which is measured on a 10-point Likert scalegeometry dash?

I was also wondering if you would think about taking ordinal variables and making them continuous (like a z-score) before choosing the binary choice (=1)? I would greatly appreciate your opinion on this matter.

Much obliged,
Whoopigoldberg
ChrisCharlton
Posts: 1384
Joined: Mon Oct 19, 2009 10:34 am

Re: The best way to show that a predictor is categorical?

Post by ChrisCharlton »

There is some discussion of this in the MLPowSim manual. Multiple category predictors for MLwiN are covered in section 5.2, and for R in 5.4. You may in particular want to look at section 5.4.2 for an explanation.
Post Reply