[go: up one dir, main page]

0% found this document useful (0 votes)
17 views4 pages

Statistics Assignments 6

The document is a problem set for a statistics course, covering topics such as binomial distributions, expected values, and uniform distributions. It includes multiple problems involving die rolls, student surveys, random number generation, and stock value probabilities. Each problem requires calculations of probabilities, expected values, and standard deviations, along with simulations and graphical representations.

Uploaded by

Anne Duffee
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views4 pages

Statistics Assignments 6

The document is a problem set for a statistics course, covering topics such as binomial distributions, expected values, and uniform distributions. It includes multiple problems involving die rolls, student surveys, random number generation, and stock value probabilities. Each problem requires calculations of probabilities, expected values, and standard deviations, along with simulations and graphical representations.

Uploaded by

Anne Duffee
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Statistics Problem Set 4

Name(s):

1. Suppose you roll a twenty-sided die five times. An individual die roll is considered a success if you roll
above a 16 (ie, 17, 18, 19, or 20). Let X be the number of successful die rolls.

(a) The dbinom command can be used to find the probability of a binomial distribution using
> dbinom(x, size=n, prob=p)
where x is the number of successes, n is the number of trials, and p is the probability of a single
success (always between 0 and 1). Use this command to find P (x) in the table below. What are
n and p here?

x P (x) x ∗ P (x) (x − µ)2 P (x)

x=0

x=1

x=2

x=3

x=4

x=5

sum =

(b) Complete the first two columns in order to find the expected value µ.

(c) Use µ to complete the third column, and use this to find the standard deviation σ.

(d) Find the probability of having three or more successes in your set of five die rolls.
Statistics Problem Set 4 Page 2 of 4

2. A school newspaper reporter decides to randomly survey 12 students to see if they will attend Tet
(Vietnamese New Year) festivities this year. Based on past years, she knows that 18% of students
attend Tet festivities. We are interested in the number of students who will attend the festivities.

(a) In words, define the random variable X, and list the values that X may take on.

(b) How many of the 12 students do we expect to attend the festivities?

(c) Find the probability that at most four students will attend.

(d) Find the probability that more than two students will attend.

Cont.
Statistics Problem Set 4 Page 3 of 4

3. A random number generator picks a number from one to nine in a uniform manner (i.e., the random
numbers follow a continuous uniform distribution).

(a) Find a and b for X ∼ U (a, b). Draw a graph of the probability distribution. What is f (x)?

(b) Find the theoretical mean and standard deviation.

(c) Simulate the random number generator in R using the runif command with 1000 data points.
Find the mean and standard deviation of this sample. How similar are they?

(d) Find P (3.5 < x < 7.25) for both the distribution and the simulated data you created. How similar
are they?

(e) Find P (x > 5|x > 3) for the distribution (recall that the notation P (A|B) signifies conditional
probability).

Cont.
Statistics Problem Set 4 Page 4 of 4

4. Suppose that the value of a stock varies each day from $16 to $25 with a uniform distribution.
(a) Find the probability that the value of the stock is more than $19.

(b) Find the probability that the value of the stock is between $19 and $22.

(c) Find the upper quartile—25% of all days the stock is above what value? Draw the graph.

(d) Given that the stock is greater than $18, find the probability that the stock is more than $21.

The End.

You might also like