Analyze Data from Analysis of Behavior Experiments
Normalization (or rescaling) between arbitrary a and b
Peak individual trial analysis using moving average
Biexponential Refractory Model (BERM)
Biexponential Model
Find the best fit for individual trials using optim
Find the nearest multiple
Curvature index using Fry derivation
Curvature index by numerical integration
Shannon entropy in two dimensions
Hyperbolic function
Event extractor
Individual trial analysis for peak procedure data
Single breakpoint algorithm, the exhaustive version as the one used in...
Exponential fit with nls
Frequency table for binned data
Fleshler & Hoffman (1962) progression
Full Width at Half Maximum
Gaussian + ramp fit with LM algorithm
Gellerman-like series
A function to binarize a numeric vector with a given resolution
Hyperbolic fit with nls
Objective function for finding the best fit for individual trials
Find the best fit for individual trials using optim
Computes the Kullback-Leibler divergence based on kernel density estim...
Mutual information of continuous variables using discretization
Mutual Information for Continuous Variables using kNN
Find maximum value within intervals
Objective function for the breakpoint optimization algorithm
Optimization Function for the Biexponential Model
Process MED to csv based on standard data structure event.time
Sample from a density estimate
Area under the curve (AUC)
Min-max normalization (also feature rescaling)
True value in interval
YEAB: Analyze Data from Analysis of Behavior Experiments
Analyze data from behavioral experiments conducted using 'MED-PC' software developed by Med Associates Inc. Includes functions to fit exponential and hyperbolic models for delay discounting tasks, exponential mixtures for inter-response times, and Gaussian plus ramp models for peak procedure data, among others. For more details, refer to Alcala et al. (2023) <doi:10.31234/osf.io/8aq2j>.