s-news
[Top] [All Lists]

Re: [S] Variable correlated with gamma distribution

To: Graham Nichol <gnichol@lri.ca>
Subject: Re: [S] Variable correlated with gamma distribution
From: Prof Brian D Ripley <ripley@stats.ox.ac.uk>
Date: Mon, 28 Jun 1999 20:03:31 +0100 (BST)
Cc: s-news@wubios.wustl.edu
In-reply-to: <v04011703b39d61361af4@[205.211.190.128]>
Sender: owner-s-news@wubios.wustl.edu
On Mon, 28 Jun 1999, Graham Nichol wrote:

> 
> I have a dataset that contains a gamma distribution.  I would like to
> simulate a binary variable that is correlated with this gamma distribution.
> My preliminary attempts to do this do not yield the desired degree of
> correlation.  Is there a simple solution to this problem?

The highest possible degree of correlation is obtained by I(G > x) where
G is the gamma. Choose x as you wish (even to maximize the corelation,
if that is sensible).

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

<Prev in Thread] Current Thread [Next in Thread>