Giter Club home page Giter Club logo

Comments (8)

Kenhasteandersen avatar Kenhasteandersen commented on August 23, 2024

from mizer.

juliablanchard avatar juliablanchard commented on August 23, 2024

from mizer.

gustavdelius avatar gustavdelius commented on August 23, 2024

Hi @juliablanchard , I agree with you that it would be simplest to dictate that the user should use grams and years as the units for weight and time, rather than letting the user choose the units. @Kenhasteandersen 's reply confirmed my belief that we do not want to dictate to users whether they want to view abundances and rates as per area, per volume or per study area. Instead we will just discuss this issue clearly in the documentation, as Ken has done in his reply above.

from mizer.

juliablanchard avatar juliablanchard commented on August 23, 2024

from mizer.

astaaudzi avatar astaaudzi commented on August 23, 2024

Thanks for this discussion. I have also been wondering and getting confused about the units...

I agree with the others that it is good to have the option to chose. But it would be good to explain this clearly in the vignette, because I myself got quite confused at the start. At the moment I have settled on using m2, and to my understand this would affect:
a) kappa, which now becomes an intercept of the background resource slope measured in g/m2
b) gamma, or search rate/area, which becomes m2/g*year (where g is unit of predator body mass scaled by the search rate exponent)
c) The realised biomass and abundance will then be given as grams or individuals per m2. By the way, one thing I have been confused about for a while is that model@n or model@n_pp does not actually give numbers in each size group, but numbers per gram in each size group. So to get the actual numbers one should multiply them by params@dw or params@dw_full. I am sure this is explained in the vignette or papers, but it might be good to make it clearer in the mizer vignette "unit" section :)

from mizer.

Kenhasteandersen avatar Kenhasteandersen commented on August 23, 2024

from mizer.

gustavdelius avatar gustavdelius commented on August 23, 2024

Does anyone now what units were chosen when the default values for various rates were chosen in set_community_model() and set_trait_model()?

set_community_model() chose kappa = 1000 with lambda = 2 + 2/15 and r_pp = 10.

set_trait_model() chose kappa = 0.005 with lambda = 2 + 7/30 and r_pp = 4.

Do these make sense if I think of abundance per m^2 or km^2 or what?

from mizer.

gustavdelius avatar gustavdelius commented on August 23, 2024

Just saw that the value for kappa = 0.005 in the trait model probably comes from Hartvig et. al 2011, although they use a different value for lambda. That paper works with abundance per cubic meter.

from mizer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.