new;
output file=c:\jae\ols\noint1\noint1.out  reset;

@
Dataset Name:  Line Through Origin-1 (nointercept1.dat)
               y = B1*x + e
               Certified Regression Statistics

                                          Standard Deviation
     Parameter          Estimate             of Estimate
@
     cbcse={       2.07438016528926     0.165289256198347E-01};
cb=cbcse[.,1];
cstdb=cbcse[.,2];
cR2= 0.999365492298663;                                        
@Data:     y     x@
yx={     130    60,
         131    61,
         132    62,
         133    63,
         134    64,
         135    65,
         136    66,
         137    67,
         138    68,
         139    69,
         140 70};
y=yx[.,1];x=yx[.,2];
ans1=nistolsf(y,x,cb,cstdb,cr2);  
ans2=nisoqr2f(y,x,cb,cstdb,cr2);  
format /ld  6,1;
"        " ans1;  
"   (          "  ans2   "   ) ";
" Line Through Origin-1 (nointercept1.dat)  =noint1";
end;
