check: Function to examine the sigmoidal fit and provide...

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/check.R

Description

This is a helper function that returns several error measurement quantities that serve to help evaluate the logistic 4-PL and 5-PL models. The model to be checked can either come directly from the immunoassay data file or be fitted by the sigfit function.

Usage

1
check(x, analyte, ...)

Arguments

x

An object of class sigfit or ima.

analyte

Character. The name of the analyte to be evaluated in the class "ima" data frame.

...

Currently ignored.

Details

This function is used internally by the batch, sigfit, summary.ima and summary.sigfit functions to evaluate models.

Value

St.error

Mean and median value of error of fit to Standards (calibrators) in the measurement scale (not MFI scale).

QC.error

Mean and median value of error of fit to Quality Control samples in the measurement scale.

SSE

Sum of squares of error values for the fit in the measurement scale. This can be heavily affected by selection of calibrators.

Sigma

Residual sum of squares from the fitted model in the measurement scale. This can be heavily affected by weighting.

Syx

The Sy|x error value for the fit - in the measurement scale.

r.squared

R squared of the fit in the measurement scale. For the nls fits this can be a negative value in certain situations.

Author(s)

Michal J. Figurski, PhD mfigrs@gmail.com

See Also

sigfit, predict.sigfit

Examples

1
2
3
4
5
6
7
8
    ## Not run: 
    run = read.multiplex("your-path-here")
    check(run)
    
    fit = sigfit(run)
    check(fit)
    
## End(Not run)

immunoassay documentation built on May 2, 2019, 4:45 p.m.