Question: Preparation Create a script to put the code you will use to complete this practice ( name it dice.R ) . It is always a

Preparation
Create a script to put the code you will use to complete this practice (name it dice.R). It is always a good idea to include some comments in the beginning explaining what the script is about, the author and the date.
Create an object named id and assign it the number in your student id, e.g., if your students id is a12345, id should be 12345.
Introduction
Suppose you roll a fair dice 100 times and counted how many times you get 6 points (probability of getting 6 in any roll is 16). Let x be the number of times you get 6 points in the experiment. You can do the experiment and get the number of times you get 6 with the following code:
sample , replace = TRUE
 Preparation Create a script to put the code you will use

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!