Re: how to generate an array in sas? #2
lixiaoyao5880@YAHOO.COM wrote back to me:
> hi david
> Thanks a lot,I just send you an email,could you please answer my
>question? Thanks a lot
Your email to me went right into my spam filter. Sorry. I imagine it was
because of the
36K file you went me (not to SAS-L) that was almost all data. Please don't
In the meantime, I see that several SAS gurus have answered your immediate
But I don't think this is the quesiton you really need answered. If you
are, in fact, trying
to write your own lags so that you will have lagged-by-one data for
mod...Re: how to generate an array in sas? #3
firstname.lastname@example.org wrote to me personally, instead of to SAS-L:
> I think the model I wrote to you is called Poisson regression models
>in time series.
> Could you help me on this? Thanks a lot
You really need to write to SAS-L, instead of to me personally.
I *really* don't think you have a Poisson regression model. You *may* have
series problem, although I cannot tell, since you haven't told anyone what
Your variable A1, which you have described as some kind of 'mortality',
seems to be
a bunch of numbers between 150 and 20...Re: urgent : Convert SAS array in to sas variables
Why would you want to do what you ask? What you are asking would create
the variable for all observations, but the variables' values would be
missing values for every observation except the one on which it is based.
On Sat, 3 May 2008 23:34:44 -0700, Shailesh <shailesh.tewari@GMAIL.COM>
>In my dataset I have an array variable , say A which has values like
>Observation 1 - A= 23 ,A=34, A=45
>Observation 2 - A= 23 ,A=34, A=45
>I want to create sas variables which should have name A61, A62 , A63,
>...how to generate an array in sas?
how to generate a array in sas,I want an array from 1 to 508.
...Re: SAS + ARRAY
You don't need an array and yes macro code will work here easily:
create table Count_var as select
count (distinct (CIN )) as N
where campaign_&camp_num is not null;
%do I = &start %to &stop;
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of
Sent: Monday, August 02, 2004 11:07 AM
Subject: SAS + ARRAY
I have 100...Re: Generating arrays
A sample data set and the required output will find you faster solution .
On 7/5/07, Amrita Singh <email@example.com> wrote:
> I have a situation where I have to accumulate hundreds of variables that
> are in an several arrays. Some arrays have 10 elements whereas other?arrays
> may have 80 elements.?
> An?input array may look like this:
> Array?inpvars (*) dollar6mo dollar12mo?items6mo?items12mo ..etc;
> I have to generate an output array?which looks like this:
> array outvars(*) t_dollar6mo t_dol...Re: SAS Arrays
Code using array is possible. Fix what variables you need to have. Set a
sample input dataset and the OUTPUT that you want to derive out of it.
On 10/29/07, Jamie Henderson <firstname.lastname@example.org> wrote:
> Apologies for the newbie question, but I was hoping someone will be able
> to help with some code I want to write.
> I have monthly account history files going back a few years. I want to
> create 1 ever expanding file that contains a couple of pieces of data that
> will never change (customer reference number, original borrowing ...Re: SAS Generated,
One caveat I forgot. The polling instrument will be easier to manage if you
reduce the font size in your browser so that all 20 reference axes and the
navigation controls are visible on a single page. Otherwise you will have
to page down and up as each person is presented.
On Sun, Jul 5, 2009 at 8:43 PM, Joe Whitehurst <email@example.com>wrote:
> This objective presidential poll is unlike any you have ever seen. Unlike
> every other presidential poll you have ever encountered which have no
> theory to guide their construction, analysis or intrepretation, this
> obj...Re: Generating arrays #9
Thanks so much for your help -?I used your suggestions and got the?results I was looking for.
From: Muthia Kachirayan <firstname.lastname@example.org>
Sent: Sat, 7 Jul 2007 2:39 pm
Subject: Re: Generating arrays
Borrowing the idea of Nat here is how it is:
input custnum dollars items;
5 2 7??????????????????????????
5 1 0??????????????????????????
6 2 3??????????????????????????
6 8 1????????????????????...