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)
Value
A k by k-1 matrix with orthonormal columns that sum to zero.
Arguments
k
A positive integer greater than one.
Details
There are many ways of generating these matrix. This functions uses
the discrete Fourier series less the constant vector.