Questions tagged [pystan]

The Python Interface to Stan

PyStan provides an interface to Stan, a package for Bayesian inference using the No-U-Turn sampler, a variant of Hamiltonian Monte Carlo.

Resources:

86 questions
0
votes
0 answers

Fbprophet installs infinitely

I'm having trouble installing fbprophet on my Windows 10, I'm not sure whether the problem lies within pystan or fbprophet actually. Once the installation starts it just keeps on going pic Has anyone ran into similar problem and managed to solve it?
wizkiz
  • 3
  • 5
0
votes
1 answer

How to include data measurement uncertainty in stan/pystan

I am completely new to stan. I simply wanted to fit a data which has uncertainty in measurements, but I could not include the uncertainty in the fitting. For example, I have x[N], y[N] and yerror[N] arrays with dimension N. Suppose the data is 2nd…
deltasata
  • 377
  • 1
  • 4
  • 21
0
votes
1 answer

Python: Choosing C++ compiler on Windows -- MS Visual Studio to Mingw-w64. (PyStan CompileError)

I'm getting a CompileError when running a simple PyStan model in Python: WARNING:pystan:MSVC compiler is not supported Traceback (most recent call last): File "C:\Python36\lib\distutils_msvccompiler.py", line 423, in compile …
chmith
  • 21
  • 1
  • 6
0
votes
1 answer

python conda pystan, expects older version of mpfr library?

Sorry if this is not the right place to ask, but it seems to be a general installation question rather than a pystan question... I am trying to run some simple examples of pystan, a Python Bayesian inference package, and it consistently crashes. So…
Peter B
  • 453
  • 4
  • 15
0
votes
1 answer

Multi Threading in C++ Windows

I am using the pystan module in Windows where multithreading is not supported on Windows in the module. The pystan module is partially written in C++ and since I am trying to decrease the run time of the module, I am wondering if there is a way to…
nik jacks
  • 75
  • 1
  • 5
0
votes
0 answers

Estimating the posterior of a parameter vector which is only observed after linear transformation

I have a known matrix M (square of dimension D) and a parameter vector v (of length D) which is unknown to me and whose posterior distribution I am trying to estimate. My prior on v is that each of its components is standard normal. For example,…
8one6
  • 13,078
  • 12
  • 62
  • 84
0
votes
2 answers

How can I fix this error that pops up when installing pystan via pip install?

This is what I typed into my Windows Command Prompt: C:\Users\jeane\Desktop\ethan\stan> pip install pystan This was my output: Collecting pystan Using cached…
Ethan Jean
  • 9
  • 1
  • 2
0
votes
1 answer

Multivariate Emission Hidden Markov Model in STAN

I'm trying to implement a HMM where the observations are the emissions from a first order HMM convolved with a wavelet. That is: With: and The code I have so far is, following along with the one dimensional case outlined here: %%writefile…
Ryan Warnick
  • 1,079
  • 2
  • 10
  • 15
-1
votes
1 answer

I'd like to know why I'm getting this error when using pip install pystan==2.19.1.1 command line

I'm using this command line to install facebook prophet that I'll gonna use for my capstone project in stock price prediction. The Error
Jiyo
  • 1
  • 1
-1
votes
1 answer

Failure to Install Pystan in Jupyter Notebook

I have the following line in jupyter notebook: !pip install pystan However, I am getting the following error followed by a whole large block of code: ERROR: Command errored out with exit status 1: With the following block of output at the end: …
justinxhan
  • 43
  • 4
-2
votes
1 answer

Error pip installing fbprophet, pystan installed fine, I tried different versions. My python is 3.6.7, tried all the answers suggested before

enter image description here I have attached a snapshot of the error msg. I am using python 3.6.7. I tried 3.7 and 3.8. pystan install successfully. I tried different versions of pystan as others suggested. I have been trying for a few days, googled…
Moody
  • 35
  • 1
  • 8
1 2 3 4 5
6