Displaying 1 result from an estimated 1 matches for "jbox".
Did you mean:
box
2001 Feb 18
1
confused about names()
...TISTIC, df = 2)
METHOD <- "Jarque Bera Test"
structure(list(statistic = STATISTIC, parameter = PARAMETER,
p.value = PVAL, method = METHOD, data.name = DNAME),
class = "htest")
}
================ Box.test session =======================
>
> jbox<-Box.test(rnorm(1000))
> jbox$statistic
X-squared
3.609782
> jbox$p.value
[1] 0.05744064
> jbox
Box-Pierce test
data: rnorm(1000)
X-squared = 3.6098, df = 1, p-value = 0.05744
> Box.test
function (x, lag = 1, type = c("Box-Pierce", "Ljung-Box"))...