conmed_plot: sensitivity plot for estimates with regards to all...

View source: R/conmed_plot.R

conmed_plotR Documentation

sensitivity plot for estimates with regards to all correlations regarding Mu

Description

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

Usage

conmed_plot(
  rxmo = -2,
  rxy = -2,
  rymo = -2,
  nobs = nobs,
  labelest = "a1b1",
  conflevel = 0.95
)

Arguments

rxmo

correlation between X and Mo

rxy

correlation between X and Y

rymo

correlation between Y and Mo

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 rxmu rymu rmomu affects the estimates and confidence interval


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