Date: Wed, 8 Nov 2006 09:34:11 -0700
Reply-To: "Navabi, Alireza" <Alireza.Navabi@AFHE.UALBERTA.CA>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Navabi, Alireza" <Alireza.Navabi@AFHE.UALBERTA.CA>
Subject: SAS Function
Content-Type: text/plain; charset="us-ascii"
Hello all,
I have a question on how to make a new variable from an original
variable in a way that the new variable has the same mean but a
different variance
I am using SAS in computer simulation and I am trying to simulate cases
when a population is exposed to different environments and each
environment is changing the variance with different magnitude.
Basically, causing environmental "noise" in the original variable. Now
my question:
If variable A is a set of data for all individuals of a population with
mean = m and variance = S. Is there a function in SAS that I can use to
create a new variable (B) in a way that B is derived from A and has mean
= m and variance = S+e.
Appreciating your response
Alireza Navabi
University of Alberta
|