Our World Statistics Day conversations have been a great reminder of how much statistics can inform our lives. Do you have an example of how statistics has made a difference in your life? Share your story with the Community!
Choose Language Hide Translation Bar
Probability functions in the JMP Scripting Index

At the recent JMP Discovery Summit, I overheard a conversation between a professor and one of the JMP developers, Clay Barker. The professor was interested in understanding tools available for generating distributions in JMP.

My first thought (although I was just a fly on the wall) was to suggest the Distribution Calculator, one of the interactive tools available for teaching statistical concepts.

But, Clay had another suggestion, which caught me off guard (mostly because I wasn’t aware that it existed). Clay showed the professor the Probability Functions in the Scripting Index (under the help menu). This function group provides JSL code to generate density functions for a number of popular distributions. Simply select the desired density function, and click Run Example.

Then, click and drag the slider(s) to see how the shape of the distribution changes as the parameter(s) of the distribution change – use your hand tool to adjust the axes as needed.

You can also use the probability functions to quickly calculate quantiles (or percentiles) for selected distributions. For example, for the standard normal distribution, the 0.9 quantile (or 90th percentile) is 1.2815. Looking for a different quantile? Simply change the value in the example script provided, and click Run Example.

Sometimes it pays to be a fly on the wall – you never know what you’ll learn (especially if you’re lucky enough to spend any time with our developers)!

Article Labels

    There are no labels assigned to this post.

Article Tags

Richard Giambrone wrote:

Excellent tip. Thanks. I good way to learn scripting as well.


Michael Crotty wrote:

JSL also has lots of functions for generating data based on a particular distribution. You can find these functions under the Random category in the Scripting Index.