Skip to contents

Sets/gets the default values of whether notes (informing for NA and observations removed) should be displayed in fixest estimation functions.

Usage

setFixest_notes(x)

getFixest_notes()

Arguments

x

A logical. If FALSE, then notes are permanently removed.

Author

Laurent Berge

Examples


# Change default with
setFixest_notes(FALSE)
feols(Ozone ~ Solar.R, airquality)
#> OLS estimation, Dep. Var.: Ozone
#> Observations: 111
#> Standard-errors: IID 
#>              Estimate Std. Error t value   Pr(>|t|)    
#> (Intercept) 18.598728   6.747904 2.75622 0.00685602 ** 
#> Solar.R      0.127165   0.032776 3.87979 0.00017931 ***
#> ---
#> Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
#> RMSE: 31.1   Adj. R2: 0.113281

# Back to default which is TRUE
setFixest_notes(TRUE)
feols(Ozone ~ Solar.R, airquality)
#> NOTE: 42 observations removed because of NA values (LHS: 37, RHS: 7).
#> OLS estimation, Dep. Var.: Ozone
#> Observations: 111
#> Standard-errors: IID 
#>              Estimate Std. Error t value   Pr(>|t|)    
#> (Intercept) 18.598728   6.747904 2.75622 0.00685602 ** 
#> Solar.R      0.127165   0.032776 3.87979 0.00017931 ***
#> ---
#> Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
#> RMSE: 31.1   Adj. R2: 0.113281