Learn R Programming

radiant (version 0.1.95)

summary.regression: Summary method for the regression function

Description

Summary method for the regression function

Usage

"summary"(object, reg_sum_check = "", reg_conf_level = 0.95, reg_test_var = "", ...)

Arguments

object
Return value from regression
reg_sum_check
Optional output or estimation parameters. "rsme" to show the root mean squared error. "sumsquares" to show the sum of squares table. "vif" to show multicollinearity diagnostics. "confint" to show coefficient confidence interval estimates.
reg_conf_level
Confidence level used to estimate confidence intervals (.95 is the default)
reg_test_var
Variables to evaluate in model comparison (i.e., a competing models F-test)
...
further arguments passed to or from other methods

Details

See http://vnijs.github.io/radiant/quant/regression.html for an example in Radiant

See Also

regression to generate the results

plot.regression to plot results

predict.regression to generate predictions

Examples

Run this code
result <- regression("diamonds", "price", c("carat","clarity"))
summary(result, reg_sum_check = c("rmse","sumsquares","vif","confint"), reg_test_var = "clarity")
result <- regression("shopping", "v1", c("v2","v3"))
summary(result, reg_test_var = "v2")

Run the code above in your browser using DataLab