Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

socialist egalitarianism which resulted in wage levelling;

Answered: 1 week ago

Question

soyuznye (all-Union, controlling enterprises directly from Moscow);

Answered: 1 week ago