summary.STNP: Summarize a specification test 'STNP' object

View source: R/SpeTest.R

summary.STNPR Documentation

Summarize a specification test STNP object

Description

Prints a summary of a specification test object of class STNP with all the options used, including if options were "default"

Usage

## S3 method for class 'STNP'
summary(object, ...)

Arguments

object

An object of class STNP resulting from function SpeTest

...

Additional summary arguments

Value

No return value, prints a summary of the test

Author(s)

Hippolyte Boucher <Hippolyte.Boucher@outlook.com>

Pascal Lavergne <lavergnetse@gmail.com>

See Also

SpeTest is the function which performs a specification test and records it along with all its options in an object of class STNP

print.STNP prints the specification test statistic and p-value only

Examples

n <- 100
k <- 2
x <- matrix(rnorm(n*k),ncol=k)
y<-1+x%*%(1:k)+rnorm(n)

eq<-lm(y~x+0)


summary(SpeTest(eq=eq,type="icm",norma="np"))


SpeTestNP documentation built on Oct. 29, 2022, 1:09 a.m.