privefl / bigstatsr

R package for statistical tools with big matrices stored on disk.
https://privefl.github.io/bigstatsr/
179 stars 30 forks source link

Is it recommended to standardize X when using big_univLogReg? #187

Closed garyzhubc closed 3 months ago

garyzhubc commented 3 months ago

Is it recommended to standardize X when using big_univLogReg? Is that an option?

privefl commented 3 months ago

Standardizing a variable before a statistical test has no effect on the test statistic (and p-value); it only multiplies both the effect and its SE by the same multiplicative factor.