print.nordpred.estimate: Prints a nordpred estimate object

Description Usage Arguments Value Note for S-plus Author(s) References See Also Examples

Description

print.nordpred.estimate prints the estimation information from a nordpred.estimate object (see nordpred.estimate.object).

Usage

1
2
## S3 method for class 'nordpred.estimate'
print(x, ...)

Arguments

x

An object of class nordpred.estimate (see nordpred.estimate.object).

...

ignored

Value

object of class nordpred (see nordpred.object).

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.

Author(s)

Harald Fekjaer and Bjorn Moller (Cancer Registry of Norway)

References

See Also

Other nordpred: is.nordpred.estimate, nordpred.estimate; is.nordpred, nordpred; nordpred.estimate.object; nordpred.getpred; nordpred.object; nordpred.prediction; plot.nordpred; print.nordpred; summary.nordpred

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
# data (Colon cancer for Norwegian males)
indata

# Create dataset with observed and predicted population
inpop <- cbind(inpop1, inpop2)

# Fit model using powerlink (default):
est <- nordpred.estimate(cases = indata, pyr = inpop, noperiod = 4, startestage = 5)

# Fit model using poisson link:
est2 <- nordpred.estimate(indata, inpop, 4, 5, linkfunc = 'poisson')

# Print results:
print(est)
print(est$glm)

# Use estimat object to make predictions:
res <- nordpred.prediction(est, startuseage = 6, cuttrend = c(0, .25, .5, .75, .75), recent = TRUE)

haraldwf/nordpred documentation built on May 17, 2019, 2:41 p.m.