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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

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