Results 1 to 2 of 2

Math Help - a mixture distribution norm and exp, help!

  1. #1
    Newbie
    Joined
    Mar 2013
    From
    usa
    Posts
    1

    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 functionleft)
    but this is not the goal, the goal looks like thisright)

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


    Attached Thumbnails Attached Thumbnails a mixture distribution norm and exp, help!-created.jpg   a mixture distribution norm and exp, help!-required.jpg  
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor
    Joined
    Sep 2012
    From
    Australia
    Posts
    3,648
    Thanks
    601

    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
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. help with a mixture distribution
    Posted in the Advanced Statistics Forum
    Replies: 3
    Last Post: November 12th 2012, 09:55 PM
  2. Value at Risk- Quantile of one norm of multinormal distribution
    Posted in the Advanced Statistics Forum
    Replies: 0
    Last Post: May 24th 2012, 09:07 AM
  3. Replies: 2
    Last Post: November 7th 2009, 12:13 PM
  4. Mixture of Gamma, Poison, and Pareto Distribution
    Posted in the Advanced Statistics Forum
    Replies: 2
    Last Post: October 7th 2009, 01:19 PM
  5. Standard Norm. Distribution Curves
    Posted in the Statistics Forum
    Replies: 4
    Last Post: April 8th 2008, 09:51 PM

Search Tags


/mathhelpforum @mathhelpforum