community
cancel
Showing results for 
Search instead for 
Did you mean: 
Do you have the skills to make it to the top? Subscribe to our weekly challenges. Try your best to solve the problem, share your solution, and see how others tackled the same problem. We share our answer too.
Weekly Challenge
Do you have the skills to make it to the top? Subscribe to our weekly challenges. Try your best to solve the problem, share your solution, and see how others tackled the same problem. We share our answer too.
Unable to display your progress at this time. Please try again a little later, or contact an administrator if you continue to see this error.
Announcement | Get certified today - take the Alteryx Designer Core and Advanced exams on-demand now!

Challenge #18: Predicting Baseball Wins

Asteroid

Without taking a peak at anyone's work, I selected those ten highly correlated variables and create the linear regression; if you add the Win_Pct to the variables, it basically returns the same amount of wins. In addition of the R squared and adjusted R squared values being very low, almost none of the variable have good Pr values which makes them a low confidence predictors.

 

But the results match what was requested.

Asteroid

Hello there @samjohnson

 

I enjoyed looking at your solution; I would have liked to see the macro you mention work, but I do not have installed on my computer. I do like the fact you point out that choosing highly correlated variable may push the model not to correctly predict. It was nice seeing those PCAs in action; thanks for sharing.

Highlighted
Meteor

Thanks @JORGE4900 for the kind words.

 

Challenge #18 posed an interesting conundrum: the challenges have presented "solutions" that everyone works towards with the goal of reproducing them. This is a key difference between developing a software solution and predictions. Software solutions can take many paths to one goal while predictive modeling can take many paths with multiple predictive solutions, or probabilities. Development is about certainty--get me from here to there with this software--while predictive modeling is about taking many paths to a probabilistic answer, whether that's a value between 0 and 1 or a value prediction such as baseball wins.

 

I'd like to see Alteryx support the rise of the "citizen data scientist" and focus on more tools that emphasize the predictive modeling tools and newer functionality in the data science community such as natural language processing and deep learning, consistent support for cross-validation (today it's built into some tools and not others), fix the problems with the wonderful but flawed Model Comparison tool, add support for hierarchical (and even non-numeric) clustering and cluster validation--does this data actually support 4 clusters?--and many other areas. 

 

As a practicing data scientist and leader of a team of 5, Alteryx can become one of the most powerful tools in our belts. It already is, but Alteryx support for the "process" of data science can make it even more powerful.

Asteroid

That is right @samjohnson

 

I guess that I would also like to see more support for the "citizen data scientist" as well; on the meantime, I came across Udacity's nanodegree program on Alteryx and Tableau and registered so that I could learn more about predictive analytics. On the other hand, I do like looking at everybody's approach to solving the weekly challenges because every individual takes a different path to get to the same answer. 

 

Talk to you soon; take care.

 

Best regards,

 

Jorge

Bolide

Perhaps an alternative to this correlation analysis could be a multiple regression.

 

A multiple regression analysis would be done with independent variables that have a correlation coefficient less than 0.7 (as multicollinearity can cause other independent variable to seem statistically insignificant from 0) to find a statistically significant result.

Alteryx Partner
Spoiler
18.PNG
Alteryx Partner

Took me some time to figure out how to bring back the 10 selected variables...still not used to transpose/crosstab

Spoiler
SPOILERch18.png
Asteroid

This was a fun one! 

Fireball

Wasn't sure what games back meant until i looked at the desired output. Not too bad for first time using predictive tools

Bolide
Bolide

Love the predictive tools!  This was fun.