Skip to contents

Check whether x13 output is ok according to the PICKMDL "first" method

Usage

crit_ok(sa)

Arguments

sa

A x13 output object

Value

TRUE or FALSE

Details

Unlike ok, this function does the actual calculations.

See also

Examples

myseries <- pickmdl_data("myseries")

a <- x13(myseries, x13_spec(spec = "RSA3", transform.function = "Log"))
b <- x13(myseries, x13_spec(spec = "RSA3", transform.function = "None"))

crit_ok(a)
#> [1] TRUE
crit_ok(b)
#> [1] FALSE