summary.secdiff: Summary for Second Difference Objects

summary.secdiffR Documentation

Summary for Second Difference Objects

Description

Summary method for objects of class secdiff.

Usage

## S3 method for class 'secdiff'
summary(object, ..., level = 0.95, digits = 3)

Arguments

object

An object of class secdiff

...

Other arguments to be passed down to summary.

level

Confidence level for the confidence intervals

digits

Number of digits to print

Value

Printed output giving the overall average second difference and 95 the number of significant positive and negative as well as insignificant second differences.

Examples

data(aclp)
mod <- glm(democ ~ gdpw + popg,
           data = subset(aclp, year == 1980), 
           family=binomial)

secdiff <- secondDiff(mod, c("gdpw", "popg"), data = subset(aclp, year == 1980))
summary(secdiff)

davidaarmstrong/damisc documentation built on Sept. 16, 2024, 4:10 a.m.