From 390c0aa0336ac674d480291787b3742840b92f8b Mon Sep 17 00:00:00 2001 From: Emmanuel Guiffart Date: Sun, 14 Jun 2020 12:19:52 +0200 Subject: [PATCH] =?UTF-8?q?finalement=20un=20degr=C3=A9=202=20suffit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module3/exo3/exercice_fr.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module3/exo3/exercice_fr.Rmd b/module3/exo3/exercice_fr.Rmd index 832bbb2..c72cdc1 100644 --- a/module3/exo3/exercice_fr.Rmd +++ b/module3/exo3/exercice_fr.Rmd @@ -109,7 +109,7 @@ reg_lin_log<-lm(MA~log(Yr),data=MA) summary(reg_lin_log) plot(reg_lin_log) -reg_lin<-lm(MA~Yr+I(Yr^2)+I(Yr^3),data=MA) +reg_lin<-lm(MA~Yr+I(Yr^2),data=MA) summary(reg_lin) plot(reg_lin) tail(predict(reg_lin)) -- 2.18.1