MOOC
MOOC 999
thanks in advance for helping - I'd like to understand how to solve it using MATLAB. Likelihood ratio test with asymmetric costs Suppose we have a...
View the step-by-step solution to:

Question

# thanks in advance for helping - I'd like to understand how to solve it using MATLAB. />Likelihood ratio test with asymmetric costsSuppose we have a stimulus defined by a single variable called s.s can take one of two values, which we will call s1and s2. You could think of these as lights flashing in the eyes at one of two possible frequencies. Or perhaps listening to punk rock vs. listening to Dvorak.Let's call the firing rate response of a neuron to this stimulus r.Suppose that under stimulus s1 the response rate of the neuron can be roughly approximated with a Gaussian distribution with the following parameters:μ (mean): 5σ (standard deviation): 0.5And likewise for s2:μ: 7σ: 1Lets say that both stimuli are equally likely and we are given no other prior information.Now let's throw in another twist. Let's say that we receive a measurement of the neuron's response and want to guess which stimulus was presented, but that to us, it is twice as bad to mistakenly think it is s2 than to mistakenly think it is s1.Which of these firing rates would make the best decision threshold for us in determining the value of s given a neuron's firing rate?Hint: There are several functions available to help you evaluate Gaussian distributions. In Octave and in Matlab's stats toolbox you can use the 'normpdf' function. If you know how to set the problem up, you will be able to try all the answers below to find the one that works best. If you decide to challenge yourself to solve this algebraically instead, you can use the univariate Gaussian PDF, given at the top of this Wikipedia page.

### Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

• ### -

Study Documents

Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

Browse Documents