Simulation Example: Denise has a bad habit of sleeping through her alarm in the mornings. She oversleeps and is late for her 8am class 10% of the time. 1. We want to simulate 15 days of 8 am classes for Denise. Which of the following digit assignments would work for this simulation? (only one correct answer) a) 0 to 8 = on time, 9 = late to class b) 00 to 49 = on time, 50 to 99 3 late to class c) 0 to 4 = on time, 5 to 9 late to class d) 00 to 90 = on time, 91 to 99 3 late to class 2. Use the random digit assignment from the previous question, start at line 104 from the random number table A (attached to the back) to simulate the 15 class days. Day 1st 2nd 3rd 4th Sth 6th 7th 8th 9th 10th 11th 12th 13th 14th 15th Random Number Was she on time or late? 3. What percent of days was Denise late in this simulation? 4. How does this compare to the 10% probability we were given at the beginning? If there is a difference, why are they be different?

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

Please

Simulation Example: Denise has a bad habit of sleeping through her alarm in the mornings. She oversleeps
and is late for her 8am class 10% of the time.
1. We want to simulate 15 days of 8 am classes for Denise. Which of the following digit assignments would
work for this simulation? (only one correct answer)
a) 0 to 8 = on time, 9 = late to class
b) 00 to 49 = on time, 50 to 99 = late to class
c) 0 to 4 = on time, 5 to 9 = late to class
d) 00 to 90 = on time, 91 to 99 = late to class
%3D
%3D
2. Use the random digit assignment from the previous question, start at line 104 from the random number table
A (attached to the back) to simulate the 15 class days.
Day
1st 2nd 3rd 4th Sth 6th 7th 8th 9th10th 11th 12th 13th 14th 15th
Random
Number
Was she on
time or
late?
3. What percent of days was Denise late in this simulation?
4. How does this compare to the 10% probability we were given at the beginning? If there is a difference, why
are they be different?
Transcribed Image Text:Simulation Example: Denise has a bad habit of sleeping through her alarm in the mornings. She oversleeps and is late for her 8am class 10% of the time. 1. We want to simulate 15 days of 8 am classes for Denise. Which of the following digit assignments would work for this simulation? (only one correct answer) a) 0 to 8 = on time, 9 = late to class b) 00 to 49 = on time, 50 to 99 = late to class c) 0 to 4 = on time, 5 to 9 = late to class d) 00 to 90 = on time, 91 to 99 = late to class %3D %3D 2. Use the random digit assignment from the previous question, start at line 104 from the random number table A (attached to the back) to simulate the 15 class days. Day 1st 2nd 3rd 4th Sth 6th 7th 8th 9th10th 11th 12th 13th 14th 15th Random Number Was she on time or late? 3. What percent of days was Denise late in this simulation? 4. How does this compare to the 10% probability we were given at the beginning? If there is a difference, why are they be different?
TABLE A Random digits
Line
42544
82853
28713
01927
00095
96409
27754
32863
12531
42648
95034
05756
82425
36290
19223
73676
101
99400
90056
82226
48767
17297
50211
102
47150
29485
71709
77558
52573
103
45467
40011
85848
52711 38889
94007
93074 60227
91481
72765
53791
57067
59335
47487
14893
104
60779
69971
15529
105 95592
85089
68417 35013
94383
55300
90656
106
81676
61790
47511
20807
17868
107
82739
57890
87964
18883
72024
24943
41979
83485
76688
27649
108
60940
85453
46816
39638
19365 15412
48789 18338
60513
08708
36009
38448
109
42006
71238
24697
39364
110
39950
09297
00412
69487
45785
11776
111
81486
84898
11486
73089
19352
71080
59636
88804
04634
71197
112
99553
62568
70206
40325
03699
70915
32592
113
02938
56202
14526
75730
66280
03819
32992
77684
26056
98532
32533
114
45149
31893
61041
94322
24709
73698
115
61181
75532
50490
62253
26185
90785
80371
65103
116
117
14459
38167
31424
62183
70632
23417
41448
04470
29669
84407
65956
86382
73190
95857
118
58806
04266
66979
35435
98624
43742
84826
11937
87664
92099
07118
55972
119
120
35476
39421
65850
61683
73592
55892
72719
47052
75186
62224
87136
41842
51025
95761
14863
121
122
71487
13873
09984
81598
29077
95052
27102
81868
56027
49497
71868
33063
96758
81507
54580
71035
123
27611
91596
124
09001
43367
96746
12149
37823
18442
35119
62103
39244
125
41903
36071
126
96927
19931
36809
74192
77567
88741
48409
85117
16925
49367
127
43909
99477
25330
64359
40085
06565
68288
87174
13352
18638
81982
00795
87209
08727
14374
15689
36759
14227
58984
128
129
22913
54303
97245
96565
09517
84534
06489
87201
69051
05007
64817
16632
130
131
81194
14873
04197
85576
45195
132
68732
55259
84292
08796
43165
93739
31685
97150
33302
21337
07051
35213
18132
04312
09547
68508
93623
41807
78416
65561
18329
45740
133
134
27816
37741
19876
87151
31260
39100
77377
135
66925
55658
78458
11206
44753
66812
68908
136
08421
28744
75592
08563
79140
92454
47836
21558
61421
12609
47781
15373
33586
98481
79177
48394
137
53645
14592
138
66831
40772
139
55588
99404
70708
41098
43563
56934
51719
140
12975
13258
13048
45144
72321
81940
00360
50842
24870
02428
141
96767
35964
23822
96012
94591
65194
53372
142
63408
72829
143 88565 42628
50232
97892
77919
61762
44575
24870
88604
69680
43163
90597
84552 19909
62371 22725
04178
17797
49376
16953
144
145
62964
19687
37609
12724
00900
58636
88145
12633
83083
69453
57857 95806
66967 83401
88737 74351
05977 19664 65441
46109
09931
59505
02150
146
59057
54973 86278
00694
60705
02384
93600
147
47500
67181
148
149 71546 05233 53946
150 07511 88915
20903
72460
53340
68743
27601
79367
45403
88692
03316
41267
16853
84569
32337
Transcribed Image Text:TABLE A Random digits Line 42544 82853 28713 01927 00095 96409 27754 32863 12531 42648 95034 05756 82425 36290 19223 73676 101 99400 90056 82226 48767 17297 50211 102 47150 29485 71709 77558 52573 103 45467 40011 85848 52711 38889 94007 93074 60227 91481 72765 53791 57067 59335 47487 14893 104 60779 69971 15529 105 95592 85089 68417 35013 94383 55300 90656 106 81676 61790 47511 20807 17868 107 82739 57890 87964 18883 72024 24943 41979 83485 76688 27649 108 60940 85453 46816 39638 19365 15412 48789 18338 60513 08708 36009 38448 109 42006 71238 24697 39364 110 39950 09297 00412 69487 45785 11776 111 81486 84898 11486 73089 19352 71080 59636 88804 04634 71197 112 99553 62568 70206 40325 03699 70915 32592 113 02938 56202 14526 75730 66280 03819 32992 77684 26056 98532 32533 114 45149 31893 61041 94322 24709 73698 115 61181 75532 50490 62253 26185 90785 80371 65103 116 117 14459 38167 31424 62183 70632 23417 41448 04470 29669 84407 65956 86382 73190 95857 118 58806 04266 66979 35435 98624 43742 84826 11937 87664 92099 07118 55972 119 120 35476 39421 65850 61683 73592 55892 72719 47052 75186 62224 87136 41842 51025 95761 14863 121 122 71487 13873 09984 81598 29077 95052 27102 81868 56027 49497 71868 33063 96758 81507 54580 71035 123 27611 91596 124 09001 43367 96746 12149 37823 18442 35119 62103 39244 125 41903 36071 126 96927 19931 36809 74192 77567 88741 48409 85117 16925 49367 127 43909 99477 25330 64359 40085 06565 68288 87174 13352 18638 81982 00795 87209 08727 14374 15689 36759 14227 58984 128 129 22913 54303 97245 96565 09517 84534 06489 87201 69051 05007 64817 16632 130 131 81194 14873 04197 85576 45195 132 68732 55259 84292 08796 43165 93739 31685 97150 33302 21337 07051 35213 18132 04312 09547 68508 93623 41807 78416 65561 18329 45740 133 134 27816 37741 19876 87151 31260 39100 77377 135 66925 55658 78458 11206 44753 66812 68908 136 08421 28744 75592 08563 79140 92454 47836 21558 61421 12609 47781 15373 33586 98481 79177 48394 137 53645 14592 138 66831 40772 139 55588 99404 70708 41098 43563 56934 51719 140 12975 13258 13048 45144 72321 81940 00360 50842 24870 02428 141 96767 35964 23822 96012 94591 65194 53372 142 63408 72829 143 88565 42628 50232 97892 77919 61762 44575 24870 88604 69680 43163 90597 84552 19909 62371 22725 04178 17797 49376 16953 144 145 62964 19687 37609 12724 00900 58636 88145 12633 83083 69453 57857 95806 66967 83401 88737 74351 05977 19664 65441 46109 09931 59505 02150 146 59057 54973 86278 00694 60705 02384 93600 147 47500 67181 148 149 71546 05233 53946 150 07511 88915 20903 72460 53340 68743 27601 79367 45403 88692 03316 41267 16853 84569 32337
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Point Estimation, Limit Theorems, Approximations, and Bounds
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman