How to get coefficients from a model in R?
Advertisements I am trying to store coefficients from a mle model just like a normally do for other models. Surprisingly, it throws an error. Any other methods to store it? set.seed(111) y.size <- rnorm(100,4,1) p <- rnorm(100,5,1) df <- data.frame(p, y.size) glae <- function(A,K,Ka,q, sigma, c) { lnqp <- if(q == 0) log(p) else ((p^q… Read More How to get coefficients from a model in R?