R/bicfun.aft.R

Defines functions bicfun.aft

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

  score = -2*likfun(c(aa$sigma,aa$a),quantile,yy,delta,B,aa$K) + log(length(yy))*(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.