/* demo_ols.do : Sample program to run OLS and get spatial std. errors. */ #delimit ; infile C1 C2 dep indep1 using data_ols.dat; gen const=1; gen cutoff1=4; gen cutoff2=4; x_ols C1 C2 cutoff1 cutoff2 dep const indep1, xreg(2) coord(2);