Learn R Programming

xtvfreg (version 1.1.0)

Variance Function Panel Regression

Description

Implements an iterative mean-variance panel regression estimator that allows both the mean and variance of the dependent variable to be functions of covariates. The method alternates between estimating a mean equation (using generalized linear models with Gaussian family) and a variance equation (using generalized linear models with Gamma family on squared within-group residuals) until convergence. Based on the methodology in Mooi-Reci and Liao (2025) .

Copy Link

Version

Install

install.packages('xtvfreg')

Monthly Downloads

119

Version

1.1.0

License

MIT + file LICENSE

Maintainer

Tim Liao

Last Published

November 26th, 2025

Functions in xtvfreg (1.1.0)

vcov.xtvfreg

Variance-covariance matrix extraction method
xtvfreg

Variance Function Panel Regression
plot_coefficients

Plot coefficient comparison across groups
print.xtvfreg

Print method for xtvfreg objects
calculate_variance_decomposition

Calculate variance decomposition
summary.xtvfreg

Summary method for xtvfreg objects
comparison_table

Create comparison table across groups
coef.xtvfreg

Coefficient extraction method for xtvfreg objects
nlswork_subset

National Longitudinal Survey of Young Women (Subset)
estimate_group

Estimate model for a single group
get_variance_decomp

Get variance decomposition
export_table

Export results to LaTeX or CSV