Last data update: 2014.03.03

R: The Youden index and optimal cut point estimation under...
Youden3Grp.OptimalCutoff.Normal.trueMeanSDR Documentation

The Youden index and optimal cut point estimation under normal distribution for three ordinal diagnostic groups

Description

For a diagnostic test folling normal distributions, given the true or estimated normal distribution mean and standard deviation (SD) parameters for three ordinal diagnostic groups, ,calculate the Youden index and optimal cut point estimations for three ordinal diagnostic groups (usllay healthy D- , mildly diseased D0 and diseased D+).

Usage

 Youden3Grp.OptimalCutoff.Normal.trueMeanSD(mu.minus, mu0,
 mu.plus, s.minus, s0, s.plus) 

Arguments

mu.minus

A numeric value. The mean parameter of normal distribution in D- group.

mu0

A numeric value. The mean parameter of normal distribution in D0 group.

mu.plus

A numeric value. The mean parameter of normal distribution in D+ group.

s.minus

A numeric value. The SD parameter of normal distribution in D- group.

s0

A numeric value. The SD parameter of normal distribution in D0 group.

s.plus

A numeric value. The SD parameter of normal distribution in D+ group.

Details

See references.

Value

A data frame of numeric components,

t.minus

The dervied optimal lower cut-point t.minus

t.plus

The dervied optimal upper cut-point t.minus

youden

The dervied optimal youden index

Note

Bug reports, malfunctioning, or suggestions for further improvements or contributions can be sent to Jingqin Luo <rosy@wubios.wustl.edu>.

Author(s)

Jingqin Luo

References

Jingqin Luo and Chengjie Xiong (2012) Youden Index and Associated Optimal Cut-point for Three Ordinal Groups. Communications In Statistics–Simulation and Computation (in press).

See Also

Youden3Grp

Examples


 mu.minus <- 6
 s.minus <- 1

 mu0 <- 8
 s0 <- 1.2

 mu.plus <- 11.05
 s.plus <- 1.4


Youden3Grp.OptimalCutoff.Normal.trueMeanSD(mu.minus,mu0,mu.plus,s.minus,s0,s.plus)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(DiagTest3Grp)
Loading required package: car
Loading required package: KernSmooth
KernSmooth 2.23 loaded
Copyright M. P. Wand 1997-2009
Loading required package: gplots

Attaching package: 'gplots'

The following object is masked from 'package:stats':

    lowess

> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/DiagTest3Grp/Youden3Grp.OptimalCutoff.Normal.trueMeanSD.Rd_%03d_medium.png", width=480, height=480)
> ### Name: Youden3Grp.OptimalCutoff.Normal.trueMeanSD
> ### Title: The Youden index and optimal cut point estimation under normal
> ###   distribution for three ordinal diagnostic groups
> ### Aliases: Youden3Grp.OptimalCutoff.Normal.trueMeanSD
> ### Keywords: htest
> 
> ### ** Examples
> 
> 
>  mu.minus <- 6
>  s.minus <- 1
> 
>  mu0 <- 8
>  s0 <- 1.2
> 
>  mu.plus <- 11.05
>  s.plus <- 1.4
> 
> 
> Youden3Grp.OptimalCutoff.Normal.trueMeanSD(mu.minus,mu0,mu.plus,s.minus,s0,s.plus)
   t.minus   t.plus    youden
1 7.017408 9.492239 0.6996601
> 
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>