Learn R Programming

fDMA (version 2.2.8)

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.8

License

GPL-3

Maintainer

Krzysztof Drachal

Last Published

January 24th, 2025

Functions in fDMA (2.2.8)

crudeoil

Crude Oil Data.
plot.reg

Plots Selected Outcomes from reg Object.
residuals.dma

Extracts Residuals from dma Model.
plot.grid.tvp

Plots Selected Outcomes from grid.tvp Function.
altf

Computes a Few Alternative Forecasts.
descstat

Computes Basic Descriptive Statistics.
plot.tvp

Plots Selected Outcomes from tvp Object.
roll.reg

Computes Rolling Regression.
altf2

Computes a Few Alternative Forecasts Based on Model Averaging.
archtest

Computes Engle's ARCH Test.
coef.dma

Extracts Averaged Coefficients from dma Model.
gNormalize

Normalizes a Numeric Matrix by Rows.
plot.altf4

Plots Selected Outcomes from altf4 Object.
print.grid.tvp

Prints grid.tvp Object.
print.reg

Prints reg Object.
summary.altf3

Summarizes Outcomes from altf3 Object.
plot.dma

Plots Selected Outcomes from fDMA Function.
dmtest

Computes Diebold-Mariano Test.
hmdmtest

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

Computes Harvey-Leybourne-Newbold Test.
fDMA

Computes Dynamic Model Averaging.
reduce.size

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

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

Summarizes Outcomes from altf4 Object.
plot.grid.roll.reg

Plots Selected Outcomes from grid.roll.reg Function.
fitted.dma

Extracts Fitted Values from dma Model.
print.altf4

Prints altf4 Object.
plot.altf

Plots Selected Outcomes from altf Object.
summary.altf2

Summarizes Outcomes from altf2 Object.
print.altf2

Prints altf2 Object.
altf3

Computes a Rolling Regression Averaged over Different Window Sizes.
standardize

Standardizes a Numeric Matrix by Columns.
grid.roll.reg

Computes roll.reg Function for Multiple Values of window.
print.tvp

Prints tvp Object.
altf4

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

Plots Selected Outcomes from altf2 Object.
print.dma

Prints dma Object.
print.altf3

Prints altf3 Object.
rvi

Extracts Relative Variable Importances from fDMA Model.
summary.grid.roll.reg

Summarizes Outcomes from grid.roll.reg Objects.
trends

Google Trends for Crude Oil Data.
print.grid.dma

Prints grid.dma Object.
rec.reg

Computes Recursive Regression.
normalize

Normalizes a Numeric Matrix by Columns.
onevar

Creates a matrix of one-variable models.
stest

Computes a Few Stationarity Tests.
summary.grid.tvp

Summarizes Outcomes from grid.tvp Objects.
plot.grid.dma

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

Summarizes Outcomes from tvp Object.
tvp

Computes Time-Varying Parameters Regression.
print.grid.roll.reg

Prints grid.roll.reg Object.
grid.tvp

Computes tvp Function for Multiple Values of lambda.
hit.ratio

Computes Hit Ratio (HR) for Forecast.
plot.altf3

Plots Selected Outcomes from altf3 Object.
print.altf

Prints altf Object.
predict.dma

Computes Predictions from dma Model.
summary.altf

Summarizes Outcomes from altf Object.
summary.dma

Summarizes Outcomes from dma Object.
summary.grid.dma

Summarizes Outcomes from grid.dma Objects.
summary.reg

Summarizes Outcomes from reg Object.