Library: | stats |
See also: | DOcorr plotDOcorr |
Quantlet: | DOcorrOrPoly | |
Description: | auxiliary quantlet for DOcorr |
Usage: | ortho = DOcorrOrPoly(marginals {,scores}) | |
Input: | ||
marginals | n x 1 vector, marginal proportion (n elements must sum up to 1) | |
scores | (optional) n x 1 vector, scoring scheme; default scores = 1,2,...,n | |
Output: | ||
ortho | n x n matrix, coefficients of orthogonal polynoms |