13.07.2015 Views

una tecnica per la regressione locale - Department of Mathematics ...

una tecnica per la regressione locale - Department of Mathematics ...

una tecnica per la regressione locale - Department of Mathematics ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Figura 3.11: esempio di <strong>regressione</strong> multip<strong>la</strong>La re<strong>la</strong>zione tra <strong>la</strong> variabile risposta e i predittori appare non lineare e seanalizziamo <strong>la</strong> significatività di ciasc<strong>una</strong> variabile di predizione tramite un F-test, vediamo che nè income nè education possono essere omessi nel modello.Riportiamo le tabelle di ANOVA ottenute con R, nelle quali, osservando ip-value, si possono leggere i risultati dell F-test:> mod.lo mod.lo.inc mod.lo.ed anova(mod.lo.inc,mod.lo)Model 1: loess(formu<strong>la</strong> = prestige ~ income, span = 0.7, degree = 1)Model 2: loess(formu<strong>la</strong> = prestige ~ income + education, span = 0.5,degree = 1)Analysis <strong>of</strong> Variance: denominator df 90.66ENP RSS F-value Pr(>F)1 3.9 12006.163

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

Saved successfully!

Ooh no, something went wrong!