feature request—setting to show datapoints with missing values in graph

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10424 Score: 0
    Bill Finzer
    Keymaster

    Andrew Ross was unable to post the following due to problems within the forum, so I’m posting it for him.

    If I make a graph of a categorical variable, it will not show dots for the values that are missing. For example, using this document <https://codap.concord.org/app/static/dg/en/cert/index.html#shared=https%3A%2F%2Fcfm-shared.concord.org%2FHIJpiUlEXXzUy13gMIqJ%2Ffile.json>, make a new graph, and drag “InterestLocalSchools” to the x-axis. It will show 3 categories, with no indication that roughly half (1480ish out of 2867ish) of the cases have missing data for that attribute. I realize that not showing missing data is, in some sense, a feature. But as we all get more used to asking bias-related questions like “Who or what is missing from this dataset”, it would be nice to have some automatic indication of how much data is missing. I’m basically asking for CODAP to put it right in our face: hey, here’s info on missingness in the data for this graph. So we don’t have to remember (though reminding students to ask about it is good pedagogy I suppose).

    Maybe it could be a per-graph setting via the eye icon: show missing data in this graph, or not? I would argue for it to default to showing the missing data just to be safe, though that might break a fair number of existing analyses. If missing data is not shown, it would be nice to have a notice on the graph saying “data with missing values not shown”, again to be safe. Or it could be a global setting somewhere.

    I’m not even sure how I would get it to show the missing data right now. Introduce a new column that recodes the current column, including a code for missing, then plot that? Seems like a lot of work, especially if I needed to do it for a lot of columns.

    #10515
    Dan Damelin
    Keymaster

    Andrew,One quick way to do recode the categorical variable the way Bill described above is to:

    1. Drag the attribute to the far left to group by those categories
    2. Fill in the empty cell with whatever you want to designate “missing”.
    3. Drag it back to where it was before.

    Click to see a video example.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.