chi_square_optim_DDM_fullconfRT: chi_square_optim_DDM_fullconfRT

View source: R/quantile_fit_DDM_only.R

chi_square_optim_DDM_fullconfRTR Documentation

chi_square_optim_DDM_fullconfRT

Description

chi_square_optim_DDM_fullconfRT

Usage

chi_square_optim_DDM_fullconfRT(
  params,
  observations,
  returnFit,
  confRT_name = "RTconf"
)

Arguments

params

Parameters of the model to be fitted + fixed parameters

observations

Data to be fitted

returnFit

if 0, then returns predicted data. Else, fit the parameters

confRT_name

Name of the column in observations containing the confidence reaction time

Details

This is the function used to simultaneously fit reaction time, accuracy and confidence judgments via quantile optimization.

Value

predicted data if returnFit == 0, else returns the prediction error


pledenmat/myPackage documentation built on July 25, 2022, 3:50 p.m.