Notes, assignments, and code for NEUROBIO 735 (Spring 2018).
1/10 – 2/8:
Wednesday, Thursday
3:00 – 4:30
DIBS conference room
Once again, we’ll be spending time debugging example code. In this case, we’re performing a statistical power analysis by simulating data from idealized experiments. You are given two functions:
calc_power
: calculates the power of a function that simulates an experiment and performs a statistical test on the resulting data.firing_rate_expt
: an example of one such experimental function.In this case, because no data are provided, it is up to you to choose parameters that will help you debug the functions.
Our idealized experiment works as follows: assume
Then, given observed spike counts generated from Poisson distributions based on these rates and observation durations, we calculate (empirical) firing rates for the stimulus \(\hat{\lambda}_i\) and baseline \(\hat{\lambda}_{0i}\) for each trial and perform a paired t-test of the hypothesis that they are the same.