Computes the likelihood contribution from an aerial index of abundance survey using a multivariate normal distribution.
Usage
get_aerial_survey_like(
aerial_switch = 1,
aerial_survey,
aerial_cov,
first_yr,
par_log_aerial_tau,
par_log_aerial_sel,
number_ysa,
weight_fya
)Arguments
- aerial_switch
Integer selectivity type: 0-4.
- aerial_survey
A
data.frameof aerial survey observations with columnsYearandIndex.- aerial_cov
A
matrixof covariance for aerial survey observations.- first_yr
Integer first model year.
- par_log_aerial_tau
Numeric log-scale observation error SD.
- par_log_aerial_sel
Numeric log-scale selectivity parameters for ages 2 and 4 (used when
aerial_switch=1).- number_ysa
A 3D
arrayof numbers-at-age with dimensions year by season by age.- weight_fya
A 3D
arrayof weights-at-age with dimensions fishery by year by age.
