\begin{Schunk}
\begin{Sinput}
 summary(m2)
\end{Sinput}
\begin{Soutput}
Call:
glm(formula = yobs ~ x, family = gaussian, data = dat)

Deviance Residuals: 
    Min       1Q   Median       3Q      Max  
-0.7773  -0.1188  -0.1188   0.2227   0.8811  

Coefficients:
            Estimate Std. Error t value Pr(>|t|)    
(Intercept)  0.11885    0.01694   7.017 4.18e-12 ***
x            0.65849    0.02367  27.818  < 2e-16 ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

(Dispersion parameter for gaussian family taken to be 0.1400038)

    Null deviance: 248.06  on 999  degrees of freedom
Residual deviance: 139.72  on 998  degrees of freedom
AIC: 875.79

Number of Fisher Scoring iterations: 2
\end{Soutput}
\end{Schunk}
