How to Calculate Expectation and Variance for a Discrete Random Variable?

AI Thread Summary
To calculate the expectation R of a discrete random variable X taking values from 1 to n with equal probabilities, R is determined as 50.5 for n=100. The variance Q^2 is established as 12Q^2=n^2-1, leading to Q being approximately 28.87. The probability P(|X-R|>Q) can be expressed as P(X-50.5>28.87) + P(X-50.5<-28.87), simplifying to P(X≥80) since X is discrete. Each outcome has a probability of 1/100, confirming that the total probability for any specific integer outcome is indeed 1/n.
thereddevils
Messages
436
Reaction score
0

Homework Statement



A random variable X takes values 1,2,...,n with equal probabilities. Determine the expectation, R for X and show that the variance, Q^2 is given by 12Q^2=n^2-1. Hence, find
P(|X-R|>Q) in the case n=100

Homework Equations





The Attempt at a Solution



I can show that 12Q^2=n^2-1 but not the latter.

Substituting n=100, R=50.5 and Q=28.87

P(|X-50.5|>28.87)=P(X-50.5>28.87)+P(x-50.5<-28.87)

How can i continue from here?
 
Physics news on Phys.org
What is P(X - 50.5 > 28.87)? You might start by figuring out in words just what this expression means. It's pretty simple to get the answer once you understand the expression.
 
All values for x are of equal probability. There are 100 possible value. What is the probability that x takes a special value, like x=10?

ehild
 
ehild said:
All values for x are of equal probability. There are 100 possible value. What is the probability that x takes a special value, like x=10?

ehild

If this is a discrete random variable, how can it take values which is not discrete ie with decimals?

To answer your question, all the probabilities add up to 1 so any value would have a probability of 1/100.

Am i correct?
 
Yes, that is correct- if there are n possible outcomes and they are all equally likely, then the probability of anyone outcome is 1/n. Since there are only integer outcomes, "X- 50.5> 28.87", which is the same as "X> 79.37" is really "X\ge 80".
 
thereddevils said:
If this is a discrete random variable, how can it take values which is not discrete ie with decimals?

X takes integer values. What is the probability that x takes the value 1 or 2 or 3... up to 21 or 80 or 81 ... up to 100?

ehild
 
Thanks all for helping me out.
 
Back
Top