log using c:\spmstar.smcl , replace clear all sysuse spmstar.dta, clear * (m-STAR) Multiparametric Spatio Temporal AutoRegressive Regression * (m-STAR) Lag Model *** YOU MUST HAVE DIFFERENT Weighted Matrixes Files: * (1) *** Normal Distribution spmstar y x1 x2 , wmfile(SPWmcs1) nwmat(1) mfx(lin) dist(norm) spmstar y x1 x2 , wmfile(SPWmcs2) nwmat(2) mfx(lin) dist(norm) spmstar y x1 x2 , wmfile(SPWmcs3) nwmat(3) mfx(lin) dist(norm) spmstar y x1 x2 , wmfile(SPWmcs4) nwmat(4) mfx(lin) dist(norm) spmstar ys x1 x2, wmfile(SPWmcs4) nwmat(4) mfx(lin) dist(norm) tobit ll(0) spmstar ys x1 x2, wmfile(SPWmcs4) nwmat(4) mfx(lin) dist(norm) tobit ll(3) * (2) *** Weibull Distribution spmstar y x1 x2 , wmfile(SPWmcs1) nwmat(1) mfx(lin) dist(weib) spmstar y x1 x2 , wmfile(SPWmcs2) nwmat(2) mfx(lin) dist(weib) spmstar y x1 x2 , wmfile(SPWmcs3) nwmat(3) mfx(lin) dist(weib) spmstar y x1 x2 , wmfile(SPWmcs4) nwmat(4) mfx(lin) dist(weib) spmstar ys x1 x2, wmfile(SPWmcs4) nwmat(4) mfx(lin) dist(weib) tobit ll(0) spmstar ys x1 x2, wmfile(SPWmcs4) nwmat(4) mfx(lin) dist(weib) tobit ll(3) * (3) Weighted mSTAR Normal Distribution: spmstar y x1 x2 [weight = x1], wmfile(SPWmcs1) nwmat(1) mfx(lin) dist(norm) spmstar y x1 x2 [aweight = x1], wmfile(SPWmcs1) nwmat(1) mfx(lin) dist(norm) spmstar y x1 x2 [iweight = x1], wmfile(SPWmcs1) nwmat(1) mfx(lin) dist(norm) * (4) Weighted mSTAR Weibull Distribution: spmstar y x1 x2 [weight = x1], wmfile(SPWmcs1) nwmat(1) mfx(lin) dist(weib) spmstar y x1 x2 [aweight = x1], wmfile(SPWmcs1) nwmat(1) mfx(lin) dist(weib) spmstar y x1 x2 [iweight = x1], wmfile(SPWmcs1) nwmat(1) mfx(lin) dist(weib) log close