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

View source: R/plot_a1b1.R

rymu_plot_a1b1R 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 regarding a1,b1,and a1b1

Usage

rymu_plot_a1b1(
  rxmo = -2,
  rxy = -2,
  rymo = -2,
  nobs = nobs,
  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

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.