## # A tibble: 16 Ă— 3
##      ano deflacionado_fem deflacionado_masc
##    <dbl>            <dbl>             <dbl>
##  1  2008          893303.           453232.
##  2  2009         1412970.           851124.
##  3  2010         1552782.           884410.
##  4  2011         1771331.           902563.
##  5  2012         1641665.           798451.
##  6  2013         1771485.           885423.
##  7  2014         2068767.           993877.
##  8  2015         2307438.           982160.
##  9  2016         2002366.           971646.
## 10  2017         2534584.          1279480.
## 11  2018         2769276.          1503797.
## 12  2019         3243537.          1733666.
## 13  2020         2278913.          1338730.
## 14  2021         2272228.          1571928.
## 15  2022         2215820.          1297067.
## 16  2023         2444722.          1329346.
## [1] "ano"               "deflacionado_fem"  "deflacionado_masc"

## 
## Call:
## glm(formula = inc_brazil_20_59_ ~ covid + ano_mes, data = hosp)
## 
## Coefficients:
##               Estimate Std. Error t value Pr(>|t|)    
## (Intercept) -1.322e+01  7.883e-01  -16.77   <2e-16 ***
## covid       -2.530e+00  2.113e-01  -11.97   <2e-16 ***
## ano_mes      1.187e-03  4.843e-05   24.51   <2e-16 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## (Dispersion parameter for gaussian family taken to be 0.7128422)
## 
##     Null deviance: 558.55  on 179  degrees of freedom
## Residual deviance: 126.17  on 177  degrees of freedom
## AIC: 454.86
## 
## Number of Fisher Scoring iterations: 2

## 
## Call:
## glm(formula = inc_brazil_20_59_fem ~ covid + ano_mes, data = hosp)
## 
## Coefficients:
##               Estimate Std. Error t value Pr(>|t|)    
## (Intercept) -1.858e+01  1.102e+00  -16.86   <2e-16 ***
## covid       -3.592e+00  2.954e-01  -12.16   <2e-16 ***
## ano_mes      1.649e-03  6.770e-05   24.36   <2e-16 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## (Dispersion parameter for gaussian family taken to be 1.393156)
## 
##     Null deviance: 1079.56  on 179  degrees of freedom
## Residual deviance:  246.59  on 177  degrees of freedom
## AIC: 575.48
## 
## Number of Fisher Scoring iterations: 2

## 
## Call:
## glm(formula = inc_brazil_20_59_masc ~ covid + ano_mes, data = hosp)
## 
## Coefficients:
##               Estimate Std. Error t value Pr(>|t|)    
## (Intercept) -7.813e+00  6.074e-01 -12.863  < 2e-16 ***
## covid       -1.459e+00  1.628e-01  -8.961 4.42e-16 ***
## ano_mes      7.203e-04  3.732e-05  19.301  < 2e-16 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## (Dispersion parameter for gaussian family taken to be 0.4232848)
## 
##     Null deviance: 235.216  on 179  degrees of freedom
## Residual deviance:  74.921  on 177  degrees of freedom
## AIC: 361.04
## 
## Number of Fisher Scoring iterations: 2