R/methods_lmtest.R

Defines functions standard_error.coeftest p_value.coeftest

#' @export
ci.coeftest <- ci.default

#' @export
p_value.coeftest <- function(model, ...) {
  .data_frame(
    Parameter = .remove_backticks_from_string(row.names(model)),
    p = model[, 4]
  )
}

#' @export
standard_error.coeftest <- function(model, ...) {
  .data_frame(
    Parameter = .remove_backticks_from_string(row.names(model)),
    SE = model[, "Std. Error"]
  )
}

#' @rdname model_parameters.htest
#' @export
model_parameters.coeftest <- model_parameters.ivFixed
easystats/parameters documentation built on Nov. 10, 2024, 3:33 p.m.