Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panelR summary and tables #67

Closed
rodfileto opened this issue Jul 19, 2019 · 1 comment
Closed

panelR summary and tables #67

rodfileto opened this issue Jul 19, 2019 · 1 comment

Comments

@rodfileto
Copy link

I tried to create tables from models generated through the package panelR and it did not work.

Is there plans to integrate this package with the panelR in order to generate regression tables?

Thank you in advance

@jacob-long
Copy link
Owner

It's not perfectly seamless, but jacob-long/panelr@77275a0 will at least make things workable.

library(panelr)
library(jtools)

data("WageData")
wages <- panel_data(WageData, id = id, wave = t)
model <- wbm(lwage ~ lag(union) + wks | blk + fem, data = wages)
export_summs(model)
───────────────────────────────────────────────
                               Model 1         
                      ─────────────────────────
  (Intercept)                        6.60 ***  
                                    (0.23)     
  `imean(lag(union))`               -0.03      
                                    (0.03)     
  `imean(wks)`                       0.00      
                                    (0.00)     
  `lag(union)`                       0.05 *    
                                    (0.03)     
  wks                               -0.00      
                                    (0.00)     
  blk                               -0.23 ***  
                                    (0.06)     
  fem                               -0.44 ***  
                                    (0.05)     
                      ─────────────────────────
  nobs                            3570         
  min_wave                           2.00      
  max_wave                           7.00      
  N                                595.00      
  aic                             1383.03      
  bic                             1438.65      
  pR2_fe                             0.13      
  pR2_total                          0.74      
  model                 within-between         
───────────────────────────────────────────────
  *** p < 0.001; ** p < 0.01; * p < 0.05.      

Column names: names, Model 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants