Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- JMP User Community
- :
- Discussions
- :
- Discussions
- :
- JMP Script: Random Functions

- Start Article
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Feb 5, 2014 1:04 PM
(4186 views)

Hi Folks,

I am trying to use a variety of random functions for continuous plots. I find that many exist in JSL, but many do not. Am I missing something here? If you look below you will see in blue the expressions that exist, while those in black do not and I list the variables that I would expect them to take.

Thanks

random normal**(**mu, sigma**)**;

random log normal**(**mu, sigma**)**;

random weibull**(**beta, alpha**)**; //flipflopped ==> alpha, beta

random weibull threshold; //alpha, beta, theta

random extreme vaule**()**; //lamda, delta

random exponential **()**; //sigma

random gamma **(**lamda, scale**)**; //not enough variables

ramdom beta **()**; //alpha, beta, theta, sigma

random normal mixture**([**meanvec**]**,**[**sdvec**]**,**[**probvec**])**;

random johnson su**(**gamma, delta, theta, sigma**)**;

random johnson sb**(**gamma, delta, theta, sigma**)**;

random johnson sl**(**gamma, delta, theta, sigma**)**;

random glog**(**mu, sigma, lambda**)**;

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

The available random functions are listed in the Scripting Index (Help Menu).

I found these in JMP 10. There is a bunch of new functions in version 11.

Eval List**({**

Random Beta**(** **1**, **1**, **0**, **1** **)**,

Random LEV**(** **10**, **5** **)**, // Extreme value dist.

Random Exp**()** * **2**, // Exponential, λ = 2

Random Weibull**(** **3**, **20** **)** + **5** //Theta = 5

**}**

**)**

**{0.363363575496819, 6.33214952243719, 1.30944855321776, 13.3691613532646}**

2 REPLIES 2

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

The available random functions are listed in the Scripting Index (Help Menu).

I found these in JMP 10. There is a bunch of new functions in version 11.

Eval List**({**

Random Beta**(** **1**, **1**, **0**, **1** **)**,

Random LEV**(** **10**, **5** **)**, // Extreme value dist.

Random Exp**()** * **2**, // Exponential, λ = 2

Random Weibull**(** **3**, **20** **)** + **5** //Theta = 5

**}**

**)**

**{0.363363575496819, 6.33214952243719, 1.30944855321776, 13.3691613532646}**

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: JMP Script: Random Functions

Thanks MS. I totally just mistyped the Beta one. For the others that makes sense.

Do you know with the LEV how that correlates to the Lambda and Delta values that come from JMP distribution analysis? JSL asks for random LEV**(**mu, signma**)**

I tried running them as just the mu and sigma that JSL requests, but that does not work. I cannot find any connections online, but I do not know these statistics themselves that well.

For Gamma, a 500,000 point simulation suggests that the lambda that JSL asks for random gamma **(**lamda, scale**)**is the alpha from the estimate and the scale is the scale/sigma, but can anyone definitively confirm? I assume threshold is just a shift at the end (e.g +0 for the example below).

Why does JMP sometimes use the same letters and/or names, but others times not. Lambda vs alpha, scale and scale, scale vs sigma.

Thanks

Message was edited by: Andrew Claus