[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: trying local command
Hello Statalist members,
I'm working on learning the use of the -local- command. I'd like to
define a few variables, then manipulate them. I'm experiencing some
roadblocks with defining the terms. For example:
. local truea0="1"
. local truea1="2"
. gen ztreat='1'+'2'*x1+'3'*x2
type mismatch
--
Michael McCulloch, LAc, MPH
Research Director
Pine Street Foundation
124 Pine St
San Anselmo, CA 94960-2674
Tel: (415) 407-1357
Fax: (415) 485-1065
[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/