I'm trying to maximize the likelihood of logistic distribution with a regression structure. The code is:
cov1 <- rep(1,115)
cov2 <- rnorm(115,0,1)
e <- rlogis(115, 0,1)
yy <- 1*cov1 + 0*cov2 + 2*e
n <- 115
logL <- funct...
asked by
17.09.2016 / 21:25