Re: generating data with specified spearman correlation
From: David Jones (dajxxx_at_ceh.ac.uk)
Date: 11/25/04
- Next message: David Jones: "Re: third order stationarity behavior of random process"
- Previous message: Stefan Bernögger: "Re: Manipulate Histogram to get specified mean, stddev"
- In reply to: Glen: "Re: generating data with specified spearman correlation"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 25 Nov 2004 09:59:14 -0000
Glen wrote:
> "David Jones" <dajxxx@ceh.ac.uk> wrote in message
> news:<41a46e2a$1@news.nwl.ac.uk>...
>> (ii) use a bivariate uniform distribution for which the correlation
>> can be evaluated: the correation here is both the population
Spearman
>> and Pearson correlation. Fix the dependence parameter to get the
>> required correlation, then transform to the required marginal
>> distributions. Chapter 8 of "Families of Bivarite Distributions" by
>> KV Mardia (Griffin,1970) discusses one possibility for this.
>
> A bivariate distribution with uniform marginals is a bivariate
copula.
>
> See for example the books
>
> Joe, H., (1997), Multivariate Models and Dependence Concepts,
Chapman
> & Hall.
>
> Nelsen, R. B., (1999), An Introduction to Copulas, Springer-Verlag.
>
> There are a number of copulas (families of distributions with
uniform
> marginals) for which the Spearman correlation can be specified by
the
> choice of a parameter.
But, in this context, an additional important question may be the ease
of generating r.v.'s from the joint distribution. Some have a
reasonably simple expression for the conditional distribution of one
margin given the other, which proves a route to generation.
>
>> (iii) If specific marginal distributions are required, of the same
>> type, there may be one or more families of multivariate distibution
>> specific to that type. Then either use a theoretical derivation of
>> the Spearman correlation, or use simulations to estimate the
Spearman
>> correlation, and adjust the dependence parameter to get the
required
>> correlation.
>
> Since the spearman correlation is unaffected by monotonic
transforms,
> you can get arbitrary marginals by taking a bivariate copula from
(ii)
> and transforming the uniform marginals by the inverse cdf transform
> X=F^{-1}(U)
Yes, but it may be that one of a "natural" family of multivariate
distributions with specific margins seems particularly appropriate.
In the OP's context, it might well be most convenient computationally
(programming-wise) to base things on generating multivariate normals
(since progs for these are easy to find) and starting from there.
David Jones
- Next message: David Jones: "Re: third order stationarity behavior of random process"
- Previous message: Stefan Bernögger: "Re: Manipulate Histogram to get specified mean, stddev"
- In reply to: Glen: "Re: generating data with specified spearman correlation"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|