Hi Michael,
Thanks for your patience.
My Region6 has only one level, which is why I did not
answer directly. I was not sure what do you mean by
the levels of Region6. Region6 has only one level, but
many values (such as all the fips codes of counties).
--- Michael Blasnik <[email protected]>
wrote:
> I think you misunderstood me. I didn't suggest
> doing one variable at a
> time, although that could be built into the loop too
> and may be a viable
> alternative overall. What I suggested was to
> analyze one category of
> group6 at a time within a loop and only using only
> the variables in the
> dataset that you need summary stats for (assuming
> rhere may be other
> variables in that large dataset that aren't needed
> for this task) . The
> entire process can be written into a do or ado file
> to automatically create
> the results dataset you want. You didn't bother
> answering my questions
> about how many levels there are in region6 and
> whether the variables you
> need could fit in memory using the largest region6
> category, so I won't
> bother showing you the code to automate it :)
>
> Michael
>
> ----- Original Message -----
> From: "Allon Crazy" <[email protected]>
> To: <[email protected]>
> Sent: Tuesday, February 27, 2007 9:13 AM
> Subject: Re: st: Re: How to merge individual records
> to groups in a large
> dataset, w/o using collapse
>
>
> > Thanks, Michael,
> >
> > Region6 is a variable with a list of values. yes,
> i
> > guess I can try to sum/mea/median one variable
> each
> > time. Hopefully it works. In the meantime, if
> there
> > is another command or command combinations that
> allow
> > me to accomplish the same task, it would be great.
> >
> > Thanks again.
>
> *
> * For searches and help try:
> *
> http://www.stata.com/support/faqs/res/findit.html
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
>
____________________________________________________________________________________
It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/