Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Laspeyres index
From
Nick Cox <[email protected]>
To
[email protected]
Subject
Re: st: Laspeyres index
Date
Mon, 5 Mar 2012 09:23:51 +0000
Partho is pointing to techniques for relating all, or almost all,
values to values in a particular observation.
Since the FAQ quoted was written, a more systematic survey has appeared in
Cox, N.J. 2011. Speaking Stata: Compared with ...
The Stata Journal 11(2): 305-314
Abstract. Many problems in data management center on relating values
to values in other observations, either within a dataset as a whole or
within groups such as panels. This column reviews some basic Stata
techniques helpful for such tasks, including the use of subscripts,
summarize, by:, sum(), cond(), and egen. Several techniques exploit
the fact that logical expressions yield 1 when true and 0 when false.
Dividing by zero to yield missings is revealed as a surprisingly
valuable device.
On Mon, Mar 5, 2012 at 8:26 AM, Partho Sarkar <[email protected]> wrote:
> Hello Tomáš,
>
> I am glad the links helped. The statalist archives are indeed
> invaluable! If you haven't seen it yet, you might find this FAQ
> useful too
>
> http://www.stata.com/support/faqs/data/firstoccur.html
>
> [In all these problems, the key is the total(X==x1) device, which can
> be utilized to generate various variables related to one particular
> date or value of a given variable ]
>
> Thanks for the tips about plotting- will explore these. I work with
> panel data (declared as such), so things are easier to handle with
> usual graph commands. By the way, if you want to be able to automate
> generating reports including graphs, you will find the -rtfutil-
> package (http://econpapers.repec.org/software/bocbocode/s457080.htm
> also -findit rtfutil-) very useful (though you will have to spend some
> time deciphering the rtf related code for customising your report!)
>
> Regards
> Partho
>
>
> On Mon, Mar 5, 2012 at 12:48 AM, Tomáš Houška <[email protected]> wrote:
>> Hi,
>>
>> thank you very much for your help - I found all I needed in the
>> advised threads.
>> I will also add a hint to graphing the price indices after their calculation:
>>
>> a great help is this:
>> http://www.stata.com/statalist/archive/2003-10/msg00403.html
>> and also -linkplot- from Mr. Coxx (-findit linkplot-) : see also
>> http://www.stata.com/statalist/archive/2003-10/msg00403.html
>>
>> Regards
>> T.
>> *
>> * For searches and help try:
>> * http://www.stata.com/help.cgi?search
>> * http://www.stata.com/support/statalist/faq
>> * http://www.ats.ucla.edu/stat/stata/
>
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/