Nothing
DearBeggToMinimizeProfile <- function(vec, theta, y, u, lam){
n <- length(y)
k <- 1 + floor(n / 2)
w <- vec[1:k]
teststat <- abs(y) / u
res <- Inf
crit1 <- min(diff(w)) >= 0
crit2 <- max(w) > 0
if (crit1 & crit2){
sigma <- vec[k + 1]
hij <- Hij(theta = theta, sigma = sigma, y = y, u = u, teststat = teststat)$Hij
res <- -DearBeggLoglik(w = w, theta = theta, sigma = sigma, y = y, u = u, hij = hij, lam = lam)$LL
}
return(res)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.