This function generates a table of optimized parameters and Psi Criterion for a given function within specified starting parameter bounds. This function uses Limited Memory BFGS as it's gradient descent algorithm.
local_fit_RGHD_ratio(
param_bounds,
data,
weighted_rt = FALSE,
par_chunk = 100,
par_chunk_size = 10,
n_cores = 1,
clust,
left_trunc = 1,
right_trunc = left_trunc + length(data) - 1
)
A list of sequences which indicate space where parameters should be generated and fit
Vector of observed values
Boolean used to determine if the weighted right-tail cumulative distribution function should be used or not.
Integer used to indicate number of optimization chunks to be run. Total number of rows in the output table = par_chunk * par_chunk_size
Integer used to indicate number of starting parameters to be generated and optimized in a given chunk. Total number of rows in the output table = par_chunk * par_chunk_size
Integer used to indicate number of cores to be used for this function if a socket cluster object is not defined.
socket cluster object from 'parallel::makeCluster()'. This is used if you have already generated a socket cluster object and would like to run this functoin on it. If no object is defined, one will be made for this function call.
Int used to determine starting index of model to use for optimization
Int used to determine ending index of model to use for optimization