What fits the data better model 1 or model 2

Assignment Help Engineering Mathematics
Reference no: EM131307784

In Bayesian model selection (and parameter estimation) one is often faced with difficult, high-dimensional integrals. For example, suppose we have two models for our data, M1(x1, x2) and M2 (X1, x2), both of which are two-dimensional with model parameters x1 and x2. To find out which model does a better job at describing our dataset, within a Bayesian framework (and assuming no prior preference for either model) we would compute the Bayesian evidence factors, Z1 and Z2, where

Zi = ∫ ζ (x1, x2; Mi) Π(x1, x2; Mi) dx1dx2.     (8)

Here ζ(x1, x2; Mi) is the likelihood function and Π(x1, x2; Mi) is the prior distribution of parameters. If Z1 > Z2 we will prefer model 1 over model 2, for example. Here, the semi-colon notation in ζ(x1, x2; Mi) means that the model Mi(xi, x2) has been assumed in the computation of the likelihood function. How this is done is beyond the scope of this class. Instead, we will assume the likelihood function is given. For simplicity we shall assume ir(xi, x2; Mi) = 1. (The prior must satisfy f it = 1, so strictly speaking we cannot set it = 1 in general.)

In this problem you will tackle a challenging case when the parameters are degenerate: that is, there is a special combination if x1 and x2 where the model makes the same prediction while simultaneously varying the values of both x1 and x2. In such situations, neural networks trying to learn the likelihood surface may also experience significant difficulties. Obviously, the problem gets even worst when the dimensionality of the parameter space grows beyond two.

In the presence of a model degeneracy, one may encounter a likelihood function such as

ζ1(x1, x2) = exp (- (1 - x1)2 - 100 (x2 - x12)2).

(a) Plot In (L1 (x1, x2)) over the region x1, X2 ∈ [-5, 5]. The model's degeneracy will show up as lines in the x1-x2 plane where the value of ln ζ1 does not change.

(b) Modify the code you wrote to solve problem 2 to compute the value of

z1 = -55-55 ζ1(x1, x2) dx1 dx2

(c) Let N = 10k for k = 2,3, 4, and compute In (Z1) by continually increasing N. Continue increasing N until you can convincingly get at least 2 digits of precision. Quote some values of N and In (Z1).

(d) By any means possible (using your code or some other way entirely), compute Z2 for likelihood function ζ2(x1, x2) = 1.

What fits the data better, model 1 or model 2?

Reference no: EM131307784

Questions Cloud

How much did the corporation distribute in dividends : In its first year of operations, United Universal Corporation’s earnings are $2.1 million. Retained earnings at the end of the year were $1 million and contributed capital totaled $5.6 million. How much did the corporation distribute in dividends?
Exchange cash flows based on level of specific interest rate : A forward contract to exchange cash flows based on the level of a specific interest rate index is called a(n). A long contract requires that the investor. In most of the world's futures trading markets/exchanges, trading occurs using
Considering bidding on government contract to rebuild bridge : The company that you work for is considering bidding on a government contract to rebuild an old bridge that has reached the end of its useful life. The two-year contract will pay the firm $11.5 million at the end of the second year. How would you est..
Healthcare in mexico : Healthcare in Mexico, Select a country to research. For this country, focus on 4-5 aspects of their healthcare system. A standard 2-page (double-spaced) written report:
What fits the data better model 1 or model 2 : (a) Plot In (L1 (x1, x2)) over the region x1, X2 ∈ [-5, 5]. The model's degeneracy will show up as lines in the x1-x2 plane where the value of ln ζ1 does not change - What fits the data better, model 1 or model 2?
Use your certification to get involved in local response : Contact your local ham radio organization and take a certification course.-  Use your certification to get involved in local response.
Why did this leadership example capture your attention : Locate at least one article exemplifying individual leadership and analyze and support the skills, attributes, or traits exhibited by the individual.Why did this leadership example capture your attention?
What is a disaster recovery center : Who plays the largest role in providing the technical and financial support for recovery?- What is a Disaster Recovery Center?
What is covered under the individual and households program : What is the purpose of the National Processing Service Centers in Texas, Virginia, and Maryland?- What are the four types of assistance provided by the Disaster Housing Program?

Reviews

Write a Review

Engineering Mathematics Questions & Answers

  Prime number theorem

Dirichlet series

  Proof of bolzano-weierstrass to prove the intermediate value

Every convergent sequence contains either an increasing, or a decreasing subsequence.

  Antisymmetric relations

How many relations on A are both symmetric and antisymmetric?

  Distributed random variables

Daily Airlines fies from Amsterdam to London every day. The price of a ticket for this extremely popular flight route is $75. The aircraft has a passenger capacity of 150.

  Prepare a system of equations

How much money will Dave and Jane raise for charity

  Managing ashland multicomm services

This question is asking you to compare the likelihood of your getting 4 or more subscribers in a sample of 50 when the probability of a subscription has risen from 0.02 to 0.06.]  Talk about the comparison of probabilities in your explanation.

  Skew-symmetric matrices

Skew-symmetric matrices

  Type of taxes and rates in spokane wa

Describe the different type of taxes and their rates in Spokane WA.

  Stratified random sample

Suppose that in the four player game, the person who rolls the smallest number pays $5.00 to the person who rolls the largest number. Calculate each player's expected gain after one round.

  Find the probability density function

Find the probability density function.

  Develop a new linear programming for an aggregate production

Linear programming applied to Aggregate Production Planning of Flat Screen Monitor

  Discrete-time model for an economy

Discrete-time model for an economy

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