3. Use `sample()` to generate rolls from biased coin with $Pr(Head) = 0.6$ . i) get a...

80.2K

Verified Solution

Question

Basic Math

3. Use `sample()` to generate rolls from biased coin with$Pr(Head) = 0.6$ .

i) get a sample of size 10 tosses and tally the results
  
ii) get a sample of size 30 tosses and tally the results  
  
iii) get a sample of size 100 tosses and tally the results
  
iv) what do you notice with the proportion of heads in eachsample?
  
### Code chunk
```{r}
# star your code


# last R code line
```

Answer & Explanation Solved by verified expert
4.5 Ratings (971 Votes)
    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students