Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- JMP User Community
- :
- Discussions
- :
- Discussions
- :
- JMP SAS data entry error

Topic Options

- Start Article
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

JMP SAS data entry error

Feb 2, 2010 12:30 PM
(1266 views)

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:

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.

Thanks in advance for any advice you can give me.

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

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.

Thanks in advance for any advice you can give me.

2 REPLIES 2

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

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.

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

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: JMP SAS data entry error

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

I appreciate your help.

I appreciate your help.