R

R Study Notes

Notes on the Constant Term in the Fixed Effect Model

In stata, the fixed effect model(xtreg y x1 x2 x3, fe) report a constant term. The underline estimate is [y{it} - \bar{yr} + \bar{\bar{y}} = a + (x{it} - \bar{x{i}} + \bar{\bar{x}})) \alpha + (\epsilon{it} - \bar{e_i} + \bar{v})] with the constrant (\bar{v}) equals to 0. Details can be found on Stata’s website. In R, plm package does not calculate the some whate artificial1 intercept for within models. see help(“within_intercept”, package = “plm”)↩

Hosting pages on Github using Rmarkdown and Hugo

My personal website is created by R package blogdown and Hugo and is hosted on Github. This page summarise my steps to create this site.