logit.Rd
logit
is the logistic likelihood function given data.
logit(start, data, Log = TRUE)
start | vector of starting values |
---|---|
data | dataframe. The first column should be the dependent variable. |
Log | a logical input (defaults to |
like returns the likelihood function value.
y = indicat(faithful$waiting,mean(faithful$waiting)) x = scale(cbind(faithful$eruptions,faithful$eruptions^2)) data = data.frame(y,x) logit(rep(0,3),data)#> [1] -188.536