Learn R Programming

⚠️There's a newer version (2.2.8) of this package.Take me there.

fDMA (version 2.2.7)

Dynamic Model Averaging and Dynamic Model Selection for Continuous Outcomes

Description

Allows to estimate dynamic model averaging, dynamic model selection and median probability model. The original methods are implemented, as well as, selected further modifications of these methods. In particular the user might choose between recursive moment estimation and exponentially moving average for variance updating. Inclusion probabilities might be modified in a way using 'Google Trends'. The code is written in a way which minimises the computational burden (which is quite an obstacle for dynamic model averaging if many variables are used). For example, this package allows for parallel computations and Occam's window approach. The package is designed in a way that is hoped to be especially useful in economics and finance. Main reference: Raftery, A.E., Karny, M., Ettler, P. (2010) .

Copy Link

Version

Install

install.packages('fDMA')

Monthly Downloads

474

Version

2.2.7

License

GPL-3

Maintainer

Krzysztof Drachal

Last Published

July 16th, 2023

Functions in fDMA (2.2.7)

coef.dma

Extracts Averaged Coefficients from dma Model.
hmdmtest

Computes Diebold-Mariano Test when Presence of ARCH Effects is Suspected.
gNormalize

Normalizes a Numeric Matrix by Rows.
fitted.dma

Extracts Fitted Values from dma Model.
grid.DMA

Computes fDMA Function for Multiple Values of alpha and lambda.
fDMA

Computes Dynamic Model Averaging.
dmtest

Computes Diebold-Mariano Test.
plot.dma

Plots Selected Outcomes from fDMA Function.
grid.roll.reg

Computes roll.reg Function for Multiple Values of window.
plot.altf4

Plots Selected Outcomes from altf4 Object.
mdmtest

Computes Harvey-Leybourne-Newbold Test.
plot.altf3

Plots Selected Outcomes from altf3 Object.
normalize

Normalizes a Numeric Matrix by Columns.
plot.grid.tvp

Plots Selected Outcomes from grid.tvp Function.
onevar

Creates a matrix of one-variable models.
plot.altf2

Plots Selected Outcomes from altf2 Object.
plot.grid.roll.reg

Plots Selected Outcomes from grid.roll.reg Function.
print.grid.roll.reg

Prints grid.roll.reg Object.
plot.reg

Plots Selected Outcomes from reg Object.
print.grid.dma

Prints grid.dma Object.
plot.altf

Plots Selected Outcomes from altf Object.
grid.tvp

Computes tvp Function for Multiple Values of lambda.
plot.tvp

Plots Selected Outcomes from tvp Object.
print.altf3

Prints altf3 Object.
summary.altf2

Summarizes Outcomes from altf2 Object.
summary.dma

Summarizes Outcomes from dma Object.
print.altf2

Prints altf2 Object.
reduce.size

Reduces the Size of fDMA or grid.DMA Outcomes.
residuals.dma

Extracts Residuals from dma Model.
summary.altf

Summarizes Outcomes from altf Object.
print.altf4

Prints altf4 Object.
standardize

Standardizes a Numeric Matrix by Columns.
stest

Computes a Few Stationarity Tests.
hit.ratio

Computes Hit Ratio (HR) for Forecast.
summary.grid.tvp

Summarizes Outcomes from grid.tvp Objects.
summary.grid.roll.reg

Summarizes Outcomes from grid.roll.reg Objects.
summary.grid.dma

Summarizes Outcomes from grid.dma Objects.
summary.reg

Summarizes Outcomes from reg Object.
summary.tvp

Summarizes Outcomes from tvp Object.
print.grid.tvp

Prints grid.tvp Object.
rvi

Extracts Relative Variable Importances from fDMA Model.
roll.reg

Computes Rolling Regression.
print.reg

Prints reg Object.
print.altf

Prints altf Object.
predict.dma

Computes Predictions from dma Model.
rec.reg

Computes Recursive Regression.
print.tvp

Prints tvp Object.
plot.grid.dma

Plots Selected Outcomes from grid.DMA Function.
summary.altf4

Summarizes Outcomes from altf4 Object.
summary.altf3

Summarizes Outcomes from altf3 Object.
trends

Google Trends for Crude Oil Data.
tvp

Computes Time-Varying Parameters Regression.
print.dma

Prints dma Object.
altf3

Computes a Rolling Regression Averaged over Different Window Sizes.
altf2

Computes a Few Alternative Forecasts Based on Model Averaging.
altf4

Computes a Time-Varying Parameters Rolling Regression Averaged over Different Window Sizes.
descstat

Computes Basic Descriptive Statistics.
crudeoil

Crude Oil Data.
archtest

Computes Engle's ARCH Test.
altf

Computes a Few Alternative Forecasts.