Learn R Programming

haplo.stats (version 1.9.7)

fitted.haplo.glm: Fitted values from haplo.glm fit

Description

The fitted values for each person, collapsed over their expanded fitted values due to their multiple possible haplotype pairs

Usage

# S3 method for haplo.glm
fitted(object, ...)

Value

vector of fitted values

Arguments

object

A haplo.glm object

...

Optional arguments for the method

Details

Many of the subjects in a haplo.glm fit are expanded in the model matrix with weights used to reflect the posterior probability of the subject's haplotype pairs given their genotype. The working fitted values within the fitted object are from this expanded model matrix, and the fitted values from this method are calculated from the weighted fitted value for the subject across all their haplotype pairs.

See Also

haplo.glm