Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Fixed value - time series


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: Fixed value - time series
Date   Thu, 4 Jul 2002 12:29:32 +0100

Graeme Inglis
> 
> I would appreciate some advice on how to do the following please.
> I want to generate a new variable which takes the baseline value 
> of another
> variable and it has this baseline value in each time period - it 
> is constant
> over time.

There is nothing to stop you going 

gen newvar = <constant> 

If that doesn't help, please give an example of what you 
mean by "baseline value". 

Nick 
[email protected] 
*
*   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