turn on suggestions

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

Showing results for

Find a Community

- Home
- /
- SAS Programming
- /
- SAS Procedures
- /
- Newbie! JMP SAS data entry error

Topic Options

- 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
- Highlight
- Email to a Friend
- Report Inappropriate Content

02-01-2010 05:13 PM

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.

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

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. 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.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

02-02-2010 10:32 AM

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.

Scott Barry

SBBWorks, Inc.