Weekly Challenge

Solve the challenge, share your solution and summit the ranks of our Community!
IDEAS WANTED

We're actively looking for ideas on how to improve Weekly Challenges and would love to hear what you think!

Submit Feedback
We've recently made an accessibility improvement to the community and therefore posts without any content are no longer allowed. Please use the spoiler feature or add a short message in the message body in order to submit your weekly challenge.

Challenge #141: Examination Data Simulation

Highlighted
Alteryx Community Team
Alteryx Community Team

 

 

Generating sample data to represent a population is key for many types of analyses! In this workflow, we have a list of 1000 people and we want to simulate a a test score for each person. For each person, randomize a score for the exam, but we're not going to make it that easy!

You'll need to generate the simulated scores under these conditions:
1) The lowest possible test score is a 50%, while the highest is a 90%
2) The simulated score must be 'randomly' generated as a normal distribution, where the population mean is 70%.
3) After creating the simulated test results, build a chart view to prove you have achieved a 'random' normal distribution by binning each score to the nearest point.

 


chart.png

Stuck? Hint 1

Spoiler
Did I say 'simulation'?

Hint 2

Spoiler
You might have a hard time without the free predictive tools installed.

Hint 3

Spoiler
Oh, cool! There's a tool that simulates sample data! *Cough* Simulation Sampling *Cough* *Cough*

 

 

Highlighted
16 - Nebula
16 - Nebula
Spoiler
Capture.PNG
Highlighted
8 - Asteroid
 
Highlighted
12 - Quasar
Spoiler
141_WF.PNG

 

141_Plot.PNG

Highlighted
6 - Meteoroid
 
Highlighted
8 - Asteroid
Spoiler
Thanks to that one tool, that was much simpler than I thought it would be.  Just had to figure out how to get it configured, then it was all down hill.
Highlighted
Alteryx Certified Partner
Alteryx Certified Partner
 
Highlighted
Alteryx
Alteryx

Great example of an iterative development...build, run, check, tweak...run again, check, tweak etc etc  Got there eventually.

 

 

Highlighted
12 - Quasar
12 - Quasar

Simulation.JPG

Mine looks a lot like the picture - first time using this tool!

Spoiler
Not sure why 5 standard deviations seemed to work. It just was where the extremes became 50 and 90.  Was trying to calculate what it 'should' be, but began experimenting with the setup...again limited experience with this tool....will have to read more about it!Sumulation2.JPG
12 - Quasar

It was time to try out the Python tool :)

 

Spoiler
Challenge #141 py.PNGChallenge #141.PNG

Challenge #141 graph.PNG