BookmarkSubscribeRSS Feed
mariepierre96
Calcite | Level 5
Hello,
I have a problem with "UNIVARIATE".
Indeed, I try to use this method via studio. I made a copy and paste of the example which is on the site namely:
data BPressure;
length PatientID $2;
input PatientID $ Systolic Diastolic @@;
datalines;
CK 120 50 SS 96 60 FR 100 70
CP 120 75 BL 140 90 ES 120 70
CP 165 110 JI 110 40 MC 119 66
FC 125 76 RW 133 60 KD 108 54
DS 110 50 JW 130 80 BH 120 65
JW 134 80 SB 118 76 NS 122 78
GS 122 70 AB 122 78 EC 112 62
HH 122 82
;
title 'Systolic and Diastolic Blood Pressure';
ods select BasicMeasures Quantiles;
proc univariate data=BPressure;
var Systolic Diastolic;
run;

I get this error : "error : procedure UNIVARIATE not found".
Do you have any solutions ? 
Thanks.
 
3 REPLIES 3
Reeza
Super User

Sounds like someone didn't install SAS properly or there's an error somewhere else. 


I'd start by restarting SAS, make sure you can replicate the error and then talk to whomever installed SAS or is responsible for the administration.

 


@mariepierre96 wrote:
Hello,
I have a problem with "UNIVARIATE".
Indeed, I try to use this method via studio. I made a copy and paste of the example which is on the site namely:
data BPressure;
length PatientID $2;
input PatientID $ Systolic Diastolic @@;
datalines;
CK 120 50 SS 96 60 FR 100 70
CP 120 75 BL 140 90 ES 120 70
CP 165 110 JI 110 40 MC 119 66
FC 125 76 RW 133 60 KD 108 54
DS 110 50 JW 130 80 BH 120 65
JW 134 80 SB 118 76 NS 122 78
GS 122 70 AB 122 78 EC 112 62
HH 122 82
;
title 'Systolic and Diastolic Blood Pressure';
ods select BasicMeasures Quantiles;
proc univariate data=BPressure;
var Systolic Diastolic;
run;

I get this error : "error : procedure UNIVARIATE not found".
Do you have any solutions ? 
Thanks.
 


 

mariepierre96
Calcite | Level 5
Hi,
I forgot to mention that I used sas studio online 😕. So I didn't install anything
Reeza
Super User

Try it again and confirm the error please and post your exact code and log. Assuming you're using Academics on Demand then you should have PROC UNIVARIATE.

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!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 3 replies
  • 1480 views
  • 0 likes
  • 2 in conversation