summary.threshpt: Summary informations for a fitted 'threshpt' object.

Description Usage Arguments Value Author(s) Examples

View source: R/summary.threshpt.R

Description

summary provides summary statistics for a threshpt object produced by threshpt()

Usage

1
2
## S3 method for class 'threshpt'
summary(object, ...)

Arguments

object

a fitted threshpt object produced by threshpt()

...

Not used

Value

summary.threshpt produces a list of summary informations for a fitted threshpt object with components

Formula

the formula which is used in the threshpt function

Best fit

estimated parameter coefficients of model with the minimum deviance

Deviance

deviance of a fitted threshpt model

Threshold

threshold value of the model with the minimum deviance

Author(s)

Youn-Hee Lim, Il-Sang Ohn, and Ho Kim

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# read the Seoul data set and create lag variables
data(mort)
seoul = read6city(mort, 11)
seoul_lag = lagdata(seoul, c("meantemp", "mintemp", "meanpm10", "meanhumi"), 5)

# find a optimal threshold and conduct piecewise linear regression
mythresh = threshpt(nonacc ~ meantemp_m3 + meanpm10_m2 +  meanhumi + ns(sn, 4*10) + factor(dow), 
			     expvar = "meantemp_m3", family = "poisson", data = seoul_lag,
			     startrng = 23, endrng = 33, searchunit = 0.2)

# provide summary informations
summary(mythresh)

HEAT documentation built on May 29, 2017, 10:52 a.m.

Related to summary.threshpt in HEAT...