Assignment 6
Random Variables
Submit before 11:30 Sunday November 1
Overview
For this assignment, you will calculate expected values and variances of random variables and then review their distribution properties.
General chance problems
- Four draws are going to be made at random with replacement
from the box consisting of cards labeled as follows: 1, 2, 2, 3,
3. Find the chance that a card labeled "3" is drawn at least
once.
- The random variable X is constructed from drawing one card from
the box of cards in the last problem. Determine the following:
- Expected value (mean) of X.
- Variance of X.
- The expected value (mean) of X + 2.
- The variance of X + 2.
- The expected value (mean) of X + X.
- The variance of X + X.
- The standard deviation of X + X.
- A coin is tossed some number of times. For each of the
circumstances below, choose whether you would prefer 100 tosses or
1000 tosses.
- You win if heads is tossed at least 51% of the time.
- You win if heads is tossed at least 49% of the time.
- You win if heads is tossed between 49% and 51% of the time.
- You win if heads is tossed exactly 50% of the time.
Dice Rolling Simulations
Complete the following:
- What is the expected value of rolling a 6-sided die?
- What is the expected sum of rolling 10 6-sided dice?
- What is the expected sum of rolling 100 6-sided dice?
- Run the following simulations using R code presented in class:
- 10 samples of rolling 10 6-sided dice
- 10 samples of rolling 100 6-sided dice
- Answer the following from the above simulations:
- On average for each sample of 10 dice, how far off was
the actual sum of 10 dice from the expected sum of 10 dice
(average absolute error)?
- On average for each sample of 100 dice, how far off was
the actual sum of 100 dice from the expected sum of 100 dice
(average absolute error)?
- For each sample of 10 dice, calculate the average roll
within the sample. Then calculate how far off the average
roll is from the expected value of rolling a 6-sided die.
- For each sample of 100 dice, calculate the average roll
within the sample. Then calculate how far off the average
roll is from the expected value of rolling a 6-sided die.
- Reviewing the differences between expected values and
actual values, explain how these results are consistent with
the law of large numbers.
- What is the expected standard deviation of the sum of rolling 50
6-sided dice? (hint: find the variance of rolling one six-sided die,
then the variance of 50 dice, then the standard deviation)
- Run a simulation of 100 samples of 50 dice. Record their sums and
create a histogram showing the sums of 100 samples. Insert
this chart into your assignment. Consider the expected sum and the
standard deviation from the last problem. Explain how your results
are consistent with the Central Limit Theorem.
Deliverable
Create word or pdf file that contains the following:
- A summary statement of your experience completing this assignment. It should contain a major finding from the paragraph of the last task (not the whole paragraph). Place this summary statement at the top of your document.
- Your clearly labeled answers to questions and problems
- Any additional details or output that you would like to include or document but are too long to insert among your answers.
Grading
The assignment is worth 5 points. Full credit will be awarded to complete, accurate
and well presented submissions. Points will be deducted for the following:
- Summary statements that do not reference concepts or details specific to the assignment
- Summary statements without meaningful experiences and explanations
- Incomplete answers
- Inaccuracies (possibly excepting minor ones)