R/test.R

Defines functions test

Documented in test

#' Generic function for hypothesis testing of provider effects
#'
#' `test` is an S3 generic function used to conduct hypothesis tests on provider effect coefficients
#' and detect outlying provider. The function dispatches to the appropriate method
#' based on the class of the input model (`fit`).
#'
#' @param fit the input object, typically a fitted model, for which provider
#' effects are tested. The method applied depends on the class of this object.
#' @param ... additional arguments that can be passed to specific methods.
#'
#' @return the return depends on the method implemented for the
#' class of the input object, typically including statistical outputs for
#' provider effect coefficients and identification of outlier providers.
#'
#' @export

test <- function(fit, ...) {
  UseMethod("test")
}

Try the pprof package in your browser

Any scripts or data that you put into this service are public.

pprof documentation built on April 12, 2025, 1:33 a.m.