Monday, June 25, 2012

PyMC

Cok seviyeli hiyerarsik model kullanimi icin BUGS, JAGS, PyMC'den bahsettik. PyMC kurulumu icin

sudo apt-get install gfortran

Kaynak kodlar

http://pypi.python.org/pypi/pymc#downloads

python setup.py  build
sudo python setup.py install

Ornek kod

https://github.com/burakbayramli/gelman-arm-bda-python/blob/master/arm/

dizini altinda

radon_varying_intercept.py
16.3-PYMC.py
srrs.csv

dosyalari lazim. Ana kod 16.3-PYMC.py.


No comments: