Hello, I'm new to alteryx. I need help storing variables from the linear regression I am running with p-values less than 0.05.
What i'm trying to do is similar to this thread (https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Pulling-data-from-Linear-Regression-report-output/td-p/608) but I only want variables with less than 0.05 p-value.
I tried tweaking Dr.Dan's code hy adding "[which(mod.obj$coefficients[, 4] <0.05)]" after mod.obj$coefficients but I realized it wasn't the regression summary table it was calling so column 4 does not exist. How can I specify what variables to store based on p-value?