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

  Give an nfa with minimum number of states

Give an NFA with minimum number of states for the following language with the alphabet A, the first input to the NFA will be the left-most letter of the string

  What initial velocity should it be hit to land in the hole

If the ball is struck and leaves the ground at an initial angle of 30 degree with the horizontal, then with what initial velocity should it be hit to land in the hole?

  Determine the average rate of ascent

The first successful ascent to the summit of K2, the world's second highest and most dangerous mountain was July 31, 1954. The distance (in meters) the climbers ascended K2 is modeled by the graph below. Determine the average rate of ascent from p..

  Find the pmf-mean and variance of the child''s birth rank

A random child is chosen in the town (with equal probabilities). Find the PMF, mean, and variance of the child's birth rank.

  Determine to introduce a new product or not

Discuss how you would proceed if you had to determine to introduce a new product or not. Include the appropriate statistical testing.

  Determine o(r3) in the group of symmetries of a square

Prove that the set of bijections from Z to Z with the operation composition of functions is a group. You may assume that composition of functions is associative - Write out the Cayley table for this group, with the headline and sideline.

  Project constraints-variables will affect outcome

The 100% rule is used in decision modeling to determine whether or not a change in project constraints or variables will affect the outcome of a decision. Under the 100% rule, any combination changes can occur without a change in the solution, as ..

  Show that the hawaiian earring is homeomorphic

Show that the Hawaiian Earring is homeomorphic to the one-point compactification of the disjoint union of countably many copies of the open interval (0, 1)

  Formulate as a nonlinear program

Formulate as a nonlinear program. Apply four iterations of the Frank-Wolfe algorithm; graphically identify the optimal point, using the property that even- and odd-numbered points lie on lines directly toward the optimum.

  Find the test statistic

Provided below are summary statistics for independent simple random samples from two populations. Use the nonpooled t-test and the nonpooled t-interval procedure to conduct the required hypothesis test and obtain the specified confidence interval.

  Product mix that maximizes weekly profit

There are 2500 labor hours and 4,000 square feet of lumber available each week. Determine the product mix that maximizes weekly profit.

  Overview of the descriptive statistics

Hypotheses - List the statistical notation and written explanations for the null and alternative hypotheses for the study. Variables - Identify the variables and each of their attributes: discrete or continuous, quantitativ..

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