construct.dmm: Construct the design model matrix

Description Usage Arguments Details Value

Description

Constructs the design model matrix corresponding to the given design and basis. Used by fit.ssm.

Usage

1
construct.dmm(basis, design, P)

Arguments

basis

An N x d matrix where each row is an exponent vector.

design

An n x d matrix where each row is a design point.

P

An N x N change of basis matrix from a monomial basis to a polynomial basis. Note that each column corresponds to a polynomial term.

Details

The argument basis defines a monomial basis and the change of basis matrix P is used to convert this to a polynomial basis. The function returns the design model matrix corresponding to this polynomial basis and the design given by design. Note that if P is the appropriately sized identity matrix then the model basis a monomial one.

Value

The n x N design model matrix.


peterrobertcurtis/SSM documentation built on May 25, 2019, 2:10 a.m.