rlm.test | R Documentation |
Robust test for the Laplace distribution. Two options for calculating critical values, namely, approximated with Chi-square distribution and empirical, are available.
rlm.test(x, crit.values = c("chisq.approximation", "empirical"), N = 0)
x |
a numeric vector of data values. |
crit.values |
a character string specifying how the critical values should be obtained: approximated by the Chi-square distribution (default) or empirically. |
N |
number of Monte Carlo simulations for the empirical critical values. |
The test is based on a joint statistic using skewness and kurtosis coefficients. In particular, RLM uses the Average Absolute Deviation from the Median (MAAD), a robust estimate of standard deviation. See \insertCiteGel_2010;textuallawstat.
A list of class "htest"
with the following components:
statistic |
the value of the test statistic. |
parameter |
the degrees of freedom. |
p.value |
the |
method |
type of test was performed. |
data.name |
a character string giving the name of the data. |
Kimihiro Noguchi, W. Wallace Hui, Yulia R. Gel
sj.test
, rjb.test
, rqq
,
jarque.bera.test
## Laplace distributed data
x = rexp(100) - rexp(100)
rlm.test(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.