Expand description
greeners facade crate.
Modules§
- arima
- autoreg
- bart
- BART: Bayesian Additive Regression Trees (Chipman, George & McCulloch 2010).
- bayesian_
linear - Bayesian Linear Regression with conjugate Normal-Inverse-Gamma prior.
- bayesian_
sc - Bayesian Synthetic Control (Brodersen et al. 2015; Scott 2019).
- bayesian_
sfa - Bayesian stochastic frontier analysis via MCMC (Gibbs sampling).
- beta_
model - binary_
diagnostics - Diagnostics for binary choice models (logit/probit): classification table, ROC/AUC, Hosmer-Lemeshow goodness-of-fit, linktest.
- biplot
- PCA Biplot (Gabriel 1971).
- bootstrap
- bspline
- bvar
- Bayesian VAR (BVAR) with Minnesota prior.
- causal_
forest - Causal Forest (Wager & Athey 2018).
- causal_
impact - Causal Impact (Brodersen, Gallus, Henderson & Orban 2015).
- column
- conditional
- conformal
- Conformal Prediction (Vovk, Gammerman & Shafer 2005).
- copula
- Copula-based dependence modeling.
- cuped
- CUPED — Controlled-Experiment Using Pre-Experiment Data.
- dataframe
- datasets
- dbscan
- DBSCAN: Density-Based Spatial Clustering of Applications with Noise (Ester, Kriegel, Sander & Xu 1996).
- dcc_
garch - DCC-GARCH (Dynamic Conditional Correlation GARCH).
- decomposition
- descrstatsw
- dfm
- Extracts a small number of common factors from a large panel of macroeconomic indicators. The factors follow a VAR(1) process:
- diagnostics
- did
- discrete
- distributions
- dml_
crossfit - Double Machine Learning with cross-fitting (Chernozhukov et al. 2018).
- double_
ml - Double/debiased machine learning (Chernozhukov et al. 2018).
- dr_
learner - Doubly-Robust Learner (DR-learner, Kennedy 2023).
- dynamic_
factor - dynamic_
panel - error
- ets
- event_
study - Event study estimation: DiD with leads and lags.
- export
- Export functionality for model results as LaTeX, HTML, and CSV.
- fa_
panel - Factor-augmented panel regression.
- fama_
macbeth - favar
- FAVAR (Factor-Augmented VAR).
- fmols
- Fully Modified OLS (FMOLS) for cointegrating regressions.
- formula
- functional_
coef - Functional coefficient (varying coefficient) models.
- garch
- gee
- glm
- glmgam
- gls
- glsar
- gmm
- gmm_
clustering - Gaussian Mixture Model via Expectation-Maximization (Dempster, Laird & Rubin 1977).
- gp
- Gaussian Process Regression (Krige, Matheron; Rasmussen & Williams 2006).
- gradient_
boosting - Gradient Boosting regression (Friedman 2001).
- grf
- Generalized Random Forest (Athey, Tibshirani & Wager 2019).
- hausman
- hawkes
- Hawkes process — self-exciting point process.
- heckman
- hierarchical
- Hierarchical Clustering: Agglomerative (Ward, Single, Complete, Average linkage) (Ward 1963; Johnson 1967).
- imputation
- influence
- isotonic
- Isotonic Regression (Barlow, Bartholomew, Bremner & Brunk 1972).
- iv
- johansen_
break - Johansen cointegration test with structural breaks.
- kmeans
- K-Means Clustering (MacQueen 1967; Lloyd 1982).
- linalg
- lp_did
- Local Projections Difference-in-Differences (LP-DiD) estimator.
- lstm
- LSTM (Long Short-Term Memory) recurrent neural network for time series forecasting.
- margins
- markov
- markov_
autoreg - mfvar
- Mixed-Frequency VAR (MF-VAR) with MIDAS-style aggregation.
- mice
- MICE: Multiple Imputation by Chained Equations (van Buuren & Groothuis-Oudshoorn 2011).
- midas
- MIDAS (Mixed Data Sampling) regression.
- mixed
- mlp
- Multilayer Perceptron (MLP) regression via backpropagation.
- mnlogit
- model_
selection - moment_
helpers - ms_var
- Markov-Switching VAR (MS-VAR).
- mstl
- multipletests
- multivariate
- nardl
- Nonlinear ARDL (NARDL) — asymmetric cointegration.
- negbin
- nls
- Nonlinear Least Squares (NLS) estimation via Levenberg-Marquardt.
- nonparametric
- ols
- ordered
- orthogonal_
forest - Orthogonal Random Forest (ORF) for CATE estimation (Oprescu, Syrgkanis & Wu 2019).
- panel
- panel_
heckman - Panel Heckman (selection model with random effects).
- panel_
quantile - Panel quantile regression with fixed effects.
- panel_
robust - Robust panel inference tests:
- panel_
tobit - Panel Tobit model with random effects.
- panel_
var - Panel VAR (PVAR) via GMM estimation.
- poisson
- predicate
- Row predicate evaluation for CSV/TSV filtering.
- proportion
- psm
- pstr
- Panel Smooth Transition Regression (PSTR) with fixed effects.
- qrf
- Quantile Regression Forest (Meinshausen 2006).
- qrf_
inference - QRF Inference: Quantile Regression Forest with bootstrap confidence intervals (Meinshausen 2006; Athey, Tibshirani & Wager 2019).
- quantile
- quantile_
var - Quantile VAR (QVAR) — VAR estimation via quantile regression.
- random_
forest - Random Forest regression.
- rd
- reg_
path - Regularization Path (Efron, Hastie, Johnstone & Tibshirani 2004; Zou & Hastie 2005).
- rlm
- rolling
- setar
- SETAR (Self-Exciting Threshold Autoregressive) model.
- spatial
- SAR: y = ρWy + Xβ + ε SEM: y = Xβ + u, u = λWu + ε
- spatial_
durbin - Spatial Durbin Model (SDM) for panel data with fixed effects.
- spatial_
durbin_ error - Spatial Durbin Error Model (SDEM) for panel data with fixed effects.
- spatial_
panel - SAR panel: y_it = ρ·W·y_it + x_it’β + μ_i + ε_it SEM panel: y_it = x_it’β + μ_i + u_it, u_it = λ·W·u_it + ε_it
- specification_
tests - spectral
- Spectral Clustering (Shi-Malik 2000, Ng-Jordan-Weiss 2002).
- statespace
- stats
- stochastic_
frontier - Stochastic Frontier Analysis (SFA).
- summary_
col - sur
- survival
- sv
- Stochastic Volatility (SV) model via QMLE + Kalman filter/smoother.
- svar
- synth
- synth_
did - Synthetic Difference-in-Differences (Arkhangelsky et al. 2021).
- three_
sls - threshold
- timeseries
- tmle
- Targeted Maximum Likelihood Estimation (TMLE) (van der Laan & Rubin 2006).
- tobit
- transformer
- Transformer for time series forecasting (Vaswani et al. 2017).
- transforms
- tsne
- t-SNE: t-Distributed Stochastic Neighbor Embedding (van der Maaten & Hinton 2008).
- tv_
copula - Time-varying copula with GARCH dynamics.
- tvar
- Threshold VAR (TVAR) — regime switching via threshold variable.
- tvp
- Time-Varying Parameter (TVP) regression via Kalman filter.
- tvp_var
- TVP-VAR (Time-Varying Parameter VAR) via Kalman filter.
- types
- umap
- UMAP: Uniform Manifold Approximation and Projection (McInnes, Healy & Melville 2018).
- unobserved_
components - var
- varma
- vecm
- wavelet
- Maximal Overlap Discrete Wavelet Transform (MODWT).
- wls
- xgboost
- XGBoost-style gradient boosting with L1/L2 regularization.
- zero_
inflated
Structs§
- ARDL
- Autoregressive Distributed Lag model.
- ARIMA
- Arellano
Bond - AutoReg
- Autoregressive model.
- BSpline
Basis - B-spline basis generator.
- Bayes
GaussMI - Bayesian Gaussian Multiple Imputation.
- Bayes
MixedGLM - Bayesian Mixed GLM via Laplace approximation.
- Beta
Model - Beta regression model for response in (0, 1).
- Between
Estimator - Binary
Diagnostics - Diagnostics for binary choice models.
- Bootstrap
- Bootstrap methods for statistical inference
- CUSUM
Test - CUSUM test for structural stability.
- CanCorr
- Canonical Correlation Analysis.
- Categorical
Column - Categorical column with string levels and integer codes
- Conditional
Logit - Conditional Logit (Chamberlain’s fixed-effects logit).
- ConditionalMN
Logit - Conditional Multinomial Logit (McFadden’s choice model).
- Conditional
Poisson - Conditional Poisson (Hausman-Hall-Griliches).
- CoxPH
- Cox Proportional Hazards model.
- Data
Frame - A simple DataFrame-like structure for storing column-oriented data.
- Datasets
- Built-in datasets for examples and testing.
- Decomposition
- Classical seasonal decomposition and STL.
- Descr
StatsW - Weighted descriptive statistics.
- Diagnostics
- Diff
InDiff - Equation
- Structure to define a single system equation
- Exponential
Smoothing - Exponential smoothing models (Holt-Winters family).
- FGLS
- Factor
Analysis - Factor Analysis via principal axis factoring.
- Fixed
Effects - Formula
- Represents a parsed formula in the form “y ~ x1 + x2 + … + xn”
- GEE
- Generalized Estimating Equations.
- GLM
- Generalized Linear Model estimator.
- GLMGam
- GLM with Generalized Additive Model via penalized splines.
- GLSAR
- GLS with AR errors (Cochrane-Orcutt generalized to AR(p)).
- GMM
- GenPoisson
- Generalized Poisson regression.
- Hausman
Test - Hypothesis
Test - Hypothesis testing methods
- IV
- Influence
- Influence diagnostics for regression models (DFBetas, DFFITS, CUSUM).
- KDEMultivariate
- Multivariate Kernel Density Estimation via product kernel.
- KDEUnivariate
- Univariate Kernel Density Estimation.
- Kalman
Filter - Kalman filter.
- Kalman
Smoother - Kalman smoother (Rauch-Tung-Striebel).
- Kaplan
Meier - Kaplan-Meier survival estimator.
- Kernel
Reg - Nadaraya-Watson kernel regression estimator.
- Logit
- Logit implementation (Logistic Regression).
- Lowess
- Locally Weighted Scatterplot Smoothing.
- MANOVA
- One-way MANOVA.
- MICE
- Multiple Imputation by Chained Equations.
- MNLogit
- Multinomial Logit estimator.
- Markov
Switching - Markov Switching model with regime-dependent mean and variance.
- MixedLM
- Mixed Linear Model with REML estimation.
- Model
Selection - Model selection and comparison utilities
- Model
Summary - A model summary for side-by-side comparison.
- NegBin
- Negative Binomial regression estimator.
- NegBinP
- NegBinP: Negative Binomial with flexible P parameter.
- NominalGEE
- Nominal GEE: GEE with multinomial (baseline-category logit) working model.
- OLS
- OlsResult
- Ordered
Logit - Ordered Logit estimator.
- Ordered
Probit - Ordered Probit estimator.
- OrdinalGEE
- Ordinal GEE: GEE with cumulative logit (proportional odds) model.
- PCA
- Principal Component Analysis via eigendecomposition of correlation matrix.
- Panel
Diagnostics - Panel data diagnostic tests
- Panel
Threshold - Poisson
- Poisson regression estimator.
- Probit
- Probit implementation (Regression with Normal CDF).
- Quantile
Reg - RLM
- Robust Linear Model estimator using M-estimation (IRLS).
- Random
Effects - RecursiveLS
- Recursive Least Squares estimator (Kalman-like sequential update).
- RollingOLS
- Rolling OLS estimator with fixed window size.
- RollingWLS
- Rolling WLS estimator with fixed window size.
- SUR
- SVAR
- Structural VAR model.
- Specification
Tests - Specification tests for regression models
- State
Space Model - State space model specification: y_t = H * s_t + e_t, e_t ~ N(0, R_obs) s_t = F * s_{t-1} + R * u_t, u_t ~ N(0, Q)
- Stats
- Statistical tests and utilities.
- Summary
Col - Side-by-side model comparison table (like Stata’s esttab or R’s stargazer).
- Summary
Stats - Summary statistics helper
- SurEquation
- Entry structure for the SUR
- ThreeSLS
- Time
Series - Type
Inference Config - Configuration for automatic type inference in DataFrame loading.
- VAR
- VARMA
- VECM
- WLS
- Weighted Least Squares estimator.
- ZINB
- Zero-Inflated Negative Binomial estimator.
- ZIP
- Zero-Inflated Poisson estimator.
Enums§
- Beta
Link - Link function for Beta regression.
- Column
- Column enum supporting multiple data types
- Column
Type - Explicit column type override for CSV loading.
- Corr
Structure - Correlation structure for GEE.
- Covariance
Type - Data
Type - Data type of a column
- Family
- Distribution family for GLM.
- Garch
Dist - Error distribution for GARCH models
- Garch
Model Type - GARCH model type
- Greeners
Error - Custom error types for the Greeners library.
- Inference
Type - Kernel
- Kernel function for density estimation and kernel regression.
- Link
- Link function for GLM.
- Robust
Norm - Robust norm functions for M-estimation.
- Rotation
- Rotation method for Factor Analysis.
- SVar
Identification - Identification scheme for SVAR.
Functions§
- state_
space_ estimate - Convenience function: filter + smooth in one call.