x_Obj: Creation of a design matrix object

View source: R/x_Obj.R

x_ObjR Documentation

Creation of a design matrix object

Description

The function takes design/model information as input and performs initial computations for prediction and testing.

Usage

x_Obj(D, model)

Arguments

D

A list containing a regressor matrix for each model term

model

The model coded as a matrix

Details

See the source code of ffmanova to see how D and model are created.

Value

df_error

degrees of freedom for error

D

same as input

D_test

as D, but with Type II* adjusted model terms. Will be used for testing.

D_om

as D, but with OM-adjusted model terms. This is a non-overparameterised representation of the model. Will be used for prediction.

df_D_om

degrees of freedom according to D_om

df_D_test

degrees of freedom according to D_test

Beta_D

output from linregEst where D_om is response and where D is regressor

VmodelDivS_D

as above

VextraDivS1_D

as above

Umodel

output from linregStart where D_om is regressor

VmodelDivS

as above

VextraDivS1

as above

termNames

model term names

Author(s)

Øyvind Langsrud and Bjørn-Helge Mevik

See Also

linregEst, xy_Obj.


ffmanova documentation built on Oct. 18, 2023, 5:08 p.m.

Related to x_Obj in ffmanova...