11.08.2013 Views

Slika - Shrani.si

Slika - Shrani.si

Slika - Shrani.si

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A. Juriˇ<strong>si</strong>ć in V. Batagelj: Verjetnostni račun in statistika 627<br />

✬<br />

✫<br />

. . . Linearni model<br />

> x y l plot(y ˜ x); abline(lm(y ˜ x),col="red")<br />

> m summary(m)<br />

Call:<br />

lm(formula = y ˜ x)<br />

Re<strong>si</strong>duals:<br />

Min 1Q Median 3Q Max<br />

-19.2149 -5.4003 0.3364 6.8453 16.0204<br />

Coefficients: Estimate Std. Error t value Pr(>|t|)<br />

(Intercept) 55.852675 14.491253 3.854 0.00388 **<br />

x 0.031196 0.002715 11.492 1.11e-06 ***<br />

---<br />

Signif. codes: 0 ’***’ 0.001 ’**’ 0.01 ’*’ 0.05 ’.’ 0.1 ’ ’ 1<br />

Re<strong>si</strong>dual standard error: 11.18 on 9 degrees of freedom<br />

Multiple R-Squared: 0.9362, Adjusted R-squared: 0.9291<br />

F-statistic: 132.1 on 1 and 9 DF, p-value: 1.112e-06<br />

> plot(fitted(m),re<strong>si</strong>d(m))<br />

Univerza v Ljubljani ▲<br />

❙ ▲<br />

▲<br />

▲<br />

● ❙ ▲<br />

▲<br />

☛ ✖<br />

✩<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!