Constructor for periodoTestResult object
Usage
new_periodoTestResult(test_value, p_value, decision, alpha, hypothesis)
Arguments
- test_value
Float value representing the value of \(PT_3\)
- p_value
Float for \(p\) value
- decision
Binary numeric (0, 1) value for acceptance (0) or rejection (1)
- alpha
Float between 0 and 1 for significance level
- hypothesis
Type of hypothesis
Value
An object of class periodoTestResult that fully characterizes the result of \(PT_3\).
Examples
res <- new_periodoTestResult(1.2, 0.1, 0, 0.05, "equality")
res
#> Periodogram Test for equality Hypothesis.
#>
#>
#> Results
#> -----------------------------------------
#> Tn: 1.2
#> p: 0.1
#> Decision: Accepted H0