lab3b - 1 Bayesian estimation. Sayan Mukherjee Inference:...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
Inference: MLE and Bayesian Sayan Mukherjee Lab assignment Four October 1, 2009 Sayan Mukherjee Inference: MLE and Bayesian
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Lab outline The lab will be due on the 9th of October. You will be expected to write a short: 1-2 page lab report. The 1-2 pages do not include plots or graphs that illustrate ideas. Sayan Mukherjee Inference: MLE and Bayesian
Background image of page 2
The data Data comes from a noisy linear relation. We have two variables x , y and we are given n values x from an even grid between [4 , 10]. Note that n (the number of observations) is something we will play with in our analysis. The way we compute y is as follows y = a × x + ε, where a = 4 and ε N (0 , 2) is i.i.d.normal. This results in data D := ( x i , y i ) n i =1 . Sayan Mukherjee Inference: MLE and Bayesian
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Inference We will estimate the parameter a using one approach
Background image of page 4
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 6
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 1 Bayesian estimation. Sayan Mukherjee Inference: MLE and Bayesian Bayesian estimation Open matlab Download the fles makedat.m sim.m plotpost.m run the commands [x,y] = makedat(20); [a,pa] = sim(x,y); fgure(2) plotpost(a,pa) you should see a plot oF 20 points corresponding to a line with noise you should also see a plot oF the posterior distribution oF the random quantity a as well as an estimate oF a play with n Sayan Mukherjee Inference: MLE and Bayesian Bayesian assignment 1 Generate several data sets for a Fxed n and plot the posterior distribution of a for each data set generated. How does these distributoins vary as n increases ? Sayan Mukherjee Inference: MLE and Bayesian...
View Full Document

Page1 / 6

lab3b - 1 Bayesian estimation. Sayan Mukherjee Inference:...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online