14.03.2014 Views

Download Jmp User Guide

Download Jmp User Guide

Download Jmp User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix C Formula Functions Reference 487<br />

Random Functions<br />

Random Poisson<br />

Generates a Poisson variate based on the value of the parameter, lambda, you enter as the function<br />

argument. Lambda is often a rate of events occurring per unit time or unit of area. Lambda is both the<br />

mean and the variance of the Poisson distribution.<br />

Random Gamma Poisson<br />

Returns random numbers from the gamma Poisson distribution with parameters lambda and sigma.<br />

Random Weibull<br />

Returns a random number from a Weibull distribution.<br />

Random Lognormal<br />

Returns a Lognormal-distributed random number with location parameter mu and scale parameter<br />

sigma.<br />

Random GLog<br />

Returns random numbers from the generalized logarithm distribution with parameters mu, sigma, and<br />

lambda. When lambda is equal to zero, the function returns a lognormal(mu, sigma).<br />

C Formula Functions Reference<br />

Random Reset<br />

Restarts the random number sequences with a seed you specify.<br />

Col Shuffle<br />

Selects a row number at random from the current data table. Each row number is selected only once.<br />

When Col Shuffle is used as a subscript, it returns a value selected at random from the column that<br />

serves as its argument. Each value from the original column is assigned only once as Shuffle’s result.<br />

For example, to identify a 50% random sample without replacement, use the formula in Figure C.18.<br />

Figure C.18 Formula Identifying 50% Random Sample<br />

The formula in Figure C.18 selects half the values (n/2) from the column x and assigns them to the first<br />

half of the rows in the computed column. The remaining rows of the computed column fill with<br />

missing values.<br />

Resample Freq<br />

Generates a random selection with replacement frequency counts, suitable for use in bootstrapping. For<br />

example, it supports a second Freq Column argument, enabling it to do bootstrap samples relating to a<br />

pre-existing frequency column specified in the second argument. Resample Freq() generates 100%<br />

resample. Resample Freq(fraction) generates fraction*nrow frequency sample, and Resample<br />

Freq(n) generates an n*nrow frequency sample.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!