Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: -ineqdeco- and saving subgroup results


From   "Stephen P. Jenkins" <[email protected]>
To   [email protected]
Subject   st: Re: -ineqdeco- and saving subgroup results
Date   Wed, 24 May 2006 08:28:25 +0100

> >From: [email protected]
> >Reply-To: [email protected]
> >To: [email protected]
> >Subject: st: question on ineqdeco
> >Date: Tue, 23 May 2006 13:48:15 -0400
> >
> >Dear All,
> >
> >we are using ineqdeco program and were wondering how we could store the
> >results
> >of the sub-group decomposition as global (or matrix) variables so that
> >these
> >results can be used later. Thanks and best regards, M
> >
> >------------------------------------------------------------
> >Maurizio Bussolo


It is straightforward to save the subgroup results into variables (and thence
into a matrix if you wish), using a combination of -levelsof- (-levels- in
older versions of Stata) and a -foreach- loop.   The issue has been discussed a
number of times on Statalist already. A quick search in the Archives held at
StataCorp yields the following:

http://www.stata.com/statalist/archive/2004-01/msg00185.html
http://www.stata.com/statalist/archive/2004-03/msg00070.html


Stephen
(author of -ineqdeco-)
--
Professor Stephen P. Jenkins <[email protected]>
Institute for Social and Economic Research (ISER)
University of Essex, Colchester, CO4 3SQ, UK
Tel: +44 (0)1206 873374. Fax: +44 (0)1206 873151.
http://www.iser.essex.ac.uk
Survival Analysis using Stata:
http://www.iser.essex.ac.uk/teaching/degree/stephenj/ec968/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

*
*   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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index