logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Raymond BarbeauGeneral article writing
(5/5)

557 Answers

Hire Me
expert
Connorr EvansEngineering
(5/5)

520 Answers

Hire Me
expert
ISAAC SSEKISAMBUPolitical science
(/5)

940 Answers

Hire Me
expert
Jon CulshawwComputer science
(5/5)

666 Answers

Hire Me
Applied Statistics
(5/5)

Parametric Bootstrap to solve a problem in Bayesian inference

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

In this question, you will use the Parametric Bootstrap to solve a problem in Bayesian inference. The *Parametric* Bootstrap is useful in those cases where you don't have the original data.

We could use the Normal Distribution for this problem because test scores are likely normally distributed. However, we run into a problem when doing simulations because we're likely to generate test scores outside the range 0- 100.

We can use the Truncated Normal Distribution (`truncnorm`) instead. From the scipy docs truncnorm page: https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.truncnorm.html

"The standard form of this distribution is a standard normal truncated to the range [a, b] — notice that a and b are defined over the domain of the standard normal. To convert clip values for a specific mean and standard deviation, use:

a, b = (myclip_a - my_mean) / my_std, (myclip_b - my_mean) / my_std"

Plus further clarification on a and b from

https://stackoverflow.com/questions/18441779/how-to-specify-upper-and-lowerlimits-when-using-numpy-random-normal

a, b = (lower - mu) / sigma, (upper - mu) / sigma

> "Within a school district, students were randomly assigned to one of two Math teachers - Mrs. Smith and Mrs. Jones. After the assignment, Mrs. Smith had 30 students, and Mrs. Jones had 25 students.

> At the end of the year, each class took the same standardized test. Mrs. Smith's students had an average test score of 78, with a standard deviation of 10; and Mrs. Jones' students had an average test score of 85, with a standard deviation of 15.

> What is the probability that Mrs. Smith and Mrs. Jones are equally effective teachers."

The method is to take M boostrap samples of size N from the parameterized distribution. Use M=1000 and the respective class sizes as N.

### Problem 5.1

What might "equally effective" might mean in the context of Bayesian inference (ie, how do we operationalize this in Bayesian Inference?).

### Problem 5.2

Now determine if it is *believable*.

### Problem 5.3

Answer one additional question of inference using the posterior distribution.

(5/5)
Attachments:

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme