Distribution of weighted Normal Distributions

Click For Summary
SUMMARY

The discussion focuses on creating a random number generator that selects values from two normal distributions: the standard normal distribution N(0,1) and an off-central normal distribution N(5,1). The mean of the resulting distribution is a weighted average based on the probability p, while the variance increases due to the combination of the two distributions. The correct approach to derive the distribution function of X is to combine the two distributions using the formula (p)*N(0,1) + (1-p)*N(5,1), although the resulting distribution does not simplify to a Gaussian form.

PREREQUISITES
  • Understanding of normal distributions, specifically N(0,1) and N(5,1)
  • Knowledge of probability theory, particularly weighted averages
  • Familiarity with Gaussian equations and their properties
  • Basic skills in statistical programming or Excel for implementation
NEXT STEPS
  • Explore the properties of mixed distributions and their implications on variance
  • Learn about the Central Limit Theorem and its relation to normal distributions
  • Investigate numerical methods for approximating complex distributions
  • Practice implementing random number generators in Excel or Python
USEFUL FOR

Statisticians, data scientists, and anyone interested in probability theory and random number generation techniques.

TOOP
Messages
2
Reaction score
0
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?
 
Physics news on Phys.org
looks reasonable to me - when you have a discrete probability to realize 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
 
TOOP said:
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?

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

RGV
 

Similar threads

Replies
7
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
2
Views
1K
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
2
Views
1K