Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MNAR Logistic Regression Mechanism #4

Open
sitaomin1994 opened this issue Feb 14, 2024 · 1 comment
Open

MNAR Logistic Regression Mechanism #4

sitaomin1994 opened this issue Feb 14, 2024 · 1 comment

Comments

@sitaomin1994
Copy link

As described in the paper the first method for MNAR is using logistic regression with all other features as inputs, then mask data using MCAR. But in the code, I found it only has MNAR self-masking logistic regression, which does not take other features into account. We want MNAR not only self masking but also to have some correlation to other features, what do you suggest?

@BorisMuzellec
Copy link
Owner

Hi @sitaomin1994, there are two functions: MNAR_self_mask_logistic (which implements self-masking) and MNAR_mask_logistic (which implements the first mechanism you mentioned).

You can also check [this notebook]](https://rmisstastic.netlify.app/how-to/python/generate_html/how%20to%20generate%20missing%20values) from the r-miss-tastic website for more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants