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

Description Usage Arguments

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.


MortalityGaps documentation built on May 2, 2019, 10:22 a.m.