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

Re: st: RE: Re: statalist-digest V4 #1868

From   Joseph Coveney <[email protected]>
To   Statalist <[email protected]>
Subject   Re: st: RE: Re: statalist-digest V4 #1868
Date   Mon, 31 Jan 2005 07:47:06 +0900

Nick Cox wrote (excerpted):

use auto.dta, clear
ologit rep78 price turn
forval j = 1/`e(k_cat)' { 
	tempvar pre
	local prelist "`prelist' `pre'" 
predict `prelist'  



You put the double quotes in -local prelist "`prelist' `pre'"- for a purpose.  
The code works at least in this case without them, and so I'm curious why you 
included them, what the potential pitfall is that they're there to guard 

Joseph Coveney

*   For searches and help try:

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index