Exercises10 Problem 5
Exercises10 Problem 5
The distribution of values of the retirement package offered by a company to new employees is modeled by the probability density function for . Calculate the variance of the retirement package value for a new employee is greater than 15, given that it is at least 10.
1
5
-(x-5)
1
5
e
x>5
Solution
In[]:=
retirementDist=ProbabilityDistribution[1/5*Exp[-1/5*(x-5)],{x,5,Infinity}]
Out[]=
ProbabilityDistribution,{x.,5,∞}
1
5
5-x.
5
Then calculate the variance. Here, conditional variance is not an option of the Variance function. However, you can obtain variance from the Expectation, as
E[]-:
Var[X]= μ 2 2 μ 1 |
2
X
2
E[X]
In[]:=
Expectation[x^2x>1.5,xretirementDist]-Expectation[xx>1.5,xretirementDist]^2
Out[]=
25.
I don’t see how the condition x>1.5 represents the problem statement of “greater that 15 given that it is at least 10.