orth_D: Making adjusted design matrix data

View source: R/x_Obj.R

orth_DR Documentation

Making adjusted design matrix data

Description

The function takes the output from modelData as input and calculates adjusted data

Usage

orth_D(D, model, method)

Arguments

D

A list containing a regressor matrix for each model term

model

The model coded as a matrix

method

Either "test" or "om"

Details

The "test" method adjusts data according to Type II* sums of squares. This is an extension of the traditional Type II method. The "om" method orthogonalises terms according to the model hierarchy. The result is a non-overparameterised representation of the model.

Value

An adjusted version of D is returned.

Author(s)

Øyvind Langsrud and Bjørn-Helge Mevik


bhmevik/ffmanova documentation built on Oct. 23, 2023, 9:45 a.m.