You are not logged in. You can browse but not post. Login or Register by clicking 'Login or Register' at the top-right of this page. For more information on Statalist, see the FAQ.
use "data.dta", clear
qui: sum year
global y_max = r(max)
global y_min = r(min)
global y_count = ($y_max - $y_min)+1
g border = (dist >=-20 & dist <= 20)
g int_bfr = border * french
qui: include "sumstat.do"
variable expo not found
r(111); r(111);
Some code you don't show us expects to be able to see a variable expo, but it can't. Perhaps the answer lies in the file data.dta; or perhaps it lies in the file sumstat.do. We can't see either.
Comment