Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

RSS

Residual sum-of-squares of a fitted model


Description

Calculates the residual sum-of-squares for objects of class nls, lm, glm, drc or any other models from which residuals can be extacted. From version 1.3-6, this function uses weights, if object has an item $weights.

Usage

RSS(object)

Arguments

object

a fitted model.

Details

RSS = ∑_{i=1}^{n}w_i \cdot (y_i-\hat{y}_i)^2

Value

The (weighted) residual sum-of-squares from the fit.

Author(s)

Andrej-Nikolai Spiess

Examples

m1 <- pcrfit(reps, 1, 2, l5)
RSS(m1)

qpcR

Modelling and Analysis of Real-Time PCR Data

v1.4-1
GPL (>= 2)
Authors
Andrej-Nikolai Spiess <a.spiess@uke.uni-hamburg.de>
Initial release
2018-05-29

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.