This is the class used to calculate a likelihood score based on survey data compiled from the stocks caught by government surveys, including some form of a survey index calculation.
More...
|
| SurveyDistribution (CommentStream &infile, const AreaClass *const Area, const TimeClass *const TimeInfo, Keeper *const keeper, double weight, const char *name) |
| This is the SurveyDistribution constructor. More...
|
|
virtual | ~SurveyDistribution () |
| This is the default SurveyDistribution destructor. More...
|
|
virtual void | addLikelihood (const TimeClass *const TimeInfo) |
| This function will calculate the likelihood score for the SurveyDistribution component. More...
|
|
virtual void | Reset (const Keeper *const keeper) |
| This function will reset the SurveyDistribution likelihood information. More...
|
|
virtual void | Print (ofstream &outfile) const |
| This function will print the summary SurveyDistribution likelihood information. More...
|
|
void | setFleetsAndStocks (FleetPtrVector &Fleets, StockPtrVector &Stocks) |
| This will select the fleets and stocks required to calculate the SurveyDistribution likelihood score. More...
|
|
virtual void | printLikelihood (ofstream &outfile, const TimeClass *const TimeInfo) |
| This function will print information from each SurveyDistribution calculation. More...
|
|
virtual void | printSummary (ofstream &outfile) |
| This function will print summary information from each SurveyDistribution likelihood calculation. More...
|
|
| Likelihood (LikelihoodType T, double w, const char *givenname) |
| This is the default Likelihood constructor. More...
|
|
virtual | ~Likelihood () |
| This is the default Likelihood destructor. More...
|
|
virtual void | addLikelihoodKeeper (const TimeClass *const TimeInfo, Keeper *const keeper) |
| This function will calculate the likelihood score for the current model after adjusting the parameters. More...
|
|
virtual void | Reset (const TimeClass *const TimeInfo) |
| This function will reset the likelihood information. More...
|
|
double | getLikelihood () const |
| This will return the weighted likelihood score for the likelihood component. More...
|
|
LikelihoodType | getType () const |
| This will return the type of likelihood class. More...
|
|
double | getUnweightedLikelihood () const |
| This will return the unweighted likelihood score for the likelihood component. More...
|
|
double | getWeight () const |
| This will return the weight applied to the likelihood component. More...
|
|
| HasName () |
| This is the default HasName constructor. More...
|
|
virtual | ~HasName () |
| This is the default HasName destructor. More...
|
|
| HasName (const char *givenname) |
| This is the HasName constructor for a specified name. More...
|
|
const char * | getName () const |
| This will return a null terminated text string containing the name of the object. More...
|
|
This is the class used to calculate a likelihood score based on survey data compiled from the stocks caught by government surveys, including some form of a survey index calculation.
This class calculates a likelihood score based on the difference between survey data sampled from stocks caught according to the model and that caught by government surveys. The model will calculate the survey data for the stock that is caught according to the model parameters, and aggregate this into the specified age and length groups. This survey data is then compared to the corresponding data calculated from the observed data.
- Note
- This likelihood component assumes that catch-at-age data is available, and is used in the survey index calculations
-
This likelihood component is based on the current population, where as most likelihood components are based on the population at the beginning of the timestep. It would be better if this likelihood component was changed to be based on the population at the beginning of the timestep.