BookmarkSubscribeRSS Feed
deleted_user
Not applicable
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.
1 REPLY 1
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
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.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 645 views
  • 0 likes
  • 2 in conversation