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" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
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 
n.j.cox@durham.ac.uk 
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index