surp.fit: Evaluate the fit of surprisal curves to binned psychometric...

View source: R/smooth.surp.R

surp.fitR Documentation

Evaluate the fit of surprisal curves to binned psychometric data.

Description

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.

Usage

surp.fit(x, surpList)

Arguments

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 smooth.surp.R for the composition of this list.

Value

A named list object for the returned objects with these names:

PENSSE:

The error sum of squares associated with parameter value x.

DPENSSE:

A column vector containing gradient of the error sum of squares.

D2PENSSE:

A square matrix of hessian values.

Author(s)

Juan Li and James Ramsay

References

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.

See Also

smooth.surp


fda documentation built on Sept. 30, 2024, 9:19 a.m.