Click or drag to resize
LifeTables Constructor
Constructs a new LifeTables instance. The number of classes, nClasses is equal to the length of the input array nCohort.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public LifeTables(
	int[] nCohort,
	double[] age,
	double[] a
)

Parameters

nCohort
Type: SystemInt32
An int array of length nClasses containing the cohort sizes during each interval. If the Population Table option is used, then nCohort[i] contains the size of the population at the midpoint of interval i. Otherwise, nCohort[i] contains the size of the cohort at the beginning of interval i. When requesting a population table, the population sizes in nCohort may need to be adjusted to correspond to the number of deaths in nDeaths. See the class description section for more information.
age
Type: SystemDouble
A double array of length nClasses + 1 containing the lowest age in each age interval, and in age[nClasses], the endpoint of the last age interval. Negative age[0] indicates that the age intervals are all of length |age[0]| and that the initial age interval is from 0.0 to |age[0]|. In this case, all other elements of age need not be specified. age[nClasses] need not be specified when getting a cohort table.
a
Type: SystemDouble
A double array of length nClasses containing the fraction of those dying within each interval who die before the interval midpoint. A common choice for all a[i] is 0.5. This choice may also be specified by setting a[0] to any negative value. In this case, the remaining values of a need not be specified.
See Also