LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (November 2006, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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


Back to: Top of message | Previous page | Main SAS-L page