Docsity

Probability and Statistics: Expected Values, Variance, and Probability Mass Functions - Pr, Assignments of Statistics

Toggle sidebar
bg1
Extra Problems.
Random Variables
1. Suppose Xis a random variable with probabilty mass function
f(x) =
0.10,if x=−2;
0.25,if x= 0;
0.5,if x= 1;
0.10,if x= 2;
0.05,if x= 3.
Compute EX ,EX 2,Ecos(X), var(X), var(cos(X)), sd(X), sd(cos(X)), P(X >
1/2), P(X2≥4).
2. Suppose Yis a random variable with probabilty mass function
f(y) = 0.75,if y=π;
0.25,if y=e.
Compute EY ,var(Y) and sd(Y) in two ways. First, use the probability mass function
and the definition of expectation. Second, use the formulas for the expectation,
variance and standard deviation of a Binomial random variable with an appropriate
linear transformation.
3. Suppose Wis a random variable with probabilty mass function
f(w) =
0.75,if w=−1;
0.15,if w= 1;
0.10,if w= 2;
Compute var(W) two ways: Using the formula var(W) = E(W−EW )2; Using the
computing formula var(W) = E(W2)−(EW )2.
4. Prove E(X−EX)2=E(X2)−(E X)2for any random variable X.
5. Suppose Zis a random variable with probabilty mass function
f(z) =
1/3,if z= 1;
1/3,if z= 2;
1/3,if z= 3;
What is the probability mass function for (Z−EZ)2? What is the probabilty mass
function for Z2?
pf3

Partial preview of the text

Download Probability and Statistics: Expected Values, Variance, and Probability Mass Functions - Pr and more Assignments Statistics in PDF only on Docsity!

Extra Problems.

Random Variables

  1. Suppose X is a random variable with probabilty mass function

f (x) =

  1. 10 , if x = −2;
  2. 25 , if x = 0;
  3. 5 , if x = 1;
  4. 10 , if x = 2;
  5. 05 , if x = 3.

Compute EX, EX^2 , E cos(X), var(X), var(cos(X)), sd(X), sd(cos(X)), P (X > 1 /2), P (X^2 ≥ 4).

  1. Suppose Y is a random variable with probabilty mass function

f (y) =

  1. 75 , if y = π;
  2. 25 , if y = e.

Compute EY , var(Y ) and sd(Y ) in two ways. First, use the probability mass function and the definition of expectation. Second, use the formulas for the expectation, variance and standard deviation of a Binomial random variable with an appropriate linear transformation.

  1. Suppose W is a random variable with probabilty mass function

f (w) =

  1. 75 , if w = −1;
  2. 15 , if w = 1;
  3. 10 , if w = 2;

Compute var(W ) two ways: Using the formula var(W ) = E(W − EW )^2 ; Using the computing formula var(W ) = E(W 2 ) − (EW )^2.

  1. Prove E

[

(X − EX)^2

]

= E(X^2 ) − (EX)^2 for any random variable X.

  1. Suppose Z is a random variable with probabilty mass function

f (z) =

1 / 3 , if z = 1; 1 / 3 , if z = 2; 1 / 3 , if z = 3;

What is the probability mass function for (Z − EZ)^2? What is the probabilty mass function for Z^2?

  1. Suppose X is a continuous random variable with probability density function

f (x) =

1 , if 0 < x < 1; 0 , otherwise;

Find EX, var(X), sd(X). Compute P (X < 0 .2), P (X < 0 .5) and P (X < 0 .888).

  1. Suppose X is a continuous random variable with probability density function

f (x) =

2 e−^2 x, if x ≥ 0; 0 , otherwise;

Show that f is indeed a pdf (probability density function) by noting that f (x) ≥ 0 and showing that

−∞ f^ (x)dx^ = 1. Compute^ EX,^ sd(X), and^ P^ (X <^ 5 and^ X^ ≥^ 4) (hint: use integration by parts for EX and sd(X)).

  1. Suppose f has the form

f (x) =

cx−^3 , if x ≥ 1; 0 , otherwise;

Find the number c that makes f into a probability density function, then compute the expected value for any random variable with density f.

Binomial Distribution

  1. Suppose X ∼ Bin(2, 1 /4). Compute EX using only the definition of expectation and the probability mass function for the binomial.
  2. Thirty percent of the trees in a national forest are infested with a parasite. Fifty trees are randomly selected with replacement from this forest and X is defined to equal the number of trees in the 50 sampled that are infested with the parasite. Find the expected value for X and the standard deviation. Find P (X = 15).
  3. Suppose X and Y are two independent random variables such that X ∼ Bin(20, 0 .2) and Y ∼ Bin(10, 0 .2). What is the distribution of X + Y?
  4. Suppose X 1 ,... , Xn are independent copies of X ∼ Bin(1, p). What is the distribu- tion of X 1 + · · · + Xn?
  5. The Dallas-Fort Worth Airport claims that 85% of their flights are on time. If the claim is correct, what is the probability that in a sample of 20 flights at the Dallas- Fort Worth Airport that 15 or more of the sample flights are on time?