R/nordpred.object.R

#' Nordpred-object with fit of power5 and poisson Age- Period-Cohort models and 
#' related predictions for use on of cancer incidence data
#' 
#' \code{nordpred} uses the power5 and poisson Age-Period-Cohort (APC) models to 
#' calculate prediction of cancer incidence and mortality 
#' This class of objects is returned by the nordpred.estimate class of functions 
#' to represent a fit of power5 and poisson Age-Period-Cohort models for 
#' prediction of cancer incidence. 
#' Objects of this class have methods \code{\link{print.nordpred}}, 
#' \code{\link{summary.nordpred}} and \code{\link{plot.nordpred}}.
#' 
#' @section Components:
#' \describe{
#' \item{predictions}{A \code{data.frame} with forecasted number of cases}
#' \item{pyr}{A \code{data.frame} with observed and forecasted person years}
#' \item{nopred}{Numer of period predicted}
#' \item{noperiod}{Number of periods used in estimate}
#' \item{gofpvalue}{P-value for goodness of fit}
#' \item{recent}{Indicator for project of avarage trend or use the slope
#' for the last ten years? If \code{recdent = FALSE}, avarage trend for the whole 
#' observation period have been used, and if \code{recent = TRUE} the slope from 
#' the last ten years have been used}
#' \item{pvaluerecent}{P-value for use of recent trend based on a significance 
#' test for departure from linear trend}
#' \item{cuttrend}{Degree of trend cut in predictions}
#' \item{startusage}{Youngest age group which uses regression model as basis for 
#' predicted rates}
#' \item{startestage}{Youngest age group which have been included in the 
#' regression model. Predictions for age groups below this limit it based on 
#' average rates from the last 10 years.}
#' \item{glm}{Fitted \code{\link{glm}}-object}
#' }
#' 
#' The object will also contain the following (see \code{\link{lm}}): 
#' \code{formula}, \code{terms}, \code{assign} and \code{call}.
#' 
#' @references 
#' \itemize{
#' \item A website for nordpred is available at: 
#' \url{http://www.kreftregisteret.no/software/nordpred/}
#' \item Background for the methods can be found in: Moller B., Fekjaer H., Hakulinen T., 
#' Sigvaldason H, Storm H. H., Talback M. and Haldorsen T 'Prediction of cancer 
#' incidence in the Nordic countries: Empirical comparison of different approaches' 
#' Statistics in Medicine 2003; 22:2751-2766
#' \item An application of the function, using all the default settings, can be 
#' found in: Moller B, Fekjaer H, Hakulinen T, Tryggvadottir L, Storm HH, Talback M, 
#' Haldorsen T. Prediction of cancer incidence in the Nordic countries up to the 
#' year 2020. Eur J Cancer Prev Suppl 2002; 11: S1-S96
#' }
#' 
#' @author Harald Fekjaer and Bjorn Moller (Cancer Registry of Norway)
#' 
#' @section Note for S-plus:
#' Powerlink is made via a special modification in S-PLUS. This works fine 
#' for the point estimates, but the variance estimates found via the glm-objects 
#' are wrong. For variance estimates, we would rather recommend using R.
#' 
#' @family nordpred
#' @name nordpred.object
NULL
 
haraldwf/nordpred documentation built on May 17, 2019, 2:41 p.m.