Learn R Programming

gmwm (version 2.0.0)

model_score: Model Score

Description

Calculates the modeling score of a GMWM

Usage

model_score(A, D, omega, v_hat, obj_value)

Arguments

A
A mat that contains the first derivatives of the processes
omega
A mat that contains the omega used when calculating the GMWM
v_hat
A mat that contains the covariance matrix
At_j
A mat that contains the second derivative of each process
diff
A vec that is the difference of the WV empirical and WV theoretical

Value

A vec

Details

The equation is slightly different than that stated in the paper due to the bootstrap already incorporating in N.