Repository navigation
[WIP] DOC Explain missing value mechanisms - #23746
aperezlebel wants to merge 1 commit into
Conversation
|
|
||
| Missing value mechanisms | ||
| ======================== | ||
| Three mechanisms model data missingness. |
There was a problem hiding this comment.
| Three mechanisms model data missingness. | |
| Three mechanisms model data missingness exist: |
| ======================== | ||
| Three mechanisms model data missingness. | ||
|
|
||
| * **Missing Completely At Random (MCAR)**: the missingness does not depend on data. |
There was a problem hiding this comment.
What about giving a concrete example for each mechanism to illustrate it.
| :align: center | ||
| :scale: 20% | ||
|
|
||
| In the above example, X1 is always observed. In the first plot, X2 is masked |
There was a problem hiding this comment.
| In the above example, X1 is always observed. In the first plot, X2 is masked | |
| In the above example, X1 is always observed. In the left-hand side plot, X2 is masked |
| :scale: 20% | ||
|
|
||
| In the above example, X1 is always observed. In the first plot, X2 is masked | ||
| independently of the values of (X1, X2), hence MCAR. In the second, X2 is |
There was a problem hiding this comment.
| independently of the values of (X1, X2), hence MCAR. In the second, X2 is | |
| independently of the values of (X1, X2), hence MCAR. In the middle, X2 is |
|
|
||
| In the above example, X1 is always observed. In the first plot, X2 is masked | ||
| independently of the values of (X1, X2), hence MCAR. In the second, X2 is | ||
| masked when X1 (observed) reaches some threshold, hence MAR. In the last, X2 is |
There was a problem hiding this comment.
| masked when X1 (observed) reaches some threshold, hence MAR. In the last, X2 is | |
| masked when X1 (observed) reaches some threshold, hence MAR. In the right-hand side plot, X2 is |
|
@aperezlebel do you want to address the comment and solve the conflict such that we merge this PR? |
|
|
||
| * **Missing Completely At Random (MCAR)**: the missingness does not depend on data. | ||
| * **Missing At Random (MAR)**: the missingness does not depend on underlying | ||
| missing values but can depend on observed ones. |
There was a problem hiding this comment.
Including the target variable y?
|
|
||
| Missing value mechanisms | ||
| ======================== | ||
| Three mechanisms model data missingness. |
There was a problem hiding this comment.
| Three mechanisms model data missingness. | |
| The machine learning literature typically distinguishes between the following | |
| settings. Note that the names are not necessarily very intuitive: |
| * **Missing At Random (MAR)**: the missingness does not depend on underlying | ||
| missing values but can depend on observed ones. | ||
| * **Missing Not At Random (MNAR)**: the missingness depends on underlying missing | ||
| values. |
There was a problem hiding this comment.
| values. | |
| values. Therefore, the missingness pattern can be statistically associated | |
| with `y` in a supervised classification or regression setting. |
|
This stalled PR is a good candidate (well defined, scoped task) to be taken over by one of the participants of the sprint at EuroPython/EuroScipy. |
|
I'd like to take over this stalled draft, following @StefanieSenger's suggestion that it be picked up. I've rebased the content on main, resolved the |
Reference Issues/PRs
Addresses task 3 of #21967.
What does this implement/fix? Explain your changes.
Add a section to the "Imputation of missing values" doc to explain the missing value mechanisms.
Any other comments?
Work in progress