Polkas / cat2cat

Handling an Inconsistently Coded Categorical Variable in a Longitudinal Dataset
https://polkas.github.io/cat2cat
GNU General Public License v2.0
4 stars 1 forks source link

Wrong df for regression #8

Closed Polkas closed 4 years ago

Polkas commented 4 years ago

Nrow(occup_2$old$wei) does not skipping zero probability rows when weighs are used inside lm. So sum of bigger than zero will solve it.