Skip to contents

Subfunction of model_prediction for summing predictions with closures

Usage

predict_probability(
  probLogit,
  probDataModelIn,
  probDataModelOut,
  zoneClose,
  tacAllowed,
  zoneClosedFish
)

Arguments

probLogit

Parameter estimates

probDataModelIn

Parameter estimates for closed zones

probDataModelOut

Parameter estiumates for open zones

zoneClose

Sum of probabilitys with 0 fishing allowed

tacAllowed

Decimal (percent) of TAC allowed

zoneClosedFish

Index of zones that are closed to fishing

Value

List probPredict: Prediction by location of fishing sumPredctIn: Total probablilty of fishing inside of closers sumPredictOut: Total probablitily of fishing outside of closures