Poisson distribution (rv)

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Poisson distribution (rv)

drfg2008
A question to the Poisson distribution: I would like to generate a poisson distributed random variable with SPSS (1). I know that the distribution is a Poisson distribution with the arithmetic mean of 5.294693 and the median of 5. What do I have to give SPSS as "mean": the median or the arithmetic mean. Or neither. In other words, what is the estimated location parameter in a Poisson distribution.

Thanks


(1)
COMPUTE rv_poisson=RV.POISSON(xyz).
EXECUTE.
Dr. Frank Gaeth

Reply | Threaded
Open this post in threaded view
|

Re: Poisson distribution (rv)

Spousta Jan
Hi Frank,

Use the mean (5.294693). That is the lambda in the distribution formula. http://en.wikipedia.org/wiki/Poisson_distribution

Best regards

Jan


-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of drfg2008
Sent: Monday, November 21, 2011 11:55 AM
To: [hidden email]
Subject: Poisson distribution (rv)

A question to the Poisson distribution: I would like to generate a poisson distributed random variable with SPSS (1). I know that the distribution is a Poisson distribution with the arithmetic mean of 5.294693 and the median of 5. What do I have to give SPSS as "mean": the median or the arithmetic mean.
Or neither. In other words, what is the estimated location parameter in a Poisson distribution.

Thanks


(1)
COMPUTE rv_poisson=RV.POISSON(xyz).
EXECUTE.

-----
Dr. Frank Gaeth
FU-Berlin

--
View this message in context: http://spssx-discussion.1045642.n5.nabble.com/Poisson-distribution-rv-tp5010174p5010174.html
Sent from the SPSSX Discussion mailing list archive at Nabble.com.

=====================
To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD



_____________
Tato zpráva a všechny připojené soubory jsou důvěrné a určené výlučně adresátovi(-ům). Jestliže nejste oprávněným adresátem, je zakázáno jakékoliv zveřejňování, zprostředkování nebo jiné použití těchto informací. Jestliže jste tento mail dostali neoprávněně, prosím, uvědomte odesilatele a smažte zprávu i přiložené soubory. Odesilatel nezodpovídá za jakékoliv chyby nebo opomenutí způsobené tímto přenosem.

Jste si jisti, že opravdu potřebujete vytisknout tuto zprávu a/nebo její přílohy? Myslete na přírodu.


This message and any attached files are confidential and intended solely for the addressee(s). Any publication, transmission or other use of the information by a person or entity other than the intended addressee is prohibited. If you receive this in error please contact the sender and delete the message as well as all attached documents. The sender does not accept liability for any errors or omissions as a result of the transmission.

Are you sure that you really need a print version of this message and/or its attachments? Think about nature.

-.- --

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: Poisson distribution (rv)

drfg2008
In reply to this post by drfg2008
Thanks, Jan

the arithm. mean is the lambda in the distribution formula, I under stood.

Frank
Dr. Frank Gaeth

Reply | Threaded
Open this post in threaded view
|

Re: Poisson distribution (rv)

Art Kendall
In reply to this post by drfg2008
The arithmetic mean.  A common test to see whether an empirical distribution is poisson is to see if the variance is approximately equal to the mean.

However, for many practical purposes it would not make a difference which you used.
Open a new instance of SPSS.  Paste the syntax below into a syntax window. Run it.

Art Kendall
Social Research Consultants

INPUT PROGRAM.
   LOOP id=1 TO 300000.
      COMPUTE usingmean = rv.poisson( 5.294693).
      COMPUTE usingmedian = rv.poisson( 5).
      END CASE.
   END LOOP.
   END FILE.
END INPUT PROGRAM.
FORMATS id (F3.0) usingmean usingmedian (f3).
FREQUENCIES VARS= usingmean usingmedian/statistics = mean variance.

On 11/21/2011 5:55 AM, drfg2008 wrote:
A question to the Poisson distribution: I would like to generate a poisson
distributed random variable with SPSS (1). I know that the distribution is a
Poisson distribution with the arithmetic mean of 5.294693 and the median of
5. What do I have to give SPSS as "mean": the median or the arithmetic mean.
Or neither. In other words, what is the estimated location parameter in a
Poisson distribution.

Thanks


(1)
COMPUTE rv_poisson=RV.POISSON(xyz).
EXECUTE.

-----
Dr. Frank Gaeth
FU-Berlin

--
View this message in context: http://spssx-discussion.1045642.n5.nabble.com/Poisson-distribution-rv-tp5010174p5010174.html
Sent from the SPSSX Discussion mailing list archive at Nabble.com.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD

===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD
Art Kendall
Social Research Consultants