Forcing a distribution to be numerical

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #632 Score: 0
    Andee Rubin
    Participant
    4 pts

    I have an attribute with mostly numerical values, but one text value (“don’t know”), imported from a public dataset in CSV format.  I would like to have the variable treated as numerical so that the values are displayed to scale and I can do things like take an average.  What’s the best way to do that?  I had thought of deleting the text values, then changing the variable type to “numerical” but I’m not sure that will work if the numbers are already entered in text format.

    #634
    Bill Finzer
    Keymaster

    Hi Andee,

    You may already know that you can change the way an attribute is treated on a given graph by clicking on the attribute name on the axis and choosing Treat as Numeric or Categorical if that’s the direction you’re going.

    Alternatively, you can bring up the Attribute Properties dialog box and change the type of the attribute to numeric. This will have the effect that the non-numeric values will be ignored in any graphs you make and the attribute will be treated as numeric.

    Bill

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