86 GLM for EMG data
In ?exr-opening-hdf5, we opened a .7z
file containing a data set of spiking data combined with EMG data from a monkey operating a joystick. We used the data set from August 24, 2015. In that experiment, there are EMG recordings from seven locations, spiking recordings from 94 neurons, and measurement of cursor position, cursor acceleration, cursor velocity, and force on the joystick, among other things. You are advised to read the associated README file.
Your task in this exercise is to construct a generalized linear model that links the spiking activity to the EMG recordings. You should think carefully about your approach here. How do you want to model the spiking rate? Does that require downsampling? If so, how would you adjust the EMG signal to match up with the spiking rate?
If you like, you can play around with the richness of the data set, which includes lots of other measurements of the monkey, including the force he is exerting on the joystick and positions and movements of a cursor he is watching.