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.

Challenge #140: Prove the Birthday Paradox!

Asteroid

I hit 75% at 36 and 90% at 42.

WC140 Results.png

Spoiler
WC140 BirthdayWorkflow.pngWorkflowWC140 BirthdayMacro.pngMacro
Alteryx
Alteryx

Went the iterative macro route first but when I saw it took almost a minute for 1k iterations per group I decided to take the direct route

 

2.1s for 1k iterations (75% at 33 and 90% at 40)

8.6s for 10k iterations (75% at 32 and 90% at 41)

 

 

Sr. Learning Strategy Manager
Sr. Learning Strategy Manager

Some of you may have been able to recognize this problem type, some of you may have not! For those who arrived on an answer - you've just made a Monte Carlo simulation!

 

Not so hard, right?

 

Alteryx Certified Partner

not sure I did this correctly

Alteryx Certified Partner
 
Meteor

Bit late to the (birthday) party. My solution-trying to avoid using a macro and accounting for gap years:

 

Chart_140.PNG

 

 

Spoiler
Screenshot_140.PNG

 

Comet

My solution

Alteryx Partner

For someone being born a 29th February, thanks for this ;D

 

 

 

 

Screen Shot 2018-11-15 at 10.39.29.png

 

 

 

Spoiler


Screen Shot 2018-11-15 at 10.46.47.png

 

Alteryx Partner

Solution attached. I built a batch macro upon an iterative macro. It is fun!

Scatter plot.PNG

 

Spoiler
140.PNG
Spoiler
Spoiler
Batch Macro.PNG
Spoiler
Iterative Macro.PNG