Description Usage Arguments Details Value Examples
View source: R/zero_est_core.R
Fits the Hurdle model assuming linear abk parametrization using stats::optim.
1 2 3 4 5 6 7 8 9 10 11  | 
V | 
 A matrix of 0/1s, equal to Y != 0.  | 
Y | 
 A data matrix of the same size as   | 
left | 
 An integer between 1 and   | 
right | 
 A vector of integers between 1 and   | 
maxit | 
 An integer, the maximum number of integers, argument to   | 
tol | 
 A positive number, the tolerance passed as the   | 
runs | 
 A positive integer, number of reruns; if larger than   | 
value_only | 
 If   | 
report | 
 An integer indicating verbosity, argument to   | 
Fits the Hurdle model assuming linear abk parametrization, where Y[,left] conditional on Y[,right] is a 1-d Hurdle model with respect to the sum of the Lebesgue measure and a point mass at 0 with density
a*v+b*y-y^2*k/2-log(1+sqrt(2pi/k)*exp(a+b^2/(2k))),
with a and b both linear functions in V[,right] and Y[,right].
If value_only == TRUE, returns the minimized negative log likelihood only. Otherwise, returns
nll | 
 A number, the minimized negative log likelihood.  | 
par | 
 A vector of length   | 
n | 
 An integer, the sample size.  | 
effective_df | 
 
  | 
1 2 3 4 5  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.