search for: d2sigma

Displaying 1 result from an estimated 1 matches for "d2sigma".

2010 Mar 27
1
R runs in a usual way, but simulations are not performed
...) %*% t(z)), nrow=nrow(z), ncol=nrow(z)) } dsigma.dalphai_MIX <- function(sigma,i) { 2*crossprod(diag(as.vector(ei(i) %*% t(z)), nrow=nrow(z), ncol=nrow(z)),sigma^(1/2)) } dsigma.dalphai_EXP <- function(sigma,i) { crossprod(diag(as.vector(ei(i) %*% t(z)), nrow=nrow(z), ncol=nrow(z)),sigma) } d2sigma.dalphaij_MIX <- function(i,j) { eiz <- diag(as.vector(ei(i) %*% t(z)), nrow=nrow(z), ncol=nrow(z)) ejz <- diag(as.vector(ei(j) %*% t(z)), nrow=nrow(z), ncol=nrow(z)) d2sigma.dalphaij <- 2*crossprod(eiz,ejz) return(d2sigma.dalphaij) } d2sigma.dalphaij_EXP <- function(sigma,i,j) { eiz...