prepare_safeguard_model: Function that computes confidence intervals for fixed effects...

View source: R/utility_functions.R

prepare_safeguard_modelR Documentation

Function that computes confidence intervals for fixed effects and sets them to the lower boundary of this CI

Description

prepare_safeguard_model() changes the fixed effect estimates of the specified model. It computes confidence Intervals with the "Wald"- method and sets the fixed effect estimates to the lower boundary of this confidence interval. Non significant effects in the given model are ignored and no safeguard-value is computet for them.

Usage

prepare_safeguard_model(model, confidence_level, critical_value)

Arguments

model

mixed model of interest

confidence_level

level of confidence that the parameter lies in the interval

critical_value

z/t value to test if a given fixed effect is significant

Value

A modified mixed model


DejanDraschkow/mixedpower documentation built on Feb. 16, 2024, 7:58 a.m.