pclm.confidence: Compute Confidence Intervals for PCLM output

View source: R/pclm_CI.R

pclm.confidenceR Documentation

Compute Confidence Intervals for PCLM output

Description

Compute Confidence Intervals for PCLM output

Usage

pclm.confidence(fit, out.step, y, SE, ci.level, type, offset)

Arguments

fit

Fitted values from pclm.fit

out.step

Length of estimated intervals in output. Values between 0.1 and 1 are accepted. Default: 1.

y

Vector with counts to be ungrouped. It must have the same dimension as x.

SE

Standard Errors

ci.level

Level of significance for computing confidence intervals. Default: 95.

type

Type of PCLM model. Options: "1D", "2D" for univariate and two-dimensional model respectively.

offset

Optional offset term to calculate smooth mortality rates. A vector of the same length as x and y. See \insertCiterizzi2015;textualungroup for further details.


mpascariu/ungroup documentation built on Jan. 31, 2024, 1:59 a.m.