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

st: RE: Re: Iterative regression runs


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: Re: Iterative regression runs
Date   Tue, 21 Dec 2004 20:44:47 -0000

This won't work as the . is not legal 
as part of variable names. My recommendation in 
a previous posting accidentally solves the problem. 

Nick 
[email protected] 

Jelmer Ypma
> 
> Generate different dummies:
>  forvalues i=1(0.5)5 {
>      gen dummy`i' = (spread>`i')
>      reg y x dummy`i'
>      ...
> }
> 

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