Learn R Programming

lifecontingencies (version 1.3.12)

demoIta: Italian population life tables for males and females

Description

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

Usage

data(demoIta)

Arguments

Format

A data frame with 121 observations on the following 9 variables.

X

a numeric vector, representing ages from 0 to \(\omega\).

SIM02

a numeric vector, 2002 cross section general population males life table

SIF02

a numeric vector, 2002 cross section general population females life table

SIM00

a numeric vector, 2000 cross section general population males life table

SIF00

a numeric vector, 2000 cross section general population females life table

SIM92

a numeric vector, 1992 cross section general population males life table

SIF92

a numeric vector, 1992 cross section general population females life table

SIM81

a numeric vector, 1981 cross sectional general population males life table

SIF81

a numeric vector, 1981 cross sectional general population females life table

SIM61

a numeric vector, 1961 cross sectional general population males life table

SIF61

a numeric vector, 1961 cross sectional general population females life table

RG48M

a numeric vector, RG48 projected males life table

RG48F

a numeric vector, RG48 projected females life table

IPS55M

a numeric vector, IPS55 projected males life table

IPS55F

a numeric vector, IPS55 projected females life table

SIM71

a numeric vector, 1971 cross sectional general population males life table

SIM51

a numeric vector, 1951 cross sectional general population males life table

SIM31

a numeric vector, 1931 cross sectional general population males life table

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

ISTAT, IVASS, Ordine Nazionale Attuari

Examples

Run this code
	#load and show
	data(demoIta)
	head(demoIta)
	#create 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