Description Usage Arguments Details Value Author(s) References See Also Examples
Estimate the Correlated Bivariate Least Square regression with replicated data in a (M,D) plot (Bland-Altman) where M=(X+Y)/2 and D=Y-X, provide the estimates table.
1 2 |
data |
a data set (data frame or matrix). |
xcol |
a numeric vector to specify the X column(s) or a character vector with the column names. |
ycol |
a numeric vector to specify the Y column(s) or a character vector with the column names. |
var.x |
a numeric variable for the variance of the measurement error of device X if known. |
var.y |
a numeric variable for the variance of the measurement error of device Y if known. |
ratio.var |
a numeric value for λ, the ratio of the measurement error variances (Y over X) if known. |
conf.level |
a numeric value for the confidence level (expressed between 0 and 1). |
The data argument is mandatory. If the data are unreplicated, then the measurement error variances must be given or their ratio (λ) in order to calculate the correlation, ρ_{MD}, between the measurement errors of the differences (on the Y-axis) and the measurement errors of the means (on the X-axis). The confidence level is used for the confidence intervals of the parameters (ρ_{MD}, β (slope), α (intercept)).
A table with the estimates of the intercept and the slope, standard error, confidence interval and pvalue (null hypothesis: slope = 0, intercept = 0).
Bernard G FRANCQ
Francq BG, Govaerts BB. How to regress and predict in a Bland-Altman plot? Review and contribution based on tolerance intervals and correlated-errors-in-variables models. Statistics in Medicine, 2016; 35:2328-2358.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.