Learn R Programming

valytics (version 0.3.0)

summary.pb_regression: Summary method for pb_regression objects

Description

Provides a detailed summary of Passing-Bablok regression results, including regression coefficients, confidence intervals, linearity test (CUSUM), and interpretation guidance.

Usage

# S3 method for pb_regression
summary(object, ...)

Value

Invisibly returns a list with summary statistics.

Arguments

object

An object of class pb_regression.

...

Additional arguments (currently ignored).

Details

The summary includes:

  • Regression coefficients with confidence intervals

  • CUSUM test for linearity assumption

  • Interpretation of slope and intercept CIs

  • Method agreement conclusion

See Also

print.pb_regression() for concise output

Examples

Run this code
set.seed(42)
method_a <- rnorm(50, mean = 100, sd = 15)
method_b <- 1.05 * method_a + 3 + rnorm(50, sd = 5)
pb <- pb_regression(method_a, method_b)
summary(pb)

Run the code above in your browser using DataLab