find_tau: Function to find the value of tau

Description Usage Arguments

View source: R/DGM_fit.R

Description

Function to find the value of female life expectancy where the sex-gap is no longer expanding (tau). This method is slightly different than the one indicated in the original paper (likelihood). The main advantage: speed.

Usage

1
find_tau(X, a = 1.05, f = 0.5)

Arguments

X

Input data object generated by prepare_data function.

a

Adjustment factor for maximum female life expectancy.

f

the smoother span. This gives the proportion of points in the plot which influence the smooth at each value. Larger values give more smoothness.


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