Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Confidence intervals with linear regression?

aweiner
7 - Meteor

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

2 REPLIES 2
gautiergodard
13 - Pulsar

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.

gautiergodard_0-1672163484981.png

gautiergodard_1-1672163589223.png

Hope this helps!

 

dana_mcdonough
Alteryx Alumni (Retired)

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!

dana_mcdonough_0-1672174117740.png

 

Labels
Top Solution Authors