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

Re: st: To generate a correlated Poisson sample


From   [email protected]
To   [email protected]
Subject   Re: st: To generate a correlated Poisson sample
Date   Tue, 15 Feb 2005 16:55:52 EST

In a message dated 2/15/2005 2:34:44 PM US  Mountain Standard Time, 
[email protected] writes:
> 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
> ...


One of the  random number generators created by Linde-Zwirble and myself 
about 10 years ago  published in the STB included a Poisson with defined 
correlation. Lookup -rnd-  for details.

Joe Hilbe  

*
*   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