rymu_plot_auxi: auxillary function for sensitivity plot for estimates and...

View source: R/plot_auxi.R

rymu_plot_auxiR Documentation

auxillary function for sensitivity plot for estimates and confidence interval with regards to correlation between Y and Mu

Description

give the sensitivity plot for how the correlation between Y and Mu affects the estimates and confidence interval

Usage

rymu_plot_auxi(
  rxmo = -2,
  rxy = -2,
  rymo = -2,
  rxmu = -2,
  rmomu = -2,
  nobs = 0,
  labelest = "a1b1",
  conflevel = 0.95
)

Arguments

rxmo

correlation between X and Mo

rxy

correlation between X and Y

rymo

correlation between Y and Mo

rxmu

correlation between X and Mu

rmomu

correlation between Mo and Mu

nobs

number of observations in the sample or sample size

labelest

label for which estimate the figure is for: a1b1, a1, b1 or c, default is a1b1

conflevel

confidence interval level, default is 0.95

Value

plot for how rymu affects the percentage of bias


linqinyu/ConMed documentation built on March 20, 2023, 5:40 a.m.