--
You received this message because you are subscribed to the Google Groups "Stan users mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stan-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To discriminate between (a) and (b) you can justrun a model with alpha unconstrained and considerp(alpha > 0) = n(alpha > 0) / n.The alpha=0 case is tricker because it has zeromeasure compared to the others and you needto do proper model comparison. Cross validation,as approximated by the loo package, would beone such approach.
On Aug 13, 2015, at 4:21 AM, Daniel Lee <bea...@alum.mit.edu> wrote:
Write 3 Stan programs? That's what I would do and use the loo package.
Hi all,
I have a set of time series values (positive) of y:
vector<lower=0>[N] y
I want to estimate the relative likelihood of the following 3 scenarios:
a. diverging AR(1): y_n ~ normal (alpha + y_(n-1), sigma), alpha > 0
b. converging AR(1): y_n ~ normal (alpha + y_(n-1), sigma), alpha < 0
c. stationary: y_n ~ normal (mu, sigma)
What would be the best way to do this in STAN?
Many thanks,
Andy--
You received this message because you are subscribed to the Google Groups "Stan users mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stan-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.