Man pages for SpTB/wztools
Convenient functions for analysis and simulation

add_cov_stats_indAdds columns specifying true mu, 95% coverage, bias and...
add_cov_stats_muAdds columns specifying true mu, 95% coverage, bias and...
add_fixed_parsadd fixed pars to stan list
add_gammasAdd gamma pars from model_struct_list to stan_list
add_rangesAdd ranges to stan list
add_vars_from_stan_list_to_model_outputAdds variables from stan_list to to stan model summary (3-D,...
beta_meanEstimate mean of the beta distribution
beta_sdEstimate the standard deviation of the Beta distribution
calc_looCalculate LOOIC of a cmdstan model object
calc_waicCalculate WAIC (and llpd) of a cmdstan model object
compile_modelCompiles a stan model (wrapper for cmdstanr::cmdstanmodel())
decay_expExponential Decay
decay_hyperHyperbolic decay
decay_qhyperQuasi-hyperbolic decay
draw_from_beta_hypersDraw individual parameters from beta-transformed...
draw_mu_from_gammaTitle
estBetaParamsEstimate alpha and beta parameters of the Beta distribution...
extract_loosExtract LOOIC values from all models in your targets folder...
extract_predsExtract simulated variables from the generated quantities...
extract_waicsExtract WAIC values from all models in your targets folder...
fit_modelFit a stan model with cmdstanr default fitting setup
fit_model_genSimulate a synthetic dataset using a stan model and a...
get_indsFilters cmdstan fit summary dataframe for mu values and adds...
get_inds2Extract individual parameters from cmdstanr model summary...
get_musFilters cmdstan fit summary dataframe for mu values and adds...
get_mus2Extract group-level mean parameters (mus) from cmdstanr model...
get_sim_mu_sdsCalculate sd's for each group parameter
growth_hyperHyperbolic growth
kalmanKalman filter
loadRDataRdata Loader
make_fixed_pars_listCreates a list of fixed parameters
make_stan_listMaking a stan-compatible data list
make_stan_skeletonBuilds a stan-model skeleton, specifying priors, their...
model_comp_tableCreates a table of loo/waic scores based on loo lists from...
pars_to_stanAdds individual parameters from task skeleton to a stan list
plot_mu_on_accInteratively plots task accuracies based on different levels...
setGGoptionsSet GG options
setOptionsSetting various options
sigm_driftSigmoidal drift-rate transform (based on:...
sim10-subject data simulation
sim_ind_parsSimulate individual parameters from beta-like group-level...
sim_ind_pars_multiSimulate individual parameters from beta-like group-level...
sim_musSimulate group means (mus) from beta-like priors
sim_mus2Title
sim_raw_inds_from_absimulates raw individual parameter values (in beta space)...
sim_raw_pars_from_abSimulates raw group parameter values (in beta space) from...
single_subj_simSingle subject data simulation
softmaxSoftmax function (2 values)
softmax2Softmax function (2 values)
softmax_inverseSoftmax (2 values, with inverted tau)
softplusSoftplus transformation from (-Inf +Inf) to (0, +Inf)
sourceAllSources all the code within given folder + file name pattern
thompsonThompson sampling (normal or beta (moment-matching method))
varToStrVariable name to string conversion
widen_predsWidens prediction dataframe (useful when 2+ prediction...
SpTB/wztools documentation built on July 2, 2023, 11:50 a.m.