Date: Fri, 3 Feb 2012 04:53:56 -0500
Reply-To: Jim Groeneveld <jim.1stat@YAHOO.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jim Groeneveld <jim.1stat@YAHOO.COM>
Subject: Re: creating duplicate rows
Hi Alison,
Then you might as well do, without excluding observations:
DO _N_ = 1 TO MAX(Nbirths, 0);
OUTPUT;
END;
Regards - Jim.
--
Jim Groeneveld, Netherlands
Statistician/SAS consultant
http://jim.groeneveld.eu.tf
On Thu, 2 Feb 2012 19:34:39 -0500, Alison <alisontetler@YAHOO.COM> wrote:
>Thanks so much. I was getting an error until I excluded those individuals
>from the dataset who were missing that variable. This was so helpful for me
>- I really appreciate it!
|