Confidence intervals with linear regression?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi all,
In R you can call a linear regression with lm and add the argument "conf.int = TRUE" to get confidence intervals for each variable in the regression. Using the R based linear regression tool in Alteryx, is there a way to get those confidence intervals to appear? If not, is there a way to use the R tool to add them? Thanks!
Aaron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello @aweiner
Tools leveraging R in Alteryx are built as macros which can be edited.
Right click the tool and select to open macro. From there you will see an R with the underlying code which you should be able to modify as you need.
Hope this helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @aweiner - take a look at the Score Tool. The Score Tool gives you in the option to Include a Confidence Interval with a checkbox - super easy. See screenshot below. Let me know if this helps!
