# NOT RUN {
# Restricted G-StMAR-model with intercept paarametrization
params42gsr <- c(0.11, 0.03, 1.27, -0.39, 0.24, -0.17, 0.03, 1.01, 0.3, 2.03)
gstmar42r <- GSMAR(data=T10Y1Y, p=4, M=c(1, 1), params=params42gsr,
model="G-StMAR", restricted=TRUE)
summary(gstmar42r)
# Swap to mean parametrization
gstmar42r <- swap_parametrization(gstmar42r)
summary(gstmar42r)
# }
Run the code above in your browser using DataLab