LKT_HDI {LKT}R Documentation

LKT_HDI

Description

Bootstrap credibility intervals to aid in interpreting coefficients.

Usage

LKT_HDI(
  dat,
  n_boot,
  n_students,
  comps,
  feats,
  conns = rep("+", max(1, length(comps) - 1)),
  ints = NA,
  fixeds,
  get_hdi = TRUE,
  cred_mass = 0.95
)

Arguments

dat

Dataframe

n_boot

Number of subsamples to fit

n_students

Number of students per subsample

comps

Components in model

feats

Features in model

conns

R notation for linear equation connectors in model

ints

Interacts in model

fixeds

Fixed parameters 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.7.0 Index]