Fitting an empirical logistic spline curve for detection proportion with capped probabilities
cappedLogit_ztbinom.Rd
Fitting an empirical logistic spline curve for detection proportion with capped probabilities
Arguments
- dp
A vector of detection proportion in all precursors.
- X
The basis matrix for a natural cubic spline.
- wt
A vector of the numbers of trials (samples size) for zero-truncated binomial distribution.
- alpha0
A start value for alpha.
- beta0
Start values for the beta coefficients.
- maxit
Maximum number of iterations.
- trace
Logical. Whether to print out alpha estimates at each iteration.
- eps
Convergence tolerance.