Yash, the basics are that if you do not read the one paragraph help file of the command you are using, you are not likely to make it work. Out of the dozens of thousands people around here, you are the first one to report that you cannot make -dataex- work...
Otherwise back to your issue, and again, this issue can not be seen as long as I do not see exactly your data... but anyways from what you say, it seems that your STATEPOST variable is actually numerical, like 1, 2, 3, etc., but these "CA", "TX" that we see when you post a picture of your data are Labels.
You can move from categorical and nicely labelled variable to a string variable using the command -decode-. Then you do what we did above.
Otherwise back to your issue, and again, this issue can not be seen as long as I do not see exactly your data... but anyways from what you say, it seems that your STATEPOST variable is actually numerical, like 1, 2, 3, etc., but these "CA", "TX" that we see when you post a picture of your data are Labels.
You can move from categorical and nicely labelled variable to a string variable using the command -decode-. Then you do what we did above.
Comment