R/Diff.2.R

Defines functions Diff.2

Documented in Diff.2

Diff.2 <-
function(k,i,model,p,ln=FALSE)
{
	param <- model$par.hat
	param[i] <- k
	if(!ln) return(distr(p,model$dist,param,'q'))
	else return(log(distr(p,model$dist,param,'q')))
}

Try the FAmle package in your browser

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

FAmle documentation built on March 18, 2022, 5:29 p.m.