Package index
-
rtmb_code() - Define an RTMB Model with Stan-like Syntax
-
rtmb_model() - Create an RTMB_Model Object
-
rtmb_lm() - RTMB-based Linear Regression wrapper function
-
rtmb_glm() - RTMB-based GLM wrapper function (no random effects)
-
rtmb_lmer() - RTMB-based Linear Mixed Model (LMM) wrapper function
-
rtmb_glmer() - RTMB-based GLMM wrapper function
-
rtmb_ttest() - RTMB-based Bayesian two-sample t-test wrapper function
-
rtmb_corr() - Wrapper for estimating correlation matrix (multivariate normal distribution)
-
rtmb_fa() - RTMB-based Factor Analysis Wrapper
-
rtmb_irt() - RTMB-based IRT (Item Response Theory) Wrapper
-
plot_acf() - Plot autocorrelation for one variable across chains
-
plot_dens() - Plot posterior densities for MCMC samples
-
plot_forest() - Plot parameter estimates and credible intervals (Forest Plot)
-
plot_pairs() - Plot pairs for posterior samples
-
plot_trace() - Plot MCMC trace plots
-
bayes_factor() - Calculate Bayes factor from log marginal likelihoods
-
conditional_effects() - Calculate Conditional Effects
-
item_curve() - Calculate Item Response Curve / Category Response Curve
-
item_info() - Calculate Item Information Function
-
test_info() - Calculate Test Information Function
-
sort_loadings() - Sort and display factor loadings neatly
-
read_mcmc_csv() - Restore MCMC Fit from CSV
Math and Transformation Functions
Functions used within rtmb_code for stability and transformations.
-
logit() - Logit function
-
inv_logit() - Inverse logit function
-
log1m() - Log of one minus x
-
log1m_exp() - Log of one minus exponential of x
-
log1p_exp() - Log of one plus exponential of x
-
log_sum_exp() - Log-sum-exp function
-
log_softmax() - Log-softmax function
-
softmax() - Softmax function
-
log_mix() - Log mixture of two probabilities
-
log_det_chol() - Log determinant of a Cholesky factor
-
quad_form_chol() - Quadratic form using a Cholesky factor
-
quad_form_diag() - Quadratic form with a diagonal matrix
-
distance() - Euclidean distance
-
squared_distance() - Squared Euclidean distance
-
fabs() - Smooth absolute value function
-
to_centered_matrix() - Vector to centered matrix (RTMB compatible)
-
to_centered_tri() - Vector to centered triangular matrix (RTMB compatible)
-
sum_to_zero() - Sum-to-zero transformation
-
stz_basis() - stz basis function
-
RTMB_Fit_Base - Base class for RTMB Fit objects
-
MAP_Fit - MAP fit object
-
MCMC_Fit - MCMC fit object
-
VB_Fit - VB fit object
-
beverage - Beverage Preference Data
-
BigFive - Big Five Personality Traits Data
-
discussion - Group Discussion Simulation Data
-
distributions - Probability Distributions for RTMB Models
-
math_functions - Mathematical and Matrix Utility Functions for RTMB Models
-
model_code() - Model Code Wrapper for RTMB
-
parameters_code() - Code block for parameter definitions
-
parameter_types - Parameter Types and Constraints in RTMB Models
-
safe_rtmb_model() - Safe RTMB model construction (with error message translation)
-
Dim() - Define parameter dimensions and types
-
validate_data() - Pre-validation of data and parameters
-
generate_random_init() - Generate Random Initial Values
-
ADVI_method() - Automatic Differentiation Variational Inference (ADVI)
-
BigFive - Big Five Personality Traits Data
-
MAP_Fit - MAP fit object
-
MCMC_Fit - MCMC fit object
-
RTMB_Fit_Base - Base class for RTMB Fit objects
-
rtmb_model() - Create an RTMB_Model Object
-
VB_Fit - VB fit object
-
bayes_factor() - Calculate Bayes factor from log marginal likelihoods
-
beverage - Beverage Preference Data
-
conditional_effects() - Calculate Conditional Effects
-
conditional_effects(<mcmc_fit>) - Calculate conditional effects for MCMC fit objects
-
discussion - Group Discussion Simulation Data
-
distance() - Euclidean distance
-
distributions - Probability Distributions for RTMB Models
-
ess_basic() - Basic Effective Sample Size for a single chain or pooled chains
-
ess_bulk() - Calculate Bulk Effective Sample Size
-
ess_tail95() - Calculate Tail Effective Sample Size (at 2.5% and 97.5% quantiles)
-
fabs() - Smooth absolute value function
-
inv_logit() - Inverse logit function
-
item_curve(<RTMB_Fit_Base>) - Item Response Curve for RTMB_Fit_Base
-
item_curve() - Calculate Item Response Curve / Category Response Curve
-
item_info(<RTMB_Fit_Base>) - Item Information Function for RTMB_Fit_Base
-
item_info() - Calculate Item Information Function
-
log1m() - Log of one minus x
-
log1m_exp() - Log of one minus exponential of x
-
log1p_exp() - Log of one plus exponential of x
-
log_det_chol() - Log determinant of a Cholesky factor
-
log_mix() - Log mixture of two probabilities
-
log_softmax() - Log-softmax function
-
log_sum_exp() - Log-sum-exp function
-
logit() - Logit function
-
map_est() - Maximum A Posteriori (MAP) Estimate
-
math_functions - Mathematical and Matrix Utility Functions for RTMB Models
-
model_code() - Model Code Wrapper for RTMB
-
parameter_types - Parameter Types and Constraints in RTMB Models
-
parameters_code() - Code block for parameter definitions
-
plot(<ce_rtmb>) - Plot method for ce_rtmb class (Base R)
-
plot_acf() - Plot autocorrelation for one variable across chains
-
plot_dens() - Plot posterior densities for MCMC samples
-
plot_forest() - Plot parameter estimates and credible intervals (Forest Plot)
-
plot_pairs() - Plot pairs for posterior samples
-
plot_trace() - Plot MCMC trace plots
-
print(<bayes_factor>) - Print method for bayes_factor objects
-
print(<ce_rtmb>) - Print method for ce_rtmb class (automatically calls plot)
-
print(<summary_BayesRTMB>) - print for summary_BayesRTMB class
-
quad_form_chol() - Quadratic form using a Cholesky factor
-
quad_form_diag() - Quadratic form with a diagonal matrix
-
quantile95() - Calculate 95% Quantiles
-
r_hat() - Calculate Rank-normalized Split-R-hat
-
read_mcmc_csv() - Restore MCMC Fit from CSV
-
rtmb_code() - Define an RTMB Model with Stan-like Syntax
-
rtmb_corr() - Wrapper for estimating correlation matrix (multivariate normal distribution)
-
rtmb_fa() - RTMB-based Factor Analysis Wrapper
-
rtmb_glm() - RTMB-based GLM wrapper function (no random effects)
-
rtmb_glmer() - RTMB-based GLMM wrapper function
-
rtmb_irt() - RTMB-based IRT (Item Response Theory) Wrapper
-
rtmb_lm() - RTMB-based Linear Regression wrapper function
-
rtmb_lmer() - RTMB-based Linear Mixed Model (LMM) wrapper function
-
rtmb_syntax - Guidelines for Writing RTMB-Compatible Code
-
rtmb_ttest() - RTMB-based Bayesian two-sample t-test wrapper function
-
rtmb_wrappers - Common Features and Arguments of RTMB Wrapper Functions
-
softmax() - Softmax function
-
sort_loadings() - Sort and display factor loadings neatly
-
squared_distance() - Squared Euclidean distance
-
stz_basis() - stz basis function
-
sum_to_zero() - Sum-to-zero transformation
-
test_info() - Calculate Test Information Function
-
to_centered_matrix() - Vector to centered matrix (RTMB compatible)
-
to_centered_tri() - Vector to centered triangular matrix (RTMB compatible)
-
to_lower_tri() - Vector to lower triangular matrix (RTMB compatible)
-
transform_code() - Transformed Code Wrapper for RTMB