Description Usage Arguments Details Value Note Author(s) References See Also Examples
View source: R/exact_lim_dS3lin.R
This function approximates the exact distribution for dS3 in a two parameter model by random draws of the residual signs.
1 | exact_lim_dS3lin(N, Reps, plot = FALSE)
|
N |
Size of the sample. This is necessary for the number of bins for the exact distribution. |
Reps |
Number of simulations used to approximate the distribution. |
plot |
Switch to allow a plot of the resulting approximation in a histogram. Select |
Details can be found in Kustosz (2016).
The function returns a simulated sample from the approximated exact distribution.
The function is used, when the dS3_lin2 test is applied with exact=TRUE.
Kustosz, Christoph
Kustosz, C. (2016). Depth based estimators and tests for
autoregressive processes with application. Ph. D. thesis. TU Dortmund.
1 2 | sim <- exact_lim_dS3lin(20, 100)
hist(sim)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.