Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

step AIC backward regression output not formatted #22

Closed
aravindhebbali opened this issue Jun 5, 2017 · 1 comment
Closed

step AIC backward regression output not formatted #22

aravindhebbali opened this issue Jun 5, 2017 · 1 comment
Assignees
Labels
bug

Comments

@aravindhebbali
Copy link
Member

@aravindhebbali aravindhebbali commented Jun 5, 2017

output from ols_stepaic_backward() is not properly formatted.

> library(olsrr)
> library(caret)
> data("Sacramento")

> lm_fit2 <- lm(price  ~ beds + baths + log(sqft), data = Sacramento)
> ols_stepaic_backward(lm_fit2)


                         Backward Elimination Summary                          
-----------------------------------------------------------------------------
Variable         AIC           RSS            Sum Sq       R-Sq     Adj. R-Sq 
-----------------------------------------------------------------------------
Full Model     23785.63    6545434636666.82    9462415784807.67    0.591         0.59 
baths          23784.59    6552176660177.97    9455673761296.53    0.591         0.59 
@aravindhebbali aravindhebbali added the bug label Jun 5, 2017
@aravindhebbali aravindhebbali self-assigned this Jun 5, 2017
@aravindhebbali
Copy link
Member Author

@aravindhebbali aravindhebbali commented Jun 5, 2017

output from ols_stepaic_backward() is now properly formatted.

> library(olsrr)
> library(caret)
> data("Sacramento")

> lm_fit2 <- lm(price  ~ beds + baths + log(sqft), data = Sacramento)
> ols_stepaic_backward(lm_fit2)


                         Backward Elimination Summary                          
-----------------------------------------------------------------------------
Variable         AIC           RSS            Sum Sq       R-Sq     Adj. R-Sq 
-----------------------------------------------------------------------------
Full Model     23785.63    6.545435e+12    9.462416e+12    0.591         0.59 
baths          23784.59    6.552177e+12    9.455674e+12    0.591         0.59 
-----------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.