clear all set obs 100 forval i=1/10 { gen x`i'=runiform(-1,1) } egen ylin=rowtotal(x*) gen y=runiform()