Use R to execute the commands in the Probability Hot_Hands lab. Be sure to copy and paste the calc_streak function (in the lab) into R each time you start R and want to use the function. Please answer the 3 questions in the On You Own section in complete sentences explaining your answer as clearly as possible – these answers are the project submission. Please feel free to enhance your answers with tables, plots, and/or summaries to support your responses.
The following code may be helpful in making comparisons and supporting your responses see if these makes sense to you after working the lab. Notice that Rfunctions may be layered (composed):
barplot(table(calc_streak(sim_basket)),main=”Simulated Shooting Streak, P(H)=.45″)
barplot(table(calc_streak(kobe$basket)),main=”Kobe Shooting Streak”)
summary(calc_streak(sim_basket))
summary(calc_streak(kobe$basket))
The submission for this project is a Word .doc or .docx file. Please start with then edit to make it your submission.
NEED ASSIGNMENT HELP?
We guarantee plagiarism-free and AI-free writing services. Every assignment is crafted with originality, precision, and care to meet your academic needs.
Ready to get started? Place your order directly on this post!
Let us help you achieve excellence—authentic work, every time.


Leave a Reply