summary.hdlm: summarize coefficients from a "glmnet" object

Description Usage Arguments Details


'summary' method for class '"lm"'.


## S3 method for class 'hdlm'
summary(object, ..., level=NULL)



an object of class '"hdlm"', usually, a result of a call to 'hdlm'.


Determines which coefficients to print on regression table. Level = 1 gives only those with non-zero coefficents if pval.method is equal to 'mean' and only those with p-value < 1 otherwise. Level = 2 gives anything with non-zero coefficient or non-one p-value, and Level = 3 (or any other choice) gives all coefficients.


further arguments passed to or from other methods.


When fitting a large model, it can be cumbersome to look at results for all of the variables; when there exists high correlation between variables, level = 2 is often preferable. The different behavior for pval.method equal to 'mean' is due to the fact that the mean method (or Bayes method, which sets pval.method to 'mean') gives many p-values which are close to, but not exactly equal to, one.

Search within the hdlm package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.