[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GLM fit or Cubic smoothing spline for categorical boundary data??



You can't make sensible statistical inferences from a least-squares fit. A proper statistical approach (i.e., using maximum likelihood as in logistic regression) would enable you to to answer questions like how many parameters are necessary for an adequate description of the data.

Yours - Stuart

On 07/05/2012 11:23, Pragati Rao wrote:
Hi everyone,

Thank you for the helpful replies. Based on some of the suggestions I tried a two parameter logistic curve fit using lsqcurvefit(). The equation used was y(t)=1/(1+exp(-r(t-t0))). The results obtained for the same data is attached. I have a few more questions:

1. Will the 4 parameter fit be better? And should I use  y(t)= k1/(1+exp(-r(t-t0)))+k2 ?

2. Trueutwein and Strasberger (1999) suggest that maximum likelihood is better for fitting psychometric function data. Has anyone found results from a maximum likelihood fit better than a least squares fit?

Any opinions on this?

Regards,
Pragati