1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Distribution of weighted Normal Distributions

  1. Sep 15, 2011 #1
    You created a random number generator that works as follows:
    With probability p it selects a number X from the standard normal distribution N(0,1), and
    with complimentary probability (1-p) it selects a random number X from an off-central
    normal distribution N(5, 1). Write the distribution function of X.



    How would you attempt this.
    Obviously the variance increases.
    and the mean is a weighted average of the two.
    but as far as getting fx(x) I am stumped.
    Is it correct to add the two distributions together and simplify?
    (p)*N(0,1) + (1-p)*N(5,1)
    using the gaussian equation?
     
  2. jcsd
  3. Sep 15, 2011 #2

    lanedance

    User Avatar
    Homework Helper

    looks reasonable to me - when you have a discrete probability to realise a given distribution, you can just add the distributions together weighted by their probabilties

    if it doubt try it, this would be pretty simple to implement in excel as a check
     
  4. Sep 15, 2011 #3

    Ray Vickson

    User Avatar
    Science Advisor
    Homework Helper

    Yes, it is correct. However, it won't simplify. The final result is NOT itself a Gaussian, or anything like it.

    RGV
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Distribution of weighted Normal Distributions
  1. Normal distribution (Replies: 3)

  2. Normal distribution (Replies: 16)

  3. Normal distribution (Replies: 1)

  4. Normal distribution (Replies: 2)

  5. Normal Distribution? (Replies: 2)

Loading...