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

  1. 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.
  2. The random variable X is constructed from drawing one card from the box of cards in the last problem. Determine the following:
    1. Expected value (mean) of X.
    2. Variance of X.
    3. The expected value (mean) of X + 2.
    4. The variance of X + 2.
    5. The expected value (mean) of X + X.
    6. The variance of X + X.
    7. The standard deviation of X + X.
  3. A coin is tossed some number of times. For each of the circumstances below, choose whether you would prefer 100 tosses or 1000 tosses.
    1. You win if heads is tossed at least 51% of the time.
    2. You win if heads is tossed at least 49% of the time.
    3. You win if heads is tossed between 49% and 51% of the time.
    4. You win if heads is tossed exactly 50% of the time.

Dice Rolling Simulations

Complete the following:

  1. What is the expected value of rolling a 6-sided die?
  2. What is the expected sum of rolling 10 6-sided dice?
  3. What is the expected sum of rolling 100 6-sided dice?
  4. 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
  5. 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.
  6. 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)
  7. 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:

  1. 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.
  2. Your clearly labeled answers to questions and problems
  3. 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)