LKT_HDI {LKT}R Documentation

LKT_HDI

Description

Bootstrap credibility intervals to aid in interpreting coefficients.

Usage

LKT_HDI(
  dat,
  n_boot,
  n_students,
  components,
  features,
  interacts = NA,
  fixedpars,
  get_hdi = TRUE,
  cred_mass = 0.95
)

Arguments

dat

Dataframe

n_boot

Number of subsamples to fit

n_students

Number of students per subsample

components

components in model

features

features in model

interacts

interacts in model

fixedpars

fixed pars in model

get_hdi

boolean to decide if generating HDI per coefficient

cred_mass

credibility mass parameter to decide width of HDI

Value

list of values "par_reps", "mod_full", "coef_hdi"


[Package LKT version 1.6.0 Index]