Transforms a “tstest.test” object into a flextable with options on symbolic representation and model equation.
# S3 method for tstest.berkowitz
as_flextable(
x,
digits = max(3L, getOption("digits") - 3L),
signif.stars = getOption("show.signif.stars"),
include.decision = FALSE,
table.caption = x$test_name,
footnote.reference = FALSE,
...
)# S3 method for tstest.dac
as_flextable(
x,
digits = max(3L, getOption("digits") - 3L),
signif.stars = getOption("show.signif.stars"),
include.decision = FALSE,
table.caption = x$test_name,
footnote.reference = FALSE,
...
)
# S3 method for tstest.gmm
as_flextable(
x,
digits = max(3L, getOption("digits") - 3L),
signif.stars = getOption("show.signif.stars"),
include.decision = FALSE,
collapse = TRUE,
use.symbols = TRUE,
table.caption = x$test_name,
footnote.reference = FALSE,
...
)
# S3 method for tstest.hongli
as_flextable(
x,
digits = max(3L, getOption("digits") - 3L),
signif.stars = getOption("show.signif.stars"),
include.decision = FALSE,
table.caption = x$test_name,
footnote.reference = FALSE,
...
)
# S3 method for tstest.minzar
as_flextable(
x,
digits = max(3L, getOption("digits") - 3L),
signif.stars = getOption("show.signif.stars"),
include.decision = FALSE,
table.caption = x$test_name,
footnote.reference = FALSE,
...
)
# S3 method for tstest.nyblom
as_flextable(
x,
digits = max(3L, getOption("digits") - 3L),
signif.stars = getOption("show.signif.stars"),
include.decision = FALSE,
use.symbols = TRUE,
table.caption = x$test_name,
footnote.reference = FALSE,
...
)
# S3 method for tstest.shortfall_de
as_flextable(
x,
digits = max(3L, getOption("digits") - 3L),
signif.stars = getOption("show.signif.stars"),
include.decision = FALSE,
table.caption = x$test_name,
footnote.reference = FALSE,
...
)
# S3 method for tstest.signbias
as_flextable(
x,
digits = max(3L, getOption("digits") - 3L),
signif.stars = getOption("show.signif.stars"),
include.decision = FALSE,
use.symbols = TRUE,
table.caption = x$test_name,
footnote.reference = FALSE,
...
)
# S3 method for tstest.vares
as_flextable(
x,
digits = max(3L, getOption("digits") - 3L),
signif.stars = getOption("show.signif.stars"),
include.decision = FALSE,
table.caption = x$test_name,
footnote.reference = FALSE,
...
)
# S3 method for tstest.var_cp
as_flextable(
x,
digits = max(3L, getOption("digits") - 3L),
signif.stars = getOption("show.signif.stars"),
include.decision = FALSE,
table.caption = x$test_name,
footnote.reference = FALSE,
...
)
A flextable object.
an object of which inherits a “tstest” class.
integer, used for number formatting. Optionally, to avoid scientific notation, set ‘options(scipen=999)’.
logical. If TRUE, ‘significance stars’ are printed.
prints out whether to reject the NULL at the 5% level of significance.
an optional string for the table caption.
whether to include the reference paper of the test in the footnotes.
not currently used. The returned object can be manipulated further using flextable.
collapses the results for multiple lags to just report the joint test.
for tests which either have parameters for which the latex symbols were included in the calling function or for which the tests generate values which can be represented as latex symbols, then these will be generated.