compute_CI: Function to generate correlated prediction intervals from a...

Description Usage Arguments

View source: R/DGM_predict.R

Description

Function to generate correlated prediction intervals from a mvrnorm

Usage

1
compute_CI(pred_results, M1, M2, M3, h, iter, ci, cou)

Arguments

pred_results

An object containing predicted values

M1

Model 1 - Linear regression bp-life-expectancy.

M2

Model 2 - Time-series D-gap.

M3

Model 3 - Sex-gap.

h

The number of steps ahead for which prediction is required.

iter

Number of iterations. Default: 500

ci

Confidence levels. Default: c(0.8, 0.95)

cou

Country name.


mpascariu/MortalityGaps documentation built on May 7, 2021, 1:45 p.m.