Skip to content
Prev 324244 / 398503 Next

MLE for probit regression. How to avoid p=1 or p=0

Hello,

You write a function of two arguments, 'par' and 'data' and do not use 
them in the body of the function. Furthermore, what are b0, b1x and y?

Also, take a look at ?.Machine. In particular, couldn't you use

precision0 <- .Machine$double.eps
precision1 <- 1 - .Machine$double.eps

instead of 0.000001 and 0.999999?

Hope this helps,

Rui Barradas

Em 27-05-2013 16:21, knouri escreveu: