Learn R Programming

tvReg

This R package covers a large range of semiparametric regression methods with time-varying coefficients using nonparametric kernel smoothing for the estimation.

Installation

You can install the released version of tvReg from CRAN with:

install.packages("tvReg")

or the development version from GitHub with:

devtools::install_github("icasas/tvReg")

Main functions

The five basic functions in this package are tvLM(), tvAR(), tvSURE(), tvPLM(), tvVAR() and tvIRF(). Moreover, this package provides the confint(), fitted(), forecast(), plot(), predict(), print(), resid() and summary() methods adapted to the class attributes of the tvReg. In addition, it includes bandwidth selection methods, time-varying variance-covariance estimators and four estimation procedures: the time-varying ordinary least squares, which are implemented in the tvOLS() methods, the time-varying generalised least squares for a list of equations, which is implemented in the tvGLS() methods, time-varying pooled and random effects estimators for panel data, which are implemented in the tvRE() and the time-varying fixed effects estimator, which is implemente in the tvFE().

References

Casas, Isabel and Fernandez-Casal, Ruben, tvReg: Time-varying Coefficient Linear Regression for Single and Multi-Equations in R (2022). R Journal, 14/1, pp. 79 - 100. link.

Copy Link

Version

Install

install.packages('tvReg')

Monthly Downloads

573

Version

0.5.12

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Isabel Casas

Last Published

November 6th, 2026

Functions in tvReg (0.5.12)

tvPLM

Time-Varying Coefficients Panel Data Models
tvVAR

Time-varying Vector Autoregressive Models
tvRE

Time-Varying Random Effects Estimation
tvPsi

Time-Varying Coefficient Arrays of the Orthogonalised MA Represention
tvSURE

Time-Varying Seemingly Unrelated Regression Equations Model
CEES

Standarised rates from a currency portfolio.
FF5F

Fama and French portfolio daily returns and factors for international markets.
tvCov

Time-varying Variance-Covariance Estimation
RV

Daily realized variance
tvFE

Time-Varying Fixed Effects Estimation
bwCov

Covariance Bandwidth Calculation by Cross-Validation
bw

Bandwidth Selection by Cross-Validation
tvGLS

Time-Varying Generalised Least Squares
tvIRF

Time-Varying Impulse Response Function
.tvLM.ci

tvReg internal and secondary functions
tvReg-package

tvReg: Time-Varying Coefficient for Single and Multi-Equation Regressions
tvLM

Time-Varying Coefficients Linear Models
tvOLS

Time-Varying Ordinary Least Squares
tvCor

Time-varying Correlation Estimation
tvPhi

Time-Varying Coefficient Arrays of the MA Represention
plot.tvsure

Plot Methods for Objects in tvReg
tvBcoef

Coefficient Array of an Estimated tvVAR
update.tvlm

Update and Re-fit the Models of package tvReg
confint.tvlm

Confidence Intervals for Objects in tvReg
summary.tvlm

Print results of functions in tvReg
tvAcoef

Time-Varying Coefficient Arrays of the Lagged Endogenous Variables of a TVVAR (no intercept).
OECD

Variables related to the problem of healthcare spending.
forecast

Forecast Methods for Objects in tvReg.
print.tvlm

Print results of functions in tvReg
tvAR

Time-Varying Autoregressive Model
predict.tvlm

Predict Methods for Objects in tvReg.