A fair 6-sided die is rolled repeatedly. (a) Find the expected
number of rolls needed to get a 1 followed right away by a 2. Hint:
Start by conditioning on whether or not the first roll is a 1. (b)
Find the expected number of rolls needed to get two consecutive
1’s. (c) Let an be the expected number of rolls needed to get the
same value n times in a row (i.e., to obtain a streak of n
consecutive...
Consider the experiment of rolling a six-sided fair die. Let
X
denote the number of rolls it takes to obtain the first 5,
Y denote the number of rolls until the first 2, and Z denote
the number of rolls until the first 4. Numerical answers are
needed only for parts (a) and
(b). Expressions are sufficient for parts (c), (d), and (e).
a) E[X|Y = 1 or Z = 1]
b) E[X|Y = 1 and Z = 2]
c)...
Please fllll this out thank you
/**
*
* Creates a six-sided die and rolls it 20 times. It outputs the
face values and also
* the number of times the die lands on 6.
*
* Creates 2 eight-sided dice and rolls the pair 10 times. It prints
out a sequence
* of pairs representing the face values as well as the number of
doubles.
*
* Allows the user to repeat the above steps as often as (s)he...
Suppose a 6-sided die and a 7-sided die are rolled. What is the
probability of getting sum less than or equal to 5 for the first
time on the 4th roll? Show your work to receive credit.
Alice rolls a pair of fair six-sided dice until a sum of 6
appears for the first time. Independently, Bob rolls two fair
six-sided dice until he rolls a sum 7 for the first time. Find the
probability that the number of times Alice rolls her dice is equal
to or within one of the number of times Bob rolls his dice.
Python program that simulates the rolling a die until the number
5 is first obtained. Repeat the experiment 10,000 times and print
out the “Average Number of Rolls to Obtain a Six on a Die”, along
with the average value. Include the average number of rolls your
program calculates as a comment
Please use comments to better explain what is happening
1. In 90 rolls of a six-sided die, the outcome of 1 appears 16
times. State whether the difference between what occurred and what
you would have expected by chance is statistically significant. Is
the difference between what occurred and what is expected by chance
statistically significant?
No
Yes
2. What is statistical inference? Why is it important?
A.Statistical inference is the process of determining if the
difference between what is observed and what is expected is too
great to...