robjhyndman / demography

demography package for R
https://pkg.robjhyndman.com/demography
73 stars 25 forks source link

lca (lee-carter model) for fertility #10

Closed reshaa closed 10 years ago

reshaa commented 10 years ago

I am trying to implement the lee-carter model for fertility but the lca code is limited only to mortality data.

I tried using fdm(order=1, lambda=Inf, method="M") as suggested by Hyndman and Ullah (2007, p.4953).

I tested this with the france mortality data provided in the package but this does not provide same result as lca.

robjhyndman commented 10 years ago

fdm(order=1, method="classical") will give almost the same result as lca, although there are some minor differences in implementation.

We will update lca() to handle fertility data as requested.