BookmarkSubscribeRSS Feed
Choose Language Hide Translation Bar

JMP SAS data entry error

First off, I admit I am a newbie at using the JMP program so there is probably a simple solution to this but I just don't know what it is. In a class I am taking we have been told to use the SAS editor so that is what I have tried to do. Any help would be greatly appreciated.

I am entering the data into the SAS editor as shown below using two variables. When I try to run the program, I get a message saying "JMP Error - Unexpected "15" Perhaps there is a missing ";" or ",". Line 4 Column 5: 105 ►15" (The first data set is 105 for the IQ score and 15 for the Arithmetic score).

I have looked online to try to find instructions for entering the data or to figure out what I'm doing wrong or what that error message actually means but to no avail. I was able to enter the data as a JMP table in the program then use that table and run the "Analyze -> Multivariate Methods -> Multivariate" program to get a scatterplot and the correlation calculation as shown in the attached file, but as far as figuring out how to do this in SAS I'm completely lost. I found several routines for running the correlation calculation but because of the error in the data I couldn't ever get the program to actually run. I have used spaces, tabs, commas, semicolons, and both keys on the keyboard and nothing seems to make a difference.

For the record, here are the first few lines of my SAS program showing how I entered the data:


Homework2 ;
input IQ Arithmeticscore;
105 15
120 23
83 11
137 22
114 17
96 10
107 4
117 30
108 18
130 14

I'm not posting my proc command because it doesn't make any difference what I put there, the program won't run anyway.

Thanks in advance for any advice you can give me.
0 Kudos
Super User mpb
Super User

Re: JMP SAS data entry error

You are trying to run the code as a JMP script which it is not.

Right click in the code and choose "Submit to SAS". Assuming you have the proper software setup that will work.
0 Kudos

Re: JMP SAS data entry error

Thank you so much. That was pretty dumb of me. :-)

I appreciate your help.
0 Kudos