Learn R Programming

lifecontingencies (version 0.0.3)

demoita: Sample of Italian population life tables for males and females

Description

This dataset reports four pairs of life table, regarding Italian population. These table can be used to create life table objects and actuarial tables object.

Usage

data(demoita)

Arguments

source

These tables comes from Italian national statistical bureau (ISTAT) for SI series, government Ministry of Economics (Ragioneria Generale dello Stato) for RG48 or from Insurers' industrial association IPS55. RG48 represents the projected survival table for the 1948 born cohort, while IPS55 represents the projected survival table for the 1955 born cohort.

Details

These table contains the vectors of survival at the beginning of life years and are the building block of both lifetable and actuarialtable classes.

References

http://www.ania.it/private/documents/comunicazioni2005/PROT0252COMU.pdf http://demo.istat.it/unitav/index.html?lingua=ita

Examples

Run this code
#loads and show
	data(demoita)
	head(demoita)
	#creates sim92 life and actuarial table
	lxsim92<-demoita$SIM92

	lxsim92<-lxsim92[!is.na(lxsim92) & lxsim92!=0]
	xsim92<-seq(0,length(lxsim92)-1,1)
	#create the table
	sim92lt=new("lifetable",x=xsim92,lx=lxsim92,name="SIM92")
	plot(sim92lt)

Run the code above in your browser using DataLab