# Calculate a signed coherence parameter which is given as 100*(R-G)/(R+G), print the minimum and maximum of this signed coherence parameter XXXXXXXXXXpoints). 2. Calculate the percentage of trials the...

Calculate a signed coherence parameter which is given as 100*(R-G)/(R+G), print the minimum and maximum of this signed coherence parameter. (5 + 5 points). 2. Calculate the percentage of trials the animal responded red as a function of the signed coherence of the checkerboard. Plot this in a graph where the x-axis is signed coherence, y-axes is percentage responded red. T (20 points) 3. Calculate the mean reaction time for each value of signed coherence. Plot this again in a graph where the x-axis is signed coherence and y-axes is reaction time. (20 points) 4. Can you include error bars for the reaction time curve. To calculate error bars, you first need to measure the SEM, which is defined as follows (10 points) SEMX = std(X) p (N) (1) Where X is the variable of interest (in our case RT) and N is the number of data points. Once you have an SEM. You can use the errorbar function to plot the errorbars for the data. 5. Plot a histogram of all the reaction times observed for the animal. Does the reaction time distribution look Gaussian? (10 + 5 points) 6. Plot the median and the mean of RTs as a function of the signed coherence. Is the mean or the median larger? If so why? (10 + 5 points) 7. Label all axes and include legends and make sure all labels are legible. Provide a title for all the graphs at the top of the figure. (This will need some research). (5 points). 8. All functions need to be commented and code needs appropriate comments. Files should execute with minimal modification. (5 points).
Feb 23, 2023
SOLUTION.PDF

## Get Answer To This Question

### Submit New Assignment

Copy and Paste Your Assignment Here