jacobman0718
jacobman0718
26.08.2019 • 
Mathematics

Using r or r-studio. 3. a fair coin is tossed until the first head occurs. do this experiment t = 10; 100; 1,000; 10,000 times in r, and plot the relative frequencies of this occurring at the ith toss, for suitable values of i. compare this plot to the pmf that should govern such an experiment. show that they converge as t increases. what is the expected number of tosses required? for each value of t, what is the sample average of the number of tosses required? (hint: a "while" loop may be preferred to a "for" loop in this problem).

Solved
Show answers

Ask an AI advisor a question