DATA Step, Macro, Functions and more

standard normal probability density and cumulative functions

Reply
N/A
Posts: 0

standard normal probability density and cumulative functions

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.
N/A
Posts: 0

Re: standard normal probability density and cumulative functions

Posted in reply to deleted_user
Let me give you an example.

data prob;
x=pdf('normal',1.64,0,1);
y=cdf('normal',1.96,0,1);
run;

You can find more details in SAS help.
Ask a Question
Discussion stats
  • 1 reply
  • 247 views
  • 0 likes
  • 1 in conversation