logit {bayesdistreg} | R Documentation |
Logit likelihood function
Description
logit
is the logistic likelihood function given data.
Usage
logit(start, data, Log = TRUE)
Arguments
start |
vector of starting values |
data |
dataframe. The first column should be the dependent variable. |
Log |
a logical input (defaults to |
Value
like returns the likelihood function value.
Examples
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)
[Package bayesdistreg version 0.1.0 Index]