Help using Base SAS procedures

Newbie! JMP SAS data entry error

Reply
N/A
Posts: 0

Newbie! 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 class 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:

DATA

Homework2 ;
input IQ Arithmeticscore;
CARDS ;
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. Kind of like trying to call a dog with no legs, if you get my meaning. :-)

Thanks in advance for any advice you can give me.
Super Contributor
Super Contributor
Posts: 3,174

Re: Newbie! JMP SAS data entry error

Posted in reply to deleted_user
Suggestion - there is a forum dedicated to JMP where you may find useful information in the archives, as well as posting there.

Scott Barry
SBBWorks, Inc.
Ask a Question
Discussion stats
  • 1 reply
  • 115 views
  • 0 likes
  • 2 in conversation