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: Creating an index series with single base years
From
Nick Cox <[email protected]>
To
[email protected]
Subject
Re: st: Creating an index series with single base years
Date
Sat, 10 Sep 2011 15:56:02 +0100
This is not more complicated than in your first. Sounds like
replace ... = myindex * factor1 if inrange(year, 1960, 1980)
replace ... = myindex * factor2 if inrange(year, 1981, 2000)
Nick
On Sat, Sep 10, 2011 at 1:26 PM, Muhammad Anees <[email protected]> wrote:
> What makes my required computation somehow complicated for me is to
> convert a single VARX series divided into three segments like
> 1960-1980 (in 1960 units), 1981-2000 (in 1980 units) and 2001-2010 (in
> 2000 units). This multiple times changing base withing one VAR makes
> me puzzled to proceed.
>
> On Sat, Sep 10, 2011 at 2:08 PM, Nick Cox <[email protected]> wrote:
>> See e.g. the very recent thread started by
>>
>> http://www.stata.com/statalist/archive/2011-09/msg00030.html
>>
>> In essence, you need two ratios of price levels and then it's
>> multiplication or division depending on which way up the ratios are.
>> Or, if your index definition requires something more complicated you
>> need to spell out what that is.
>>
>> Nick
>>
>> On Sat, Sep 10, 2011 at 7:08 AM, Muhammad Anees <[email protected]> wrote:
>>>
>>> I am currently using Stata 10.1.
>>>
>>> I have been stuck by calculating an index series from a series with
>>> three different base years, like 1960-1980 with base year 1960, 1981
>>> to 2000 with base year 1980, and then from 2001 onwards base year
>>> 2000. I intend to have one time series with one base year for example
>>> the 2000 year. I hope one could help me develop a straight forward
>>> code to convert the time series with different base years to a series
>>> with one base year. How can one do that using 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/