cal_delta_star: Calculate delta star for sensitivity analysis

View source: R/cop_pse_auxiliary.R

cal_delta_starR Documentation

Calculate delta star for sensitivity analysis

Description

Calculate delta star for sensitivity analysis

Usage

cal_delta_star(
  FR2max,
  R2,
  R2_uncond,
  est_eff,
  eff_thr,
  var_x,
  var_y,
  est_uncond,
  rxz,
  n_obs
)

Arguments

FR2max

maximum R2

R2

current R2

R2_uncond

unconditional R2

est_eff

estimated effect

eff_thr

effect threshold

var_x

variance of X

var_y

variance of Y

est_uncond

unconditional estimate

rxz

correlation coefficient between X and Z

n_obs

number of observations

Value

delta star value


jrosen48/konfound documentation built on Nov. 21, 2024, 4:42 a.m.