Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The scientific method has four elements: Observe, Theorize, Predict, Test. For example, observations and careful thought lead to the theory of dice sums presented
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 Sec- tion 1. 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 one-page technical report. (a) Using the theory presented at the end of Section 1, give a table of expected frequencies of all possible sums, in the experiment of tossing a pair of dice 10,000 times. Round all expected frequencies to the nearest integer. (b) Use R to carry out a simulation of 10000 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 R and do the following. 1. Set the random number seed to 26 * Y +K where Y denotes the last digit of the current year and K is the position in the alphabet of the first letter of your last name. If your last name begins with C, and the year is 2023, then your random number seed is 81, and so you would enter the command set.seed (81). 2. Create a variable, say ac, and set it equal to NULL by the command ac
Step by Step Solution
★★★★★
3.44 Rating (151 Votes )
There are 3 Steps involved in it
Step: 1
R CODE rmlist ls PART a N 10000 E roundmatrixcseq212cseq16 seq51136N nro...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started