ch.getNormalizedResiduals: A function calculate the normalized residuals (resid/sd) from...

View source: R/ch.getNormalizedResiduals.r

ch.getNormalizedResidualsR Documentation

A function calculate the normalized residuals (resid/sd) from a model fit

Description

This function calculates the normalized residuals from a from a model fit. The empirical Y, y variance, and the fit Y are input.

Usage

ch.getNormalizedResiduals(y, yFit, yVar)

Arguments

y

A numeric vector containing the empirical Y from the data.

yFit

A numeric vector containing the fit Y from the model.

yVar

A numeric vector containing the variance of each row in the Y vector. '

Value

a vectpr containing the normalized residuals.

Examples

ch.getNormalizedResiduals (myY, fitY, yVaraince)

ccpluncw/ccpl_R_chutils documentation built on Feb. 28, 2024, 1:17 a.m.