Posts by user55571 • 11 points
1 post
-
1
votes1
answer168
viewsQ: Error in function Optim
I am 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 +…