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
Diamond | Level 26
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

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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