Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Part 2 : A Gaussian model of reading Suppose you do a reading experiment and collect reading times data y . The data y contains

Part 2: A Gaussian model of reading
Suppose you do a reading experiment and collect reading times data y. The data y contains n in-
dependent and identically distributed datapoints y1,y2,dots,yn. You make the following assumptions
about the underlying generative process:
(a) The likelihood assumption
Each datapoint yi comes from a normal distribution with mean and standard deviation :
yiNormal(,)
The joint likelihood of the data y1,y2,dots,yn can be given by:
L(,|y)=1(22)ne-122i=1n(yi-)2
(b) The prior assumptions
Based on the previous research on the topic, you make the following assumptions about the stan-
dard deviation and the mean reading times .
=50
Normal(250,25)
The product of the likelihood and the prior density gives you unnormalized posterior density.
The unnormalized posterior density of is given by
p'(|,y)=L(,|y)p()
Suppose the observed reading times data y consists of 8 observations: 300,270,390,450,500,290,
680,450.
Answer the following:
2.1 Given the above data y and the likelihood and prior assumptions, calculate the unnormalized
posterior density for the following values of .
=300
=900
=50
2.2 Graph the unnormalized posterior distribution of .
2.3 Compare the graphs of the prior and the (unnormalized) posterior distribution of .
From assignment 2 onwards, we will get coding exercises,you can submit using a Python notebook but a PDF file. Please give solution in python.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions