Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: =?gb2312?B?UmU6ILvYuLI6IFJFOiBleHBvcnRpbmcgbWF0cml4IHZhbHVlIGZyb20gd2k=?==?gb2312?B?bmJ1Z3MgdG8gc3RhdGE=?=


From   Martin Weiss <mw.stlist@googlemail.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: =?gb2312?B?UmU6ILvYuLI6IFJFOiBleHBvcnRpbmcgbWF0cml4IHZhbHVlIGZyb20gd2k=?==?gb2312?B?bmJ1Z3MgdG8gc3RhdGE=?=
Date   Tue, 16 Sep 2008 19:43:39 +0200

If you do decide to take the route through R, I recommend -ssc d rsource- by Roger Newson. Also note that the foreign package in R can read and write Stata format which may help solve the transfer problems. I am not an avid R user, so I cannot comment further...


Best,
Martin Weiss
_______________________
----- Original Message ----- From: "林軒馳" <b89703103@ntu.edu.tw>
To: "'Carlo Lazzaro'" <carlo.lazzaro@tin.it>; <statalist@hsphsun2.harvard.edu>
Sent: Tuesday, September 16, 2008 7:28 PM
Subject: st: 回覆: RE: exporting matrix value from winbugs to stata



Dear Carlo and Martin,
Thanks for the advice and I will try to do that. I do not use R to call
winbugs before and I will try if it really solve my problem. Actually,
calling winbugs directly from stats has a lot of limitations. For example, I
cannot compute the average of one parameter in winbugs. The only way to do
that is by using wbstats. However, when we are interested in matrix of
parameters, it become extremely difficult to do that. I hope both of your
suggestions would work.
Thanks.
Sincrerly,
Luke

-----原始郵件-----
寄件者: Carlo Lazzaro [mailto:carlo.lazzaro@tin.it]
寄件日期: 2008年9月17日 1:07
收件者: statalist@hsphsun2.harvard.edu
副本: b89703103@ntu.edu.tw
主旨: R: RE: exporting matrix value from winbugs to stata

Dear Luke, I was unsuccessful following Martin's web indication; instead, I
have got an external link for (successfully) downloading the paper at

http://econpapers.repec.org/paper/bocdsug06/09.htm


Kind Regards,

Carlo
-----Messaggio originale-----
Da: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Per conto di Martin Weiss
Inviato: martedì 16 settembre 2008 10.53
A: statalist@hsphsun2.harvard.edu
Oggetto: st: RE: exporting matrix value from winbugs to stata

Have you considered
http://www.stata.com/meeting/4german/shikano_StataMeeting2006.pdf ?



HTH
Martin



-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of
b89703103@ntu.edu.tw
Sent: Tuesday, September 16, 2008 10:48 AM
To: statalist@hsphsun2.harvard.edu
Subject: st: exporting matrix value from winbugs to stata

Dear all,

I am running MCMC using winbugs called from stata. How do I export
matrix value from winbugs back to stata? I know how to export
parameter from winbugs to stata, but when it comes to export a matrix
(or vectors and arrays), it comfused me.

Thanks.

Best wishes,

Luke

*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/


*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/



*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index