KevinSee / ManuscriptSTADEM

Contains the manuscript and supporting R code describing the STADEM package and how it has been used at Lower Granite Dam to generate salmon escapement estimates.
Other
0 stars 0 forks source link

Appendix B - total abundance by population question #8

Closed KevinSee closed 4 years ago

KevinSee commented 4 years ago

Couple comments:

  1. we should use a different greek letter for whether a population has hatchery or HNC fish, rather than eta, which is used in Appendix A to describe the re-ascension rate.

  2. The first line of the equation block with the Dirichlet distribution is a bit confusing, because it has a Bernoulli distribution that produces a vector. I think we need to figure out a better way to represent that mathematically.

ryankinzer commented 4 years ago
  1. changed the greek letter "eta" to "zeta", which doesn't look like its used anywhere else.
  2. The simulation function does use a binomial distribution to return a vector of 0's and 1's, so I updated the text and the equations in the appendix.
KevinSee commented 4 years ago

I made one more tweak to the language. I realize that the simulation function uses rbinom, but the way it's set up, it's really drawing n different Bernoulli random variables. I tried to make that clearer in the text and the equation.