Question: * 1 . 2 0 Project: The scientific method. The scientific method has four elements: Observe, Theorize, Predict, Test. For example, observations and careful thought
Project: The scientific method. The scientific method has four elements: Observe, Theorize, Predict, Test. For example, observations and careful thought lead to the theory of dice sums presented in Section In this project we will derive predictions from that theory and test them by means of a simulation. Follow the instructions, and present your results in a onepage technical report.
a Using the theory presented at the end of Section give a table of expected frequencies of all possible sums, in the experiment of tossing a pair of fair dice times. Round all expected frequencies to the nearest integer.
b Use R to carry out a simulation of tosses of two dice. Give the observed frequencies of all sums. Display these frequencies by adding an additional line to the table of expected frequencies from part a To do the simulation, activate and do the following.
Set the random number seed to where denotes the last digit of the current year and is the position in the alphabet of the first letter of your last name. If your last name begins with and the year is then your random number seed is and so you would enter the command set. seed
Create a variable, say ac and set it equal to NULL by the command ac NULL.
Run a program like the following the oneline program:
for i in :w sample replaceTRUE;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
