find_tau: Function to find the value of tau

View source: R/DGM_fit.R

find_tauR Documentation

Function to find the value of tau

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

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 April 5, 2025, 6:15 a.m.