[25 points total] Suppose the likelihood function for some random variable Y is modeled as Normal(0,...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
[25 points total] Suppose the likelihood function for some random variable Y is modeled as Normal(0, 1). Suppose the prior on O is 0 Normal(0, 1). a. [5 points] What is the posterior predictive distribution of the next observation, Ynew, we would draw from the same population given that we observed Y = 2? Use to plot the density of Y new | Y = 2. b. [10 points] Consider a Monte Carlo estimator of the mean of the posterior predictive distribution from (a), M Ynew YO M new j=1 where the new are i.i.d. draws from P(Y new |Y = 2). Write code to compute Y new for simulated Monte Carlo samples of size M = 10,..., 2000 in increments of 200. Plot these estimates against M and also plot the true mean of the posterior predictive distribution in the same figure for comparison. c. [10 points] Now compute Monte Carlo estimates of the probability that Ynew 0 for Monte Carlo samples of size M = 10,...,2000 in increments of 200. Make a plot of these estimates by M and plot the posterior predictive probability that Y new <0 in the same figure for comparison. [25 points total] Suppose the likelihood function for some random variable Y is modeled as Normal(0, 1). Suppose the prior on O is 0 Normal(0, 1). a. [5 points] What is the posterior predictive distribution of the next observation, Ynew, we would draw from the same population given that we observed Y = 2? Use to plot the density of Y new | Y = 2. b. [10 points] Consider a Monte Carlo estimator of the mean of the posterior predictive distribution from (a), M Ynew YO M new j=1 where the new are i.i.d. draws from P(Y new |Y = 2). Write code to compute Y new for simulated Monte Carlo samples of size M = 10,..., 2000 in increments of 200. Plot these estimates against M and also plot the true mean of the posterior predictive distribution in the same figure for comparison. c. [10 points] Now compute Monte Carlo estimates of the probability that Ynew 0 for Monte Carlo samples of size M = 10,...,2000 in increments of 200. Make a plot of these estimates by M and plot the posterior predictive probability that Y new <0 in the same figure for comparison.
Expert Answer:
Posted Date:
Students also viewed these mathematics questions
-
09 70 71 72 (9) Suppose for $1,000 you could buy a 10%, 10-year, annual payment bond or a 10%, 10-year, semiannual payment bond. They are equally risky. Which would you prefer? If $1,000 is the...
-
CANMNMM January of this year. (a) Each item will be held in a record. Describe all the data structures that must refer to these records to implement the required functionality. Describe all the...
-
answer all questions as instructed below. make sure you have attended all questions .Comparative Architectures (a) Describe the organisation of a two-level branch predictor that makes use of a global...
-
Refer to the Journal of Experimental Psychology-Applied (June 2000) name-retrieval study, presented in Exercise. The data for the study are saved in the NAMEGAME2 file. a. Find a 99% confidence...
-
Here is an excerpt from an article titled Dominguez Barry Looks at Covered Calls, appearing in the July 20, 1992, issue of Derivatives Week, p. 7: SBC Dominguez Barry Funds Management in Sydney, with...
-
The three main groups of rocks, based on origin, are shown on Fig. 2.6. Describe each.
-
Department A is one of 15 departments in the plant and is involved in the production of all of the six products manufactured. The department is highly mechanized and as a result its output is...
-
Galaxy, Inc., has the following plant asset accounts: Land, Buildings, and Equipment, with a separate accumulated depreciation account for each of these except Land. Galaxy completed the following...
-
Use the data below and STATA or R to solve the following problems. Plot the t-bill returns. Calculate the sample mean return on the tbills and report a standard error assuming the returns are IID.Is...
-
When alpha particles are directed onto atoms in a thin metal foil, some make very close collisions with the nuclei of the atoms and are scattered at large angles. If an alpha particles with an...
-
In 2016, Hagar Corp. sold 3,000 units at $500 each. Variable expenses were $350 per unit, and fixed expenses were $780,000. The same variable expenses per unit and fixed expenses are expected for...
-
Witt Recreation Company (WRC) makes e-bikes. The company currently manufactures two models, the Coaster and the Traveler, in one of the WRC factories. Both models require the same assembling...
-
Sharon's Garden Corporation has two divisions: Bulb Division and Seed Division. The following report is for the most recent operating period. Bulb Division Seed Division Sales $ 258,000 $ 172,000...
-
Pintar Inc. paid a RM1 per share annual dividend last week. Dividends are expected to increase by 5% annually. What is one share of this stock worth to you today if the appropriate discount rate is...
-
ACME Real Estate Developers has $100 million in a floating rate construction loan at LIBOR plus 2.0%. The forecast is for rising interest rates and the borrower is seeking an interest rate swap on...
-
1.Justify a basic etiquette related to technology that should be kept in mind by an individual in business settings. 2.Analyze main assumptions of a combined Theory E and Theory O approach to...
-
If a process has a six-sigma capability, what is the process capability index? a. 1 b. 2 c. 6 d. 12
-
Tipton Corporations balance sheet indicates that the company has \($300,000\) invested in operating as sets. During 2006, Tipton earned operating income of \($45,000\) on \($600,000\) of sales....
-
True or false: Eighteen of the top 25 largest (in market value) global companies are from the United States. a. True b. False
-
The first comprehensive general theory of management applied to organizations was offered by ______________. a. Henry Ford b. Thomas Watson c. Henri Fayol d. Thomas Edison
Study smarter with the SolutionInn App