summary.STNP | R Documentation |
STNP
object
Prints a summary of a specification test object of class STNP
with all the options used, including if options were "default"
## S3 method for class 'STNP' summary(object, ...)
object |
An object of class |
... |
Additional summary arguments |
No return value, prints a summary of the test
Hippolyte Boucher <Hippolyte.Boucher@outlook.com>
Pascal Lavergne <lavergnetse@gmail.com>
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
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"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.