Question
thanks in advance for helping - I'd like to understand how to solve it using MATLAB. I am not asking for plain solution, rather, I'd
thanks in advance for helping - I'd like to understand how to solve it using MATLAB.
I am not asking for plain solution, rather, I'd like to understand how I should build the code that allows me to solve the issue. ***
*** I'm not sure how to use correctly the normpdf function - how to integrate both s1 and s2 in that casejQuery224045491339034859635_1570193988308
Likelihood ratio test with asymmetric costs
Suppose we have a stimulus defined by a single variable called s.
s can take one of two values, which we will call s1 and s2.
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_s1 = 5; % sigma of s1
sd_s1 = 0.5; % standard deviation of s1
And likewise for s2:
mean_s2 = 7;
sd_s2 = 1;
Lets 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?
- 5.667
- 2.69
- 5.978
- 5.83
[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.]
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started