Description Usage Arguments Value Examples
THIS IS AN INTERNAL FUNCTION: USE LOCGLMFIT
FOR BEST RESULTS. Fisher scoring method for local polynomial estimator of a psychometric function (PF).
1 | locglmfit_private( xfit, r, m, x, h, returnH, link, guessing, lapsing, K, p, ker, maxiter, tol )
|
xfit |
points in which to calculate the estimate |
r |
number of successes in points |
m |
number of trials in points |
x |
stimulus values |
h |
bandwidths |
returnH |
Boolean; Return or not the hat matrix H? default is |
link |
name of the link function to be used; default is |
guessing |
guessing rate; default is 0 |
lapsing |
lapsing rate; default is 0 |
K |
power parameter for Weibull and reverse Weibull link; default is 2 |
p |
degree of the polynomial; default |
ker |
kernel function for weights; default |
maxiter |
maximum number of iterations in Fisher scoring; default is 50 |
tol |
tolerance level at which to stop Fisher scoring; default is 1e-6 |
value |
Object with 2 or 3 components: pfit: value of the local polynomial estimate at points xfit etafit: estimate of eta (link of pfit) H: hat matrix (OPTIONAL) |
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.