Feature suggestion: mean Center for linear regression module

Discuss the jamovi platform, possible improvements, etc.
Post Reply
alancai1974
Posts: 28
Joined: Sat May 16, 2020 1:19 pm

Feature suggestion: mean Center for linear regression module

Post by alancai1974 »

Hello:
I have a suggestion here for the linear regression module. The module allows us to include interaction effects. When we do interaction effects, we often mean center the variables before we calculated their interaction term. Is that possible to include this option in the module, so that we do not need to manually do the mean center for the analysis?
Thanks
User avatar
mcfanda@gmail.com
Posts: 457
Joined: Thu Mar 23, 2017 9:24 pm

Re: Feature suggestion: mean Center for linear regression mo

Post by mcfanda@gmail.com »

you can use GAMLj for that. It centers the variables by default. linear regression module does the standard regression, so centering would be confusing
alancai1974
Posts: 28
Joined: Sat May 16, 2020 1:19 pm

Re: Feature suggestion: mean Center for linear regression mo

Post by alancai1974 »

mcfanda@gmail.com wrote:you can use GAMLj for that. It centers the variables by default. linear regression module does the standard regression, so centering would be confusing
but GAMLj lacks another function: it does report change of R square. The linear regression model does that, but do not provide mean center. So neither of them can satisfy the need.
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: Feature suggestion: mean Center for linear regression mo

Post by jonathon »

it's pretty easy to center variables using the computed/transformed variable system.

i.e. varName - VMEAN(varName)

cheers
Post Reply