Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: To generate a correlated Poisson sample


From   "FEIVESON, ALAN H. (AL) (JSC-SK) (NASA)" <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: RE: To generate a correlated Poisson sample
Date   Tue, 15 Feb 2005 15:30:57 -0600

Tony  - One way is the copula technique. Basically, you can do this by first
generating dependent normal variates, then transforming them to dependent
uniforms (via the marginal normal CDFs) and then to Poissons. There have
been a number of queries about dependent normals and I suspect there is a
FAQ on the topic.

Al Feiveson

-----Original Message-----
From: [email protected]
[mailto:[email protected]]On Behalf Of Tony YANG
Sent: Tuesday, February 15, 2005 3:12 PM
To: [email protected]
Subject: st: To generate a correlated Poisson sample


Dear Listers;

How can I generate a correlated Poisson sample in Stata? And the data
structure is like the following:

Obs time1 time2 time3 time4
1          2         4        5        2 
2          1         3        5        6
3          2         3        1        5
4          0         6        4        1
...
Thanks for any suggestion in advance.

Best regards,
Tony
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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