BookmarkSubscribeRSS Feed
deleted_user
Not applicable
hello All,

I am getting message that I could not enetr new command as the PROC insight is runnning. What change should i make in the code below so that I can avoid this problem.

/*Scatter plot for Score against the 5 predictor variables*/
proc insight data=sc.music;
scatter Score GHz Processor Disk Video Battery*
Score GHz Processor Disk Video Battery;
run;
quit;


Kind Regards ,
markc
1 REPLY 1
Cynthia_sas
SAS Super FREQ
Hi:
This documentation says:
http://support.sas.com/documentation/cdl/en/sgug/59902/HTML/default/ent_sect1.htm
It is best to invoke SAS/INSIGHT software from the command line or from the Solutions menu. This enables you to use SAS/INSIGHT software simultaneously with other components in the SAS System. If you invoke it as a procedure, you cannot use any other SAS component until you exit SAS/INSIGHT.

It was my understanding that the QUIT; statement would cause your statements to execute and then would terminate the INSIGHT software, as described here:
http://support.sas.com/documentation/cdl/en/sgug/59902/HTML/default/sta_sect18.htm

Perhaps you have some other kind of error that is making your PROC INSIGHT statements invalid and somehow leave the INSIGHT environment still open.

The documentation for the SCATTER statement says:
Use at least one Y variable, followed by an asterisk, followed by at least one X variable. Use multiple Y and X variables to create a scatter plot matrix. For example, you might use

scatter a b c * a b c;
to create a 3×3 scatter plot matrix for the variables a, b, and c.


it seems from your example that you want a 6x6 scatter plot matrix??? You might wish to read the SAS/Insight documentation. Chapter 41 seems to be the chapter that discusses procedure syntax. Although the documentation also implies that the interactive mode might be a better way to use SAS/Insight. This web site has some good tips on using SAS/Insight:
http://www.psych.yorku.ca/lab/sas/insight.htm

If you are using SAS/Insight as part of class, you may want to ask your professor or teaching assistant for help using SAS/Insight in your environment.

cynthia

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 2504 views
  • 0 likes
  • 2 in conversation