Skip to content
Back to formatted view

Raw Message

Message-ID: <1487145411207.89850@kent.ac.uk>
Date: 2017-02-15T07:56:51Z
From: T.Riedle
Subject: coeftest() R squared
In-Reply-To: <9848df7a6b24413c915c29b8ec9db2d8@ex13-live-mbn1.ad.kent.ac.uk>

Dear all,
I want to run a regression using lm() with Newey West corrected standard errors.

This is the code

Reg<-lm(g~sent + liquidity + Cape, data=dataUsa)
CoefNW<-coeftest(Reg, vcov.=NeweyWest)
CoefNW

In contrast to summary(Reg) the output of CoefNW neither returns the adjusted R squared nor the F-statistic. How can I obtain the R squared for coeftest? Alternatively, how do I get robust standard errors and the R squared of the regression?
Thanks for your help.