Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part C: The following relate to an experiment in which you roll n dice and calculate the mean value. You repeat this experiment m times.

Part C: The following relate to an experiment in which you roll n dice and calculate the
mean value. You repeat this experiment m times.
C1) Create a Matlab script in which n and m are each 100. Plot a histogram and a
normal probability plot of the sampling distribution. Does the sampling distribution
appear to be normally distributed? How can you tell? Plot a histogram of the underlying
distribution (i.e. rolling a die). What is the distribution of the underlying process?
C2) What is the effect of increasing or decreasing n, the number of samples? What is
the effect of increasing or decreasing m, the number of times the experiment is
run? Create a set of histograms that illustrate the effect of changing n and m.
Matlab hints:
There are multiple ways to create solve this problem. I would create a nested
for loop where the outer loop is run m times, and the inner loop is run n
Use the "normplot()" function to create a normal probability plot. You can
either search for this function in the Matlab help or simply type "help
normplot" to get help on using this function.
The following code snippet may help you scale your histograms nicely.
histogram(y);
axis([0.5 histogram(y).Values)])
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

Recommended Textbook for

Big Data, Mining, And Analytics Components Of Strategic Decision Making

Authors: Stephan Kudyba

1st Edition

1466568704, 9781466568709

More Books

Students also viewed these Databases questions