Comments (6)
Yes this sounds like a good approach. Bear in mind that these are Gamma distributions, and therefore the mean is shape*scale
and the variance is shape*scale^2
. Unless you have a good reason to suspect that is not the case, I would keep the sampling time distribution the same as the generation time distribution, which is what happens by default if you do not specify the parameters of the sampling time distribution.
from transphylo.
The mean of the gamma distribution presenting in your paper (TB experiment) comes to 0.39 (1.3 * 0.3). Does this equate to saying that the average generation time of TB is 0.39 years?
from transphylo.
The paper states that we "used a Gamma distribution with shape parameter 1.3 and rate parameter 0.3"
In other words this has shape 1.3 and scale 1/0.3=3.333
The mean is shape * scale=1.3*3.333=4.33 years
The 95% range is from 0.23 to 14.31 years
from transphylo.
If I am working with a pathogen with a smaller generation time (say 2 months), should I select the parameters of the gamma distribution such that the mean is ~0.16 (2/12)?
from transphylo.
Yes that's right, and if you also consider the variance you want around this mean then you can deduce both scale and shape parameters as explained previously in this thread.
from transphylo.
Understood. I appreciate your help!
from transphylo.
Related Issues (20)
- bactdating followed by transphylo HOT 1
- Please create conda package HOT 8
- Trouble importing ML tree into TransPhylo HOT 1
- Consensus and medoid trees on mult_ttree HOT 2
- Run time differences depending on tree time scale HOT 7
- Last date format HOT 7
- Samples dated earlier than actual sampling date in t-tree HOT 3
- Question about inferTTree parameters HOT 11
- summary.resTransPhylo HOT 2
- Generation time first to Sampling time? HOT 1
- Adding priors and/or postprocessing HOT 1
- Manipulating/edit plots HOT 2
- error? HOT 6
- Temporal singnal detection HOT 1
- Errors when using infer_multittree_share_param HOT 4
- Save result as phylo object HOT 1
- Multi-tree capability HOT 2
- Question about pi's function HOT 2
- Printing Edges of the Transmission Tree HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from transphylo.