rymu_plot: sensitivity plot for estimates with regards to correlation...

View source: R/plot.R

rymu_plotR Documentation

sensitivity plot for estimates 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(
  rxmo = -2,
  rxy = -2,
  rymo = -2,
  nobs = nobs,
  labelest = "a1b1",
  conflevel = 0.95,
  specifyunob = 0,
  rxmu = -2,
  rmomu = -2
)

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

specifyunob

whether the user wants to specify two unobserved correlations default is 0, meaning no

rxmu

correlation between X and Mu

rmomu

correlation between Mo and Mu

Value

plot for how rmomu affects the estimates and confidence interval


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