tidy.evinb {evinf}R Documentation

EVINB tidy function

Description

EVINB tidy function

Usage

## S3 method for class 'evinb'
tidy(
  x,
  component = c("evi", "count", "pareto", "all"),
  coef_type = c("original", "bootstrap_mean", "bootstrap_median"),
  standard_error = TRUE,
  p_value = c("bootstrapped", "approx", "none"),
  confint = c("none", "bootstrapped", "approx"),
  conf_level = 0.95,
  approx_t_value = TRUE,
  symmetric_bootstrap_p = TRUE,
  ...
)

Arguments

x

An evinb object

component

Which component should be shown?

coef_type

Type of coefficients. Original are the coefficient estimates from the non-bootstrapped version of the model. 'bootstrapped_mean' are the mean coefficients across bootstraps, and 'bootstrapped_median' are the median coefficients across bootstraps

standard_error

Should standard errors be computed?

p_value

What type of p_values should be computed? 'bootstrapped' are bootstrapped p_values through confidence interval inversion. 'approx' are p-values based on the t-value produced by dividing the coefficient with the standard error.

confint

What type of confidence should be computed. Same options as p_value

conf_level

What confidence level should be used for the confidence interval

approx_t_value

Should approximate t-values be returned

symmetric_bootstrap_p

Should bootstrap p-values be computed as symmetric (leaving alpha/2 percent in each tail)? FALSE gives non-symmetric, but narrower, intervals. TRUE corresponds most closely to conventional p-values.

...

Other arguments passsed to tidy function

Value

An EVINB tidy function

Examples

data(genevzinb2)
model <- evinb(y~x1+x2+x3,data=genevzinb2, n_bootstraps = 10, multicore = TRUE, ncores = 2)
tidy(model)


[Package evinf version 0.8.10 Index]