Comments (5)
Marked test with
skip("Cannot do ML estimation on BD trees, Issue #4, #4")
from mbd.
Please give a look inside mbd_loglik on the error triggered by condition2.
I suppose you get the error because you are using q=0 which is not allowed by the "safety_threshold". In general q==0 could create problems. However if you want to test under BD conditions, any value of q should work, as long as nu==0 (if the environmental change never triggers, the probability of multiple speciation is not influent).
from mbd.
Thanks! I'm wondering if some elegant rewrite could allow for q == 0
. Combining the code with the mathematical derivation may help me succeed
from mbd.
i think you can add an if statement like if (nu == 0) then (whatever with q)
from mbd.
Note to self pmb_loglik
could handle every combination of q == 0
and nu == 0
. This was disabled by an if-statement, but dropping that restriction just worked. For mbd_loglik
this restriction cannot be dropped, due to log(pc)
being NaN
, where pc
is created by calc_cond_prob
.
from mbd.
Related Issues (20)
- You can do it! HOT 1
- Feature request: CITATION file
- Suggest package name: mbd HOT 3
- Change name to mbd_pkg_name to pkg_name
- Add cond = 2 (or 3) for the conditioning on at least one multiple birth event HOT 1
- What is the source of 'hyperA' and 'rsexpm'? HOT 3
- Improve code coverage
- Improve a_operator
- Improve the starting value for the ml
- Import improvements in mbd_main from sls_main
- number of items to replace is not a multiple of replacement length HOT 1
- Check warnings for log(C) and log(D) that give weird values
- Set up correctly the start of the chain
- Likelihood PMB and MBD should match for zero extinction HOT 2
- The integrator produces negative values HOT 1
- calculate_conditional_prob might yield prob > 1 HOT 1
- Conditional prob needs to be fast and accurate
- Bug: Assertion 'testit::assert(sum(time_intervals) == max(abs(brts)))' failed [WIP] HOT 1
- Incorporate FORTRAN code in conditioning probability.
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 mbd.