teststat.mboottest | R Documentation |
mboottest()
S3 method to obtain the non-bootstrapped test statistic calculated
via mboottest()
## S3 method for class 'mboottest'
teststat(object, ...)
object |
An object of type 'mboottest' |
... |
Further arguments passed to or from other methods. |
A vector containing the non-bootstrapped t-statistic calculated
in mboottest()
## Not run:
requireNamespace("clubSandwich")
R <- clubSandwich::constrain_zero(2:3, coef(lm_fit))
wboottest <-
mboottest(
object = lm_fit,
clustid = "group_id1",
B = 999,
R = R
)
teststat(wboottest)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.