Date: Thu, 11 Jul 2002 10:17:02 -0400
Reply-To: Jay Weedon <jweedon@EARTHLINK.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jay Weedon <jweedon@EARTHLINK.NET>
Organization: http://extra.newsguy.com
Subject: Re: two dimensional array reference
Content-Type: text/plain; charset=us-ascii
On 11 Jul 02 11:35:34 GMT, tariku_g@BLS.GOV (Giz) wrote:
>Hello Every one!
>
>I want help on two dimensional array. Here is my data
>
>Replicate Stratum PSU
>1 1 -1
>1 2 1
>1 3 1
>2 1 1
>2 2 -1
>2 3 -1
>3 1 -1
>3 2 1
>3 3 1
>
>I want to address the psu value in each of the replicate by stratum like:
>
>(-1 1 1
> 1 -1 -1
> -1 1 1)
>
>using array referencing. when I say (i=1, j=2), I am referring to first
>replicate and second stratum whose PSU value is 1.
Take a look at PROC IML (Interactive Matrix Language), if you have it
licensed.
JW
|