Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Knowledge Base

Definitive answers from Designer Desktop experts.

Linear Regression | Alteryx 11.0

Ozzie
Alteryx
Alteryx
Created
PRODUCT: Alteryx Designer or Alteryx Server

 

VERSION: 11.0

 

LAST UPDATE: 02/13/2017

 

ATTACHMENT: None 


With the release of 11.0, we see numerous changes to many tools in the Designer. The Linear Regression Tool gets a UI makeover and some cool new features are added that we will explore in this article. If you are new to performing regression analysis in Alteryx, I highly recommend checking out the Tool Mastery article which goes into everything there is to the old tool. Everything presented in that article remains valid as no features were removed. In this article, we will delve into the changes and new features:

 

 new interface.pngold interface.png

 

 

 

 

 

 

 

 

 

 

 

 

 

New Interface                                                                                                             Old Interface

 

 

On the first page, you can see that most of the changes here are aesthetic. The two check boxes for model constant and weighted variable are moved to the second page when you go click “Customize”.

 

In the Customize menu there are three tabs. Model, Cross-validation, and Plots.

In Model, you have the two check boxes from before for model constant and weighted variable. We also have a new option for performing regularized regression.

 

customize.png

 

Here we can enter or scroll to our desired alpha value, choose whether or not we want to standardize our predictor variables and cross-validate the regularized regression. We can also cross-validate a non-regularized model by enabling cross-validation in the “Cross-validation” tab.

 

The Plots tab is the same as the “Graphics Options” tab from the old version except if you enable regularized expression, you will get the option to “Display Graphs” which show four graphs in the R output if enabled.

 

Speaking of the outputs, there is still an O and an R output but now there is an I output. There are no changes in the model object (O output). If you are not performing regularized expression, there is no change here either. If you are doing regularized expression, you will get a table of the model coefficients. If “Display graphs” was checked you will get four graphs that will tell you more about the regularized model: Mean-Squared Error vs log of lambda, absolute value of individual coefficients vs fraction of deviance explained, Absolute value of individual coefficients vs L1 norm of all coefficients and Absolute value of individual coefficients vs log of lambda.

 

The I output is where things get very interesting. From this output, you get an interactive dashboard of the results presented in the R output. In the “Summary” tab, are some stats as well as a cool table of your coefficients that you can customize to display more information.

 

summary.png

 

The model performance tab gives you some more insight on the residuals and standard error. A scatter plot of predicted vs actual values is plotted. Below you get some error values as well as a histogram for the residual values.

 

modelperf1.png

modelperf2.png

  

On the “Diagnostics” tab you get four graphs describing the residuals: Residuals vs. Fitted Values, Root-Residuals vs Fitted Values, QQ Plot and Residuals vs. Leverage.

 

residuals.png

Comments
Aguisande
15 - Aurora
15 - Aurora

 

Is there any way to show P's & t's values on the reports, when you use Model Customization and/or Cross Validation?