Updated on 2021-03-20
## Warning: `arrange_()` is deprecated as of dplyr 0.7.0.
## Please use `arrange()` instead.
## See vignette('programming') for more help
## This warning is displayed once every 8 hours.
## Call `lifecycle::last_warnings()` to see where this warning was generated.
fit0 <- lm(df_daily_italy$active_cum ~ df_daily_italy$date, data = head(df_daily_italy,30) )
summary(fit0)
##
## Call:
## lm(formula = df_daily_italy$active_cum ~ df_daily_italy$date,
## data = head(df_daily_italy, 30))
##
## Residuals:
## Min 1Q Median 3Q Max
## -226222 -138764 -26906 107729 438381
##
## Coefficients:
## Estimate Std. Error t value Pr(>|t|)
## (Intercept) -3.175e+07 1.394e+06 -22.77 <2e-16 ***
## df_daily_italy$date 1.728e+03 7.531e+01 22.94 <2e-16 ***
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
##
## Residual standard error: 168100 on 389 degrees of freedom
## Multiple R-squared: 0.575, Adjusted R-squared: 0.5739
## F-statistic: 526.3 on 1 and 389 DF, p-value: < 2.2e-16