sex_gap.model: Fit sex-gap model. This is a modified version of the Raftery...

Description Usage Arguments

Description

Fit sex-gap model. This is a modified version of the Raftery linear model for sex differences in life expectancy. This is kind of a AR(2)-X sex_gap ~ sex_gap1 + sex_gap2 + narrow_level

Usage

1
sex_gap.model(X, tau, A)

Arguments

X

Input data object generated by prepare_data function.

tau

The level of female life expectancy at which the sex-gap is expected to stop widening and to start narrowing. If NULL then the model will run an algorithm to find it.

A

The level of female life expectancy where we assume no further change in the sex-gap. If NULL the model will estimate it.


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