Draw a smooth curve and a set of markers on the plot

Assignment Help Engineering Mathematics
Reference no: EM131725484

1. Z-tables - Elementary statistics textbooks typically have a table of the standard normal distributions. This is a formatted table with values of the cumulative distribution (CDF) that generally looks something like this:

x

0.00

0.01

0.02

0.03

0.04

0.05

0.06

0.07

0.08

0.09

0.0

0.5000

0.5040

0.5080

0.5120

0.5160

0.5199

0.5239

0.5279

0.5319

0.5359

0.1

0.5398

0.5438

0.5478

0.5517

0.5557

0.5596

0.5636

0.5675

0.5714

0.5753

. . .

 

 

 

 

 

 

 

 

 

 

The table is read by locating the first and second decimals of the x value in the corresponding row and column. Thus F(0.13) = 0.5517. Using Python, produce a table of the normal CDF with rows starting at x = 0, 0.1, 0.2, . . . , 3.3, 3.4, and with columns 0.00, 0.01, . . . , 0.08, 0.09.

2. Central Limit Theorem - Read the review of the Central Limit Theorem before doing this exercise.

The purpose of this exercise is to verify the portion of the central limit theorem that says that the standard deviation of the sample means varies as σ/√n, where σ is the population standard deviation, and n is the sample size.

The output of this exercise will be a single plot. It will show "standard deviation of the sample mean" on the y-axis and "sample size" on the x-axis.

You will draw a smooth curve and a set of markers on the plot. The markers will NOT be on the smooth curve.

Pick any distribution you like and use it to produce random numbers with a mean µ and standard deviation σ. These numbers (µ and σ) will be fixed constants that you choose and will not change during the course of the program.

For each of the following sample sizes, you should generate one point on the plot: n = 3, 7, 10, 30, 70, 100. Generate 10 random samples from your distribution, and calculate the means x1-, x2-, . . . , x10- of the 10 random samples of size n. Then calculate the standard deviation of the set of 10 numbers {x1-, x2-, . . . , x10-}. This will give you a standard deviation of the means sn, that corresponds to a sample size n. Plot a marker at the location (n, sn) and then repeat the process for each of the remaining values of n in the set of n's.

3. Monty Hall Problem - In a game show a prize is placed behind one of three closed doors, labeled A, B, and C. You then choose one of the doors. After you have made your choice, Monty opens one of the doors, and shows you that there is no prize behind it. Monty will NEVER open the door you pick, and he will NEVER open a door that has a prize behind it. He gives you the choice of staying with your original choice or changing. Write a program to simulate one round of the Monty Hall Problem, and then run it at least 100 times to determine the probability of winning if you change your choice and if you stay.

[Note: (Students who have not had a course in probability can skip this note; it is not needed to solve the problem. The remainder of this page is here to convince doubters as to the correct answer.) This problem can be solved exactly. Let P(A) = 1/3, P(B) = 1/3, and P(C) = 1/3 be the probabilities that the prize is behind doors A, B, or C. Let x be your choice. Suppose you initially choose x = A. Since your choice is independent of where the prize is, then the conditional probabilities are

P(A|x = A) = 1/3

P(B|x = A) = 1/3

P(C|x = A) = 1/3

Monty is only going to open a door that does not have a prize behind it, and will not open your door (GIVEN). Let y denote the door that Monty picks to open. If there is a prize behind your door, he can open either of the other doors. If there is a prize behind a door that you did not select, he must open the third door. Thus:

P(y = C|A, x = A) = 1/2

P(y = C|B, x = A) = 1

P(y = C|C, x = A) = 0

The question of switching then becomes one of finding the probability

P(B|y = C, x = A)

= P(y = C|B, x = A)P(B|x = A)/P(y = C, x = A)

= (1/3) × (1)/P(y = C, x = A)

But the denominator is

P(y = C, x = A)

= P(y = C|A, x = A)P(A|x = A)

+ P(y = C|B, x = A)P(B|x = A)

+ P(y = C|C, x = A)P(C|x = A)

= (1/2) × (1/3) + (1) × (1/3)

+ (0) × (1/3)

= 1/2

giving

P(B|y = C, x = A) = 2/3

Thus there is a 2/3 chance the prize is behind door B, and a 1/3 chance the door is behind your original choice, door A.]

Reference no: EM131725484

Questions Cloud

Control the servo motor : TECH1102 - Implement knob functionality using the 321Maker rotation sensor and you will control the servo motor provided along with the 321Maker shield
Functions to assist programs to deal with files : File management of any OS has several basic functions to assist programs to deal with files, describe those basic functions with examples
Embracing sustainable technologies : Why do you think UPS is embracing sustainable technologies? What business benefits will UPS gain from virtualization?
Find the optimal timing of plant additions : Use both graph method to estimate the optimal timing of plant additions, then use Excel Goal Seek to find the optimal timing of plant additions
Draw a smooth curve and a set of markers on the plot : Central Limit Theorem - You will draw a smooth curve and a set of markers on the plot. The markers will NOT be on the smooth curve
Algorithm for converting binary strings : In the beginning of the class you were taught an algorithm for converting binary strings to their decimal integer equivelant.
Devise a naming scheme that tolerates changes : Devise a naming scheme that tolerates changes to the naming hierarchy. As an example, consider two large companies that each have an independent naming.
What are consequential incidental and compensatory damages : What are the consequential, incidental, and compensatory damages that Barksdale is liable for in this case? Be sure to define each of those terms.
Create a new table in datasheet view : Create a new table in Datasheet View .Create a simple form for the Advertiser table.Change the column heading for theBbrdID column.

Reviews

len1725484

11/16/2017 3:36:38 AM

Read the Basic Rules for Python Notebooks on the Class Canvas page before completing this assignment. You will draw a smooth curve and a set of markers on the plot. The markers will NOT be on the smooth curve.

Write a Review

Engineering Mathematics Questions & Answers

  What is the independent random samples

The merchant reads in a trade magazine that stores similar to his have a population standard deviation in daily sales of $210 and that stores with higher.

  Determine the inverse z-transform

Graphically determine the convolution of the x[n] and the unit step sequence - Using time domain techniques, determine the impulse response of the discrete time LTIC system (subject to zero initial state)

  How much greater than bills plan was marys plan

Go to your local grocery store to obtain the price of ice cream packaged in different-sized containers.

  Why not use a multi period planning model

Why not use a multi period planning model? How can one study the dynamic issues associated with developing the proposed fleet for 1982?

  Independence is an extension of the goodness

The Chi-square test for independence is an extension of the goodness of fit test to see if multiple groups are distributed according to expected distributions for each variable.

  Find probability of defective items

Many companies use a quality control technique called acceptance sampling to monitor incoming shipments of pans, raw materials. and so on.

  Compare the discrete-approximation methods

Use the extended Pearson-Tukey method to create three-point discrete approximations for the continuous distributions assessed in Problem.

  What is the value of z if the principal of the loan is given

The Dominion Freight Company has invested $50,000 in a new sorting machine that is expected to produce a return of $7,500 per year for the next 10 years.

  Boolean operator question

Teen* is an example of what search strategy

  Plot the data on linear graph paper

The following table shows the U.S. consumption and production of oil per day in barrels x 1 000 from 1994 to 2008: Plot the data on linear graph paper.

  Implement your model on a spreadsheet for given information

Korey is a business student at State U. She has just completed a course in decision models, which had a midterm exam, a final exam, individual assignments, and class participation.

  Define the primal and the dual geometric approaches

First, read the system by row and plot the corresponding lines. Second, read the system by column and plot the corresponding vectors.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd