Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a data set about teacher workload in an area, the number of hours required to work at school (hrwork) per week were recorded. hrwork.csv

Consider a data set about teacher workload in an area, the number of hours required to work at school (hrwork) per week were recorded. "hrwork.csv" contains the data set. A normal distribution N(,2) is assumed for these hrwork data. Conduct a Bayesian analysis for this data set to make inferences about the mean , and variance 2. Suppose the following conjugate prior is assigned:

2 inverse gamma(3, 36) |2 N(40,2/0.1)

dat2 = read.csv("teachers.csv", header = TRUE) y2 = dat2$hrwork

  1. (1)(10 points) Draw independent samples from the posterior distribution.
  2. (2)(5 points) Report 95% equal tails credible intervals for both and 2.
  3. (3)(5 points) If another teacher is selected in this area and ask the same question, what is the probability that the number of hours required to work at school is greater than 38?

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

Intro Stats

Authors: Richard D. De Veaux, Paul F. Velleman, David E. Bock

3rd edition

321533283, 321533289, 9780321463708, 9780321503848, 9780321503800, 9780321499431, 9780321499417, 978-0321500458

More Books

Students also viewed these Mathematics questions

Question

1. Describe the types of waste found in healthcare processes

Answered: 1 week ago

Question

Find the derivative of y= cos cos (x + 2x)

Answered: 1 week ago

Question

What is the best conclusion for Xbar Chart? UCL A X B C B A LCL

Answered: 1 week ago