I looked up Stan manual for censored data. However, only one example is given for univariate normal data. Is there any function for multivariate case?
For example, I have Y1, Y2, and Y3 distributed from multivariate normal distribution with a parameterized covariance matrix, given y1=1 if Y1>0, y2=0 if Y2<=0, and y3=1 if Y3>0.
--
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/groups/opt_out.
Thanks for your positive attention to my question. I am encountering the estimation issue of IRT models similar to multivariate probit model, which can be expressed like
y1* = link(theta-mu1) + e1 for item one, where y1* is latent continuous variable, link() is a linking function (linear or nonlinear), theta is a random variable following N(0,1), mu1 is an intercept, and e1 is error term following N(0,sig). In the same manner, y2* = link(theta-mu2) + e2 is for second item, and so on.
Now, for example, the observable responses are y1 = 1, y2=0, y3=0,…, yn=1, which are determined if y1*>=0, y2*<0, y3*<0,…, yn*>0. Additionally, the model assumes the error terms are correlated with parameterized covariance matrix due to the experimental design. Therefore, I have to estimate theta, mu, and a covariance matrix of error term. However, to calculate the multivariate cumulative normal probability is a horrible drag and impractical. So, as far as I know, the best answer may regard the problem in the perspective of censoring mechanism. That is, the y* samples can be drawn from truncated multivariate normal distribution.
By the way, I have tried the JAGS to run this model by using one of its function called dinterval. So, the y* may be sampled from truncated multivariate normal dist (I’m not sure if it indeed works or not). However, I did not get satisfactory parameter recovery in a simulation study.
Hope above description is clear enough for you.
Thanks for your positive attention to my question. I am encountering the estimation issue of IRT models similar to multivariate probit model, which can be expressed like
y1* = link(theta-mu1) + e1 for item one, where y1* is latent continuous variable, link() is a linking function (linear or nonlinear), theta is a random variable following N(0,1), mu1 is an intercept, and e1 is error term following N(0,sig). Like same manner, y2* = link(theta-mu2) + e2 is for second item, and so on.
Now, for example, the observable responses are y1 = 1, y2=0, y3=0,…, yn=1, which are determined if y1*>=0, y2*<0, y3*<0,…, yn*>0. Additionally, the model assumes the error terms are correlated with parameterized covariance matrix due to the experimental design. Therefore, I have to estimate theta, mu, and a covariance matrix of error term. However, to calculate the multivariate cumulative normal probability is a horrible drag and impractical. So, as far as I know, the best answer may to regard the problem in the perspective of censoring mechanism. That is, the y* samples can be drawn from truncated multivariate normal distribution.
By the way, I have tried the JAGS to run this model by using one of its function called dinterval. So, the y* may be sampled from truncated multivariate normal dist (I’m not sure if it indeed works or not). However, I did not get satisfactory parameter recovery in a simulation study.
Hope above description is clear enough for you.
Daniel Lee於 2014年1月5日星期日UTC+8上午2時16分05秒寫道:
Hi Keith,