Chronux Tutorial: Part II LOCFIT

Slides:



Advertisements
Similar presentations
The Software Infrastructure for Electronic Commerce Databases and Data Mining Lecture 4: An Introduction To Data Mining (II) Johannes Gehrke
Advertisements

Lecture Notes for E Alpaydın 2010 Introduction to Machine Learning 2e © The MIT Press (V1.0) ETHEM ALPAYDIN © The MIT Press, 2010
1 SSS II Lecture 1: Correlation and Regression Graduate School 2008/2009 Social Science Statistics II Gwilym Pryce
Spike Trains Kenneth D. Harris 3/2/2015. You have recorded one neuron How do you analyse the data? Different types of experiment: Controlled presentation.
Chronux Tutorial: Part I
LFPs 1: Spectral analysis Kenneth D. Harris 11/2/15.
Spectral analysis II: Applications Bijan Pesaran Center for Neural Science New York University.
Spectral analysis for point processes. Error bars. Bijan Pesaran Center for Neural Science New York University.
Analysis Protocols Electrophysiology. Data Analysis Data Analysis Tasks Analysis Methods (Algorithms) Experimental Information Measurement Physics Data.
Point process and hybrid spectral analysis.
Arpan Banerjee Research Fellow National Institute of Deafness and Other Communication Disorders National Institutes of Health, USA.
Brain Rhythms and Short-Term Memory Earl K. Miller The Picower Institute for Learning and Memory and Department of Brain and Cognitive Sciences, Massachusetts.
Psychology 202b Advanced Psychological Statistics, II February 10, 2011.
MACHINE LEARNING 9. Nonparametric Methods. Introduction Lecture Notes for E Alpaydın 2004 Introduction to Machine Learning © The MIT Press (V1.1) 2 
Spectral analysis Kenneth D. Harris 18/2/15. Continuous processes A continuous process defines a probability distribution over the space of possible signals.
The Empirical FT continued. What is the large sample distribution of the EFT?
Statistical analysis and modeling of neural data Lecture 17 Bijan Pesaran 12 November, 2007.
Statistical analysis and modeling of neural data Lecture 5 Bijan Pesaran 19 Sept, 2007.
Statistical analysis and modeling of neural data Lecture 7 Bijan Pesaran 26 Sept, 2007.
From T. McMillen & P. Holmes, J. Math. Psych. 50: 30-57, MURI Center for Human and Robot Decision Dynamics, Sept 13, Phil Holmes, Jonathan.
Statistics 350 Lecture 17. Today Last Day: Introduction to Multiple Linear Regression Model Today: More Chapter 6.
“Questions in peak bagging” 1)Two components: leakage matrix & spectral line profile - do we have sufficient accuracy? (simulated data sufficiently real?)
RCT tutorial 1 RC tutorial David Verstraeten. RCT tutorial 2 Reservoir Computing Random and fixed Trained.
LE 460 L Acoustics and Experimental Phonetics L-13
LFPs Kenneth D. Harris 11/2/15. Local field potentials Slow component of intracranial electrical signal Physical basis for scalp EEG.
Inference in practice BPS chapter 16 © 2006 W.H. Freeman and Company.
Studying Visual Attention with the Visual Search Paradigm Marc Pomplun Department of Computer Science University of Massachusetts at Boston
Stats for Engineers Lecture 9. Summary From Last Time Confidence Intervals for the mean t-tables Q Student t-distribution.
Witness Bunch Experimental Studies at CESR-TA Robert Holtzapple Alfred University/Cal Poly San Luis Obispo.
The Campbell Collaborationwww.campbellcollaboration.org C2 Training: May 9 – 10, 2011 Introduction to meta-analysis.
Spectral analysis of multiple timeseries Kenneth D. Harris 18/2/15.
SDSS photo-z with model templates. Photo-z Estimate redshift (+ physical parameters) –Colors are special „projection” of spectra, like PCA.
Paired Sampling in Density-Sensitive Active Learning Pinar Donmez joint work with Jaime G. Carbonell Language Technologies Institute School of Computer.
How Good is a Model? How much information does AIC give us? –Model 1: 3124 –Model 2: 2932 –Model 3: 2968 –Model 4: 3204 –Model 5: 5436.
EOVSA Pipeline Processing System J. McTiernan EOVSA Prototype Review 24-Sep-2012.
Stochastic Process Theory and Spectral Estimation Bijan Pesaran Center for Neural Science New York University.
Stochastic Process Theory and Spectral Estimation
Gustavo Cancelo Analysis of the phase shift error between A and B signals in BPMs BPM project.
Multivariate time series analysis Bijan Pesaran Center for Neural Science New York University.
EOVSA Data and Database System J. McTiernan EOVSA Technical DesignMeeting 7-Nov-2011.
RECITATION 2 APRIL 28 Spline and Kernel method Gaussian Processes Mixture Modeling for Density Estimation.
1 C.A.L. Bailer-Jones. Machine Learning. Data exploration and dimensionality reduction Machine learning, pattern recognition and statistical data modelling.
Ch8: Nonparametric Methods
Linear Mixed Models in JMP Pro
Machine learning, pattern recognition and statistical data modelling
The Effects of Levodopa and Deep Brain Stimulation on Subthalamic Local Field Low-Frequency Oscillations in Parkinson's Disease Neurosignals 2013;21:89-98.
Simultaneous Inferences and Other Regression Topics
Heather L. Dean, Maureen A. Hagan, Bijan Pesaran  Neuron 
Monitoring and Control of Action by the Frontal Lobes
M. Victoria Puig, Earl K. Miller  Neuron 
Heather L. Dean, Maureen A. Hagan, Bijan Pesaran  Neuron 
Developmental Inhibition of Gsk3 Rescues Behavioral and Neurophysiological Deficits in a Mouse Model of Schizophrenia Predisposition  Makoto Tamura, Jun.
Roman F. Loonis, Scott L. Brincat, Evan G. Antzoulatos, Earl K. Miller 
CA3 Retrieves Coherent Representations from Degraded Input: Direct Evidence for CA3 Pattern Completion and Dentate Gyrus Pattern Separation  Joshua P.
Volume 71, Issue 4, Pages (August 2011)
Gamma and Beta Bursts Underlie Working Memory
Volume 93, Issue 2, Pages (January 2017)
Liu D. Liu, Christopher C. Pack  Neuron 
Motor Learning with Unstable Neural Representations
Attenuation of high-frequency (30–200 Hz) thalamocortical EEG rhythms as correlate of anaesthetic action: evidence from dexmedetomidine  G. Plourde, F.
Georgia G. Gregoriou, Stephen J. Gotts, Robert Desimone  Neuron 
Xiaomo Chen, Marc Zirnsak, Tirin Moore  Cell Reports 
Monitoring and Control of Action by the Frontal Lobes
Jude F. Mitchell, Kristy A. Sundberg, John H. Reynolds  Neuron 
Statistics 350 Lecture 12.
Supratim Ray, John H.R. Maunsell  Neuron 
Behavioral task and performance.
Richard A. Andersen, He Cui  Neuron 
Nonlinear transfer of signal and noise correlations in vivo.
Discrimination accuracy across conditions.
Presentation transcript:

Chronux Tutorial: Part II LOCFIT Keith Purpura Weill Cornell Medical College Bijan Pesaran Center for Neural Science, NYU Hemant Bokil Boston Scientific Corporation

Spectra, Coherences etc Fourier transforms using multiple tapers: mtfftc.m Spectrum: mtspectrumc.m Coherency:mtcoherencyc.m Spectrogram: mtspecgramc.m Coherogram:mtcohgramc.m Local regression and likelihood The basic routines are listed here for continuous processes. Corresponding routines for spike times have names ending in pt, and corresponding routines for binned spike counts have names ending in pb. Note that almost all Chronux routines come with error bars. Regression and likelihood: locfit.m Plotting the fit: lfplot.m Plotting local confidence bands: lfband.m Plotting global confidence bands: scb.m

Chronux data format Continuous/binned point process data matrices with dimension time x channels/trials e.g. 1000 x 10 dimensional matrix interpreted as 1000 samples 10 channels/trials Spikes times struct array with dimension = number of channels/trials e.g. data(1).times=[0.3 0.35 0.42 0.6] data(2).times=[0.2 0.22 0.35] 2 spike trains with 4 and 3 spikes Chronux’s standard data format is listed here. We will also expand the Chronux internal format shortly to include cell arrays. We will incorporate other ways of storing data by including filters to convert data from other formats to the Chronux format – filters to convert from the plexon format to the Chronux format will be released soon.

Important parameter in mulitple Chronux functions params: structure with multiple fields Fs: sampling frequency (slightly different interpretation for spike times tapers: controls the number of tapers pad: controls the padding fpass: frequency range of interest err: controls error computation trialave: controls whether or not to average over trials

Example II: Spike rates, spectra and coherence (from earlier lecture) Simultaneous two-cell recording from Macaque area LIP – dataset DynNeuroLIP.mat Reach and Saccade Cue Delay Cue Delay Reach and Saccade Task Slide from the morning’s lectures. Pesaran et al (2008)

Example II 3 local field potentials (LFP) and 2 single units, LFP sampled at 1 kHz Trial: 3 seconds of data for 9 trials to one of the directions: 1 s (Baseline), 2 s (Delay + post movement) Baseline: 1 second of data for 74 trials (pooled across all directions) Description of data

Tasks Compute the following for the Memory trials Spike rates LFP and spike spectra Spike-field coherence Spike-Spike coherence Compare spike-spike coherence during the memory period and the baseline period.

The main script for this tutorial lip_master_script2.m Calls other scripts to run through the various analyses Type lip_master_script at the Matlab command prompt and press return

Basic locfit usage (rate estimate) Spike rate: 1 trial Basic locfit usage (rate estimate) >> fit=locfit(data,'family','rate'); >> lfplot(fit); >> lfband(fit); Density estimate: replace 'rate‘ by ‘dens’ Regression >> fit=locfit(x,y);

Setting the bandwidth –fixed (h), nearest neighbor (nn) h: fixed/absolute bandwidth e.g. h=1 is interpreted as 1 s if data is in seconds nn: fixed fraction of the total number of points e.g. nn=0.3 takes the 30% closest points to a given point Default: nn=0.7, h=0 >> fit=locfit(data,'family','rate‘,’nn’,0.3); >> lfplot(fit); >> lfband(fit);

Multiple trials pool the spikes and compute fit rescale fits and confidence intervals Pause at this place

Electrophysiology Analysis Protocol

Electrophysiolgy: Data Conditioning