PROC IML module for CDF

#1
How would one create a proc iml module to calculate the cdf?

Denote f(x;μ,σ) and F(x;μ,σ), respectively, the p.d.f. and the c.d.f. of N(μ,σ^2). The p.d.f. and the c.d.f. of contaminated normal cN(μ,σ2,σc^2,p) (a N(μ,σ^2) contaminated in spread by a N(μ,σc^2) with probability p) are
(1-p)f(x;μ,σ)+pf(x;μ,σc) and
(1-p)F(x;μ,σ)+pF(x;μ,σc),
respectively.
 

Dason

Ambassador to the humans
#2
Is this any different than your previous thread? Please only have one thread per topic. I'm not sure if I've posted this for you yet but you should read through it...


Hi! :welcome: We are glad that you posted here! This looks like a homework question though. Our homework help policy can be found here. We mainly just want to see what you have tried so far and that you have put some effort into the problem. I would also suggest checking out this thread for some guidelines on smart posting behavior that can help you get answers that are better much more quickly.