python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
JAGS bayesian MCMC but came into this: Error parsing model file: syntax error on line 5 near "="
when I run my jags model, I got this error message :
module glm loaded
Error in jags.model(model.file, data = data, inits = init.values, n.chains = n.chains, :
Error parsing model file:
syntax error ...
Zhuowen dai
Votes: 0
Answers: 1
Implementing a function to calculate variance of period-to-period change of markov chain
I am working on a research project and a while back I asked this question on Mathematics Stack Exchange, where I was looking for a way to calculate the variance of the period-to-period change in incom...

redbull_nowings
Votes: 0
Answers: 1
How to expand transition table to include all possible combinations, even those unused combinations?
I'm trying out the table() function in R for running transition matrices, and so far I'm finding it easy to use and very quick compared to other options I've been playing with such as for-loops and la...

Curious Jorge - user9788072
Votes: 0
Answers: 1
R: Creating Markov Chains from Data Frames
I am working with the R programming language.
I thought of the following "game":
There are two coins : Coin 1 and Coin 2
The player picks a random coin (i.e. 0.5 probability of picking eith...

stats_noob
Votes: 0
Answers: 1