Bivariate Hurdle Regression with Bayesian Model Averaging
Add BH-adjusted q-values and significance stars
Add a worksheet to an Excel workbook with flexible content
bivarhr: Bivariate Hurdle Regression
Build Design Matrices for Bivariate Hurdle Model
Contrafactual Average Treatment Effects (ATE) for the Bivariate Hurdle...
Discretize Numeric Vector into Terciles
Coerce to numeric and return first element
Build CmdStan model with custom FLOOR constant
Extract a p-value from nested test objects
Safely extract coefficient matrix from an object
Extract p-value from RTransferEntropy result
Extract TE statistic from RTransferEntropy result
Check if Vector is Binary-like
Read transfer entropy results from CSV files
Coerce to character scalar safely
Coerce to numeric scalar safely
Safely write a data frame to an Excel worksheet
Export Results to Excel
Export Analysis Results
Fit Single Bivariate Hurdle Model
Get Default Hurdle Model
Load Saved Results from Directory
Create Lag Matrix
Normalize character names by stripping BOM and NBSP
Temporal Placebo Test via Time-Index Permutations
Multi-step Predictive Simulation for the Bivariate Hurdle Model
Pre-whiten binary series with logistic GLM
Pre-whiten count series with GLM / NegBin model
Pre-whiten rate series with log-link Gaussian GLM
Print summary of FLOOR smoke test (ELPD ranking invariance)
Read CSV with automatic delimiter detection
Read and consolidate BMA weight tables
Rolling Out-of-Sample Forecast Evaluation
Fit a Two-Slice Dynamic Bayesian Network (DBN) for I, C, and Regime
Extreme-Bounds Analysis (EBA) over Control-Variable Combinations
Hidden Markov Model (HMM) for Path Dependence (Counts I and C)
Sensitivity Analysis to Unobserved Confounding (sensemakr)
Synthetic Control via BSTS (CausalImpact)
Transfer Entropy for Counts, Rates, and Binary Series
Fit VARX model with diagnostics for I and C
Select Best Model via Bayesian Model Averaging
Smoke Test for FLOOR ELPD Invariance
Standardize Continuous Columns In Place
Standardize Continuous Columns
Summarise top-3 Hurdle-NB models across control combos
Summarise top-3 temporal placebo results
Summarise top-3 transfer entropy results by type
Summarise top-3 transfer entropy results (global)
Summarise nonlinear time-series models (TVAR and LSTAR)
Summarise VARX model fit and diagnostics
Provides tools for fitting bivariate hurdle negative binomial models with horseshoe priors, Bayesian Model Averaging (BMA) via stacking, and comprehensive causal inference methods including G-computation, transfer entropy, Threshold Vector Autoregressive (TVAR) and Smooth Transition Autoregressive (STAR) models, Dynamic Bayesian Networks (DBN), Hidden Markov Models (HMM), and sensitivity analysis.