AIPErrPrp | R Documentation |
Calculate the variance of AIP using Error Propagation (The Delta Method)
AIPErrPrp(TG, HDL, SI = TRUE, roundDigit = 5)
TG |
A vector or data frame column containing the triglyceride (TG) values to be used for the calculation of the variance of Atherogenic Index of Plasma (AIP). TG and HDL must be of the same length. |
HDL |
A vector or data frame column containing the high density lipoprotein (HDL) values to be used for the calculation of variance of the Atherogenic Index of Plasma (AIP). TG and HDL must be of the same length. |
SI |
Boolean (default=TRUE). AIP is by definition calculated using SI units for TG and HDL (mmol/L). If mg/dl units are provided instead, SI must be set to FALSE. |
roundDigit |
Decimal digits to round the result to (default = 5). |
The variance of AIP using error propagation theory.
Casella G, Berger RL. Statistical Inference. 2nd ed. Duxbury Thomson Learning, 2002, Pages 240-245
Joint Commitee for Guides in Metrology. Evaluation of measurement data- Guide to the expression of uncertainty in measurement. 2008.
Joint Commitee for Guides in Metrology. International Vocabulary of Metrology (VIM)- Basic and General Concepts and Associated Terms. 2012.
## Not run:
AIPpropagationVar = AIPErrPrp(sampleA$TG,sampleA$HDL)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.