dbreg
  • Get started
  • About
    • News
    • Citation
    • License
  • Reference
  1. Base methods
  2. print.dbreg
  • Main functions
    • dbreg
    • dbbinsreg
  • utilities
    • gof
  • Base methods
    • coef.dbreg
    • confint.dbreg
    • predict.dbreg
    • print.dbreg
    • vcov.dbreg
    • plot.dbbinsreg
  • Other methods
    • glance.dbreg
    • tidy.dbreg

On this page

  • Print method for dbreg objects
    • Description
    • Usage
    • Arguments
    • Examples
  1. Base methods
  2. print.dbreg

Print method for dbreg objects

Description

Print method for dbreg objects

Usage

## S3 method for class 'dbreg'
print(x, fe = FALSE, ...)

Arguments

x ‘dbreg’ object.
fe Should the fixed effects be displayed? Default is ‘FALSE’.
… Other arguments passed to print. Currently unused, except to capture superseded arguments.

Examples

library("dbreg")

mod = dbreg(Temp ~ Wind | Month, data = airquality)
# mod # same as below
print(mod)
Compressed OLS estimation, Dep. Var.: Temp 
Observations.: 153 (original) | 88 (compressed) 
Standard Errors: IID 
      Estimate Std. Error t value   Pr(>|t|)    
Wind -0.743388   0.148791 -4.9962 1.6384e-06 ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
RMSE: 6.1                 Adj. R2: 0.574411
print(mod, fe = TRUE)  # include fixed effects
Compressed OLS estimation, Dep. Var.: Temp 
Observations.: 153 (original) | 88 (compressed) 
Standard Errors: IID 
             Estimate Std. Error  t value   Pr(>|t|)    
(Intercept) 74.188474   2.054401 36.11198  < 2.2e-16 ***
Wind        -0.743388   0.148791 -4.99620 1.6384e-06 ***
Month6      12.543643   1.594253  7.86804 7.1848e-13 ***
Month7      16.362079   1.618341 10.11040  < 2.2e-16 ***
Month8      16.316286   1.623923 10.04745  < 2.2e-16 ***
Month9      10.279216   1.595936  6.44087 1.5903e-09 ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
RMSE: 6.1                 Adj. R2: 0.574411