Skip to contents

Extract estimated acquisition times for posterior predictive check.

Usage

extract_acqTime(fit, data_list, prob = 0.95, var_name = "acquisition_time")

Arguments

fit

CmdStanMCMC fit object

data_list

STb_data object (must include ind_id and time)

prob

interval for CI. defaults to .95

var_name

variable name of acquisition time from GQ block (default = "acquisition_time")

Value

Dataframe of trial, individual, id, observed_time, mean/median/HPD of estimated time