R/aicfun.aft.R

Defines functions aicfun.aft

aicfun.aft <-
function(penalty,yy,delta,B,quantile,DD,nb,constmat,likfun)
{
  aa <- asyregpen.aft(yy, delta, B, quantile, abs(penalty), DD, nb, constmat,likfun)

#print(dim(B))
#print(length(aa$a1))

  score = -2*likfun(c(aa$sigma,aa$a),quantile,yy,delta,B,aa$K) + 2*(1+sum(aa$diag.hat.ma))

  score
}

Try the dirttee package in your browser

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

dirttee documentation built on Sept. 14, 2022, 5:06 p.m.