Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: ML Programming


From   Nick Cox <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: ML Programming
Date   Thu, 6 Jun 2013 18:04:49 +0100

You don't declare

tempname random1 random2 random3

so the statements

qui gen double `random1'=random1_`r'*`l11'
qui gen double `random2'=random2_`r'*`l22'
qui gen double `random3'=random3_`r'*`l33'

will all fail. In fact, you have other bugs of the same kind.

Also the statement

qui gen double ‘numer’=exp(`utility')

would fail because `numer' already exists.



© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index