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

  Find the m eigenvectors of j

The members of the basis associated with the Jordan Canonical Form are often referred to as occurring in chains-this terminology arising from the following.

  Calculate the year in which the total number of users

A journalist observes that the total number of Facebook users, between 2010 and 2015, can be modeled by the linear equation u = 213t - 1740 (10 ≤ t ≤ 15) where u is the total number of Facebook users in millions, and t is the number of years since..

  How is the heat equation related to the laplace equation

Math 054 Partial Differential Equations - HW Assignment 2. Explain in a short paragraph where the uxx(x, y) or ∇2u comes from in the heat equation. This should be understandable to someone outside the class. You can use terminology like heat flux....

  Interpretation of the interval

Assuming population variances are equal; construct an appropriate 95% confidence interval for the difference in mean Gestation Age between infants born in Hospital B and Hospital C.

  Review case study of the cylindrical air-compressor tank

A closed cylindrical air-compressor tank is 600 mm in diameter and is subjected to an internal pressure of 5 MPa.

  Find the value of y

Problem 1: Find the value of y(4) when

  Find the probability of defective parts

A manufacturing company produces parts, 97% of which are within specifi- cations and 3% are defective (outside specifications).

  Information would a one-way manova

Considering the variables and design that you described in the first discussion question 3, above what information would a one-way MANOVA provide you? What more would you want to know if you get significant results in the MANOVA? Why would this be..

  Linear programming model for determining leasing

Create and solve a linear programming model for determining the leasing schedule that provides the required amounts of space at minimum cost.

  Manufacturing of a microwave oven

A production manager is faced with the question of how to allocate the manufacturing of a microwave oven between his own company and a subcontractor, because neither firm can handle the demand alone.

  The purpose of statistical inference problems

If you were to change the confidence level to 95%, what would happen to the confidence interval?

  Suppose the spot ask exchange rate

Suppose the spot ask exchange rate, Sa ($|£), is $1.90 = £1.00 and the spot bid exchange rate, Sb ($|£), is $1.89 = £1.00. If you were to buy $10,000,000 worth of British pounds and then sell them five minutes later, how much of your $10,000,000 w..

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