Nothing
nll<-function(parmhat,z){
a<-parmhat[1]
k<-parmhat[2]
n<-length(z)
m<-max(z)
if(k>1)L<- -Inf
if(k<=1&a<max(0,k*m))L<- -Inf
if(k<=1&a>=max(0,k*m)){
if(k<.Machine$double.eps)L<- -n*log(a)-1/a*sum(z)
if(k>=.Machine$double.eps)L<- -n*log(a)+(1/k-1)*sum(log(1-k*z/a))
}
return(-L)
}
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.