solow-var 0.7.3

Rust vector autoregression: VAR, VECM with Johansen cointegration test, structural VAR, impulse response functions, forecast error variance decomposition.
Documentation
//! # solow-var
//!
//! Vector autoregression (VAR) for the Solow statistical stack, validated
//! against an authoritative reference.
//!
//! The crate fits a VAR(`p`) model by equation-by-equation ordinary least
//! squares on the stacked lag design with an optional constant term, exposing
//! the per-equation coefficients, both the maximum-likelihood (`/T`) and
//! degrees-of-freedom-adjusted (`/(T-Kp-1)`) residual covariances, the Gaussian
//! log-likelihood, the AIC/BIC/HQIC/FPE information criteria, and per-coefficient
//! standard errors, t-statistics and p-values.
//!
//! ```
//! use ndarray::array;
//! use solow_var::Var;
//!
//! let y = array![
//!     [0.5, 1.0], [0.7, 0.8], [0.4, 1.2], [0.9, 0.6], [0.6, 1.1],
//!     [1.0, 0.5], [0.7, 0.9], [1.1, 0.4], [0.8, 1.0], [1.2, 0.3],
//!     [0.9, 0.8], [1.3, 0.5],
//! ];
//! let res = Var::new(y).unwrap().fit(1).unwrap();
//! assert_eq!(res.neqs, 2);
//! assert_eq!(res.coefs.len(), 1);
//! ```

mod coint_tables;
mod svar;
mod var_model;
mod vecm;

pub use coint_tables::{c_sja, c_sjt};
pub use svar::{Svar, SvarResults};
pub use var_model::{Trend, Var, VarResults};
pub use vecm::{coint_johansen, Deterministic, JohansenResult, Vecm, VecmResults};