• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pymc-devs / pymc3 / 7711 / 7
87%
master: 87%

Build:
DEFAULT BRANCH: master
Ran 18 May 2018 06:02AM UTC
Files 139
Run time 6s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 May 2018 05:39AM UTC coverage: 26.34%. Remained the same
PYTHON_VERSION=2.7 FLOATX='float64' TESTCMD="--durations=10 --cov-append pymc3/tests/test_examples.py pymc3/tests/test_posteriors.py"

push

travis-ci

springcoil
Correction to Nomenclature in Volatility Model (#2978)

This small correction is in response to issue Stochastic Volatility Example #2566.  It concerns the
two different examples of the Volatility Model used in the PyMC3 notebooks to introduce users to the
wonder that is Bayesian modeling.  In getting_started.ipynb, under:
--Case Study 1: Stochastic volatility
---The Model
the model specification uses `y_i` to represent the daily precentage returns.  However, later on in
the `with pm.Model() as sp500_model:` block the dummy variable `r` is used to represent the daily
returns as well as the tensor variable name.

The second correction also concerns the useage of `s_i` to represent the volatility process in daily
returns.  In both Volatility Process walkthroughs (there is a stand-alone notebook dedicated to it)
the model specs treat `s_i` as the standard deviation of the StudentT distribution used to model the
log-returns.  In the PyMC3 API docs on the StudentT, the distribution is defined with `lambda`
representing the precision.  This is why the `volatility_process` variable is mapped from
`pm.math.exp(-2 * s)` in the `pm.Model()` block.  However, when the returns were defined in the
model block the **kwarg was `lambda=1/volatility_process`.  This has been fixed.

Thanks to @twiecki and the OP for highlighting this error.

4913 of 18652 relevant lines covered (26.34%)

0.26 hits per line

Source Files on job 7711.7 (PYTHON_VERSION=2.7 FLOATX='float64' TESTCMD="--durations=10 --cov-append pymc3/tests/test_examples.py pymc3/tests/test_posteriors.py")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 7537
  • Travis Job 7711.7
  • cbb3e5bc on github
  • Prev Job for PYTHON_VERSION=2.7 FLOATX='float64' TESTCMD="--durations=10 --cov-append pymc3/tests/test_examples.py pymc3/tests/test_posteriors.py" on master (#7699.7)
  • Next Job for PYTHON_VERSION=2.7 FLOATX='float64' TESTCMD="--durations=10 --cov-append pymc3/tests/test_examples.py pymc3/tests/test_posteriors.py" on master (#7715.7)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc