R/llhood.MeanVarNormal.R

Defines functions llhood.MeanVarNormal

llhood.MeanVarNormal <-
function(y, data, h){
  llihood <- c()
  for(j in 1:(length(y) - 1)){
    llihood[j] <- loglik.MeanVarNormal(y[j], y[j + 1], data, h)$ll  
  }
  loglikelihood <- sum(llihood)
}

Try the breakpoint package in your browser

Any scripts or data that you put into this service are public.

breakpoint documentation built on May 1, 2019, 8:14 p.m.