BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Suppose φ is the probability density function of the standard normal distribution and Ф the cumulative distribution function. For any number c, how can I obtain φ(c) and Ф(c)? I tried to use

PDF('NORMAL',c<,0,1>) for φ(c)

and

CDF('NORMAL',c<,0,1>) for Ф(c)

but it didn't work.
1 REPLY 1
Bengt_SAS
SAS Employee
You're quite close to what you need:

[pre]data _null_;
c = .5;
x = pdf('NORMAL', c, 0, 1);
y = pdf('NORMAL', c);
put x= y=;
run;[/pre]

"<,p1, p2>" denotes optional parameters in the function declaration.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
Multiple Linear Regression in SAS

Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.

Find more tutorials on the SAS Users YouTube channel.

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