Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stochastic volatility example does not run #425

Closed
ecod3r opened this issue Dec 19, 2013 · 9 comments
Closed

Stochastic volatility example does not run #425

ecod3r opened this issue Dec 19, 2013 · 9 comments
Labels

Comments

@ecod3r
Copy link

ecod3r commented Dec 19, 2013

Using the latest Anaconda (and inclyding the required DYLD_FALLBACK_LIBRARY_PATH) on OS X 10.9.1 yields

from scan_perform.scan_perform import *
Traceback (most recent call last):
  File "stochastic_volatility.py", line 113, in <module>
    step = NUTS(model.vars, hessian(start, 6))
  File "stochastic_volatility.py", line 84, in hessian
    h = H(Point(point))
  File "/Users/eu/anaconda/lib/python2.7/site-packages/pymc/point.py", line 9, in __call__
    return self.f(**state)
  File "/Users/eu/anaconda/lib/python2.7/site-packages/theano/compile/function_module.py", line 565, in __call__
    self.inv_finder[c]))
TypeError: Missing required input: log_sigma

For the sake of clarity, I am running

python stochastic_volatility.py

rather than the IPython notebook

@twiecki
Copy link
Member

twiecki commented Dec 20, 2013

Can you try running the ipynb? That should be more updated and we could just convert it to python.

@raddy
Copy link

raddy commented Dec 23, 2013

I'm seeing the same error with either the .py or nb versions.

@fonnesbeck
Copy link
Member

I can't replicate this. Which version of Theano do you have installed?

@ecod3r
Copy link
Author

ecod3r commented Dec 23, 2013

Same as raddy, both the .py and the IPython notebook give the same error. I have theano v0.6.0

@fonnesbeck
Copy link
Member

Are you also on Anaconda @ecoskian ?

@ecod3r
Copy link
Author

ecod3r commented Dec 24, 2013

Yes @fonnesbeck, the latest Anaconda with Accelerate

@fonnesbeck
Copy link
Member

I'm going to have to talk with Anaconda folks about this. Not sure why there are always problems with PyMC on Anaconda, but I cannot get either PyMC 2.3 or 3 run on my system (the former does not even build).

@minabks
Copy link

minabks commented Jan 29, 2015

hello , i am looking for a python simulation of the gaussian / heston stochastic model in volatility discretization

@twiecki twiecki closed this as completed Feb 12, 2015
@twiecki
Copy link
Member

twiecki commented Feb 12, 2015

@minabks Can you open a new issue for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants