search for: multinormial

Displaying 2 results from an estimated 2 matches for "multinormial".

Did you mean: multinomial
2009 Sep 24
1
multinormial runs tests?
...ichotomous factor only: x <- rep(c(1,2), 50) runs.test(factor(x)) However it doesn't work for series that can take any N values (N>2): x <- rep(c(1,2,5,4),50) runs.test(factor(x)) Error in runs.test(factor(x)) : x does not contain dichotomous data Are there any R function that does multinormial runs test? Thank you very much, sincerely, Julia -- View this message in context: http://www.nabble.com/multinormial-runs-tests--tp25574075p25574075.html Sent from the R help mailing list archive at Nabble.com.
2007 Jul 02
2
how to use mle with a defined function
Hi all, I am trying to use mle() to find a self-defined function. Here is my function: test <- function(a=0.1, b=0.1, c=0.001, e=0.2){ # omega is the known covariance matrix, Y is the response vector, X is the explanatory matrix odet = unlist(determinant(omega))[1] # do cholesky decomposition C = chol(omega) # transform data U = t(C)%*%Y WW=t(C)%*%X beta = lm(U~W)$coef Z=Y-X%*%beta