Git Product home page Git Product logo

Comments (3)

Aariq avatar Aariq commented on June 22, 2024

Ok, here's the deal:

In natalie's original code, she calculates mean worker mass as the mean of the predicted masses of the hypothetical workers (~0.148)

  wkr_mass_mean <- mean(wkr_mass_f(wkr_size_1))

She uses the same mean mass for calculating pollen needed to produce 1 gram of worker

poln_per_wkrmass <- poln_per_cell / wkr_mass_mean

AND larval recruitment

wkr_larv <- daily_poln_return / (poln_per_wkrmass * wkr_mass_mean)

Meaning that the mean worker mass just canceled out in this equation. Then, after a phone conversation, Natalie told me that the mean worker mass should be the observed mean mass, not the mean mass of hypothetical workers. The observed mean is ~0.125.

I think that observed mean is only for the pollen per gram of worker estimation not for the larval recruitment calculation. So, new equation:

  poln_per_wkrmass <- poln_per_cell / 0.1254111

Now, the other confusion that I have is why isn't the worker mass in the denominator of the larval recruitment equation a vector of worker masses of different sizes?

The equation in the manuscript is written as:

fx = p / pwg * yx

where p is daily pollen return, pwg is the amount of pollen needed to make 1 gram of worker mass, and yx is the mass of the worker of size x.

In the code, p (daily_poln_return) is a vector of pollen returned by old workers of size i. pwg (poln_per_wkrmass) is a constant, as is yx (wkr_mass_mean). Shouldn't daily pollen return be a constant and yx be a vector?

from bumbl.

Aariq avatar Aariq commented on June 22, 2024

In natalie's updated manuscript the new larval recruitment equation is:

Where is the pollen cost per worker (equivalent to pwg above?).

from bumbl.

Aariq avatar Aariq commented on June 22, 2024

I think at this point, I probably am not going to be including Natalie's IPM in this package.

from bumbl.

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.