UC-MACSS / persp-analysis_A18

Perspectives on Computational Analysis (MACS 30000), Autumn 2018
31 stars 49 forks source link

About imputation in Assignment2 #12

Open TianxinZheng opened 5 years ago

TianxinZheng commented 5 years ago

I'm trying to use weight and income to impute age and gender. But when I'm doing the linear regression of age on weight and income, the result was not significant at all. Can I just go on with it or there's any remediation I can do? 

image
smiklin commented 5 years ago

I was thinking about that as well, and just made a note in my write-up. Ultimately, the coefficients are really small, too, so the end-result looks pretty similar to simply imputing using the mean age. I think the mean age for both data sets ends up being around 44.89.

I'm not sure if that helps, but being that nobody else responded I thought I'd chime in...

rickecon commented 5 years ago

Yes. The data that I created didn't have the correlation that I tried to simulate. Just go with the really small coefficients from the data that you are getting.