Learn R Programming

YEAB (version 1.0.6)

optimize_biexponential: Optimization Function for the Biexponential Model

Description

Optimizes the log-likelihood function to estimate biexponential model parameters based on observed inter-response times.

Calculates the negative log-likelihood for the simpler biexponential model, which does not include the refractory period parameter, \(\delta\).

Usage

optimize_biexponential(irt)

biexponential_log_likelihood(params, irt)

Value

A named vector of optimized parameters for the biexponential model.

Negative log-likelihood value used for parameter estimation.

Arguments

irt

A numeric vector representing inter-response times.

params

A numeric vector of initial parameter estimates for optimization.

Details

This function computes the negative log-likelihood based on biexponential functions for the simpler biexponential model, adjusting parameters using transformations to meet constraints.