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.
zerobasis(k)
A k
by k-1
matrix with orthonormal columns that sum to zero.
A positive integer greater than one.
There are many ways of generating these matrix. This functions uses the discrete Fourier series less the constant vector.
Ramsay, James O., Hooker, Giles, and Graves, Spencer (2009), Functional data analysis with R and Matlab, Springer, New York.
Ramsay, James O., and Silverman, Bernard W. (2005), Functional Data Analysis, 2nd ed., Springer, New York.
Ramsay, James O., and Silverman, Bernard W. (2002), Applied Functional Data Analysis, Springer, New York.
smooth.surp
,
eval.surp