2 Attachment(s)

a mixture distribution norm and exp, help!

I use matlab to create a mixture distribution norm and exp.

the pdf and cdf are defined:

pdf_mixture = @(x,p,mu1,mu2,sigma1)p*normpdf(x,mu1,sigma1) + (1-p)*exppdf(x,mu2);

cdf_mixture = @(x,p,mu1,mu2,sigma1)p*normcdf(x,mu1,sigma1) + (1-p)*expcdf(x,mu2);

and this is the graph from the function:(left)

but this is not the goal, the goal looks like this:(right)

how can i change the pdf or cdf to get the required graph.the exponential distribution should be lower than the normal distribution.

Re: a mixture distribution norm and exp, help!

Hey jeffhimmel.

You might want to look at a mixture model with a Weibull distribution:

Weibull distribution - Wikipedia, the free encyclopedia