Learn R Programming

fda (version 6.0.3)

zerobasis: Orthonormal Matrix with Columns Summing to Zero

Description

The matrix is k by k-1, columns are orthonormal and sum to zero. This matrix is used when quantities are unchanged to adding a constant, such as in multinomial data modelling.

Usage

zerobasis(k)

Arguments

k

A positive integer greater than one.

Value

A k by k-1 matrix with orthonormal columns that sum to zero.

Details

There are many ways of generating these matrix. This functions uses the discrete Fourier series less the constant vector.

See Also

smooth.surp, eval.surp