View source: R/discretefish_subroutine.r
discretefish_subroutine | R Documentation |
Subroutine to run chosen discrete choice model
discretefish_subroutine(
catch,
choice,
distance,
otherdat,
initparams,
optimOpt,
func,
methodname
)
catch |
Data corresponding to actual zonal choice |
choice |
Data corresponding to actual catch |
distance |
Data corresponding to distance |
otherdat |
Other data (as a list) |
initparams |
Initial parameter estimates for revenue/location-specific covariates then cost/distance |
optimOpt |
Optimization options [max iterations, (reltol) tolerance of x, report frequency, whether to report] |
func |
Name of likelihood function |
methodname |
Optimization method (see optim options) |
OutLogit: [outmat1 se1 tEPM2] (coefs, ses, tstats)
optoutput: optimization information
seoumat2: ses
MCM: Model Comparison metrics
H1: inverse hessian
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.