[SOLVED] Factors in regression

General help and assistance with jamovi. Bug reports can be made at our issues page: https://github.com/jamovi/jamovi/issues . (If you're unsure feel free to discuss it here)
Post Reply
vmoreno
Posts: 21
Joined: Mon Jun 05, 2017 6:04 pm

[SOLVED] Factors in regression

Post by vmoreno »

Hi,
Thanks again for this piece of programming art.

I thought that defining a variable as Nominal would treat the variable as factor (both if character or numerical) and would be used as such in linear regression, but is not the case. Predictors are only treated as continuous, not categorical.

I think treating Nominal variables as factors would be a plus and should not be too complicated.
More difficult would be to allow for fitting interactions among variables in the linear regression menu. Now we can do it pre-calculating the product terms as new variables with the new computed variable option.

Victor
User avatar
mcfanda@gmail.com
Posts: 460
Joined: Thu Mar 23, 2017 9:24 pm

Re: Factors in regression

Post by mcfanda@gmail.com »

Hi, try this new module https://github.com/mcfanda/gamlj

(it needs testing so any feedback will be highly appreciated)
User avatar
Ravi
Posts: 194
Joined: Sat Jan 28, 2017 11:18 am

Re: Factors in regression

Post by Ravi »

Hi,
Both of these things, factors and interactions, are hopefully gonna make their way into the linear regression within a couple of weeks. I do encourage you to try out the gamlj module, it allows you to fit a bunch of linear models in a very flexible way. Good stuff.

Cheers
User avatar
Ravi
Posts: 194
Joined: Sat Jan 28, 2017 11:18 am

Re: Factors in regression

Post by Ravi »

We did a major overhaul of the linear regression in our latest version (0.8.3). It now allows for factors and interactions. Thanks for your request!
Post Reply