Description Usage Arguments Details
Adding the options robust
and cluster
to the summary.lm function. Loading the package will mask the summary.lm function.
1 2 3 |
object |
an object of class "lm", usually, a result of a call to lm. |
correlation |
logical; if TRUE, the correlation matrix of the estimated parameters is returned and printed. |
symbolic.cor |
logical. If TRUE, print the correlations in a symbolic form (see symnum) rather than as numbers. |
robust |
logical; if TRUE, heteroskedasticity robust standard errors are used in the hypothesis tests |
cluster |
integer vector indicating cluster membership |
type |
type of robust standard errors to calculate |
... |
further options to pass to summary |
detailed descriptions regarding the difference between the standard errors can be found by ?summary_robust
. The summary.lm function should work as usuall when calling without specifying any of the options robust
or cluster
. If called with these options, on the other hand, a robustSE
class object will be returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.