surp.fit | R Documentation |
Evaluate the error sum of squares, its gradient and its hessian for the fit of
surprisal curves to binned psychometric data. The function value is optimized
by function smooth.surp
in package TestGardener.
surp.fit(x, surpList)
x |
The parameter vector, which is the vectorized form of the K by M-1 coefficient matrix for the functional data object. |
surpList |
A named list object containing objects essential to evaluating the fitting
criterion. See |
A named list object for the returned objects with these names:
PENSSE: |
The error sum of squares associated with parameter value |
DPENSSE: |
A column vector containing gradient of the error sum of squares. |
D2PENSSE: |
A square matrix of hessian values. |
Juan Li and James Ramsay
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.