For the latest version of JMP Help, visit JMP.com/help.


Profilers > Simulator > Launch the Simulator > Factors Simulation Settings
Publication date: 11/10/2021

Factors Simulation Settings

By default, factors (inputs) and responses (outputs) are defined by the functions that you select when the Profiler is launched. Simulation options enable you to modify how your factors and responses are simulated. There are controls for location, error, and noise.

Fixed

Fixes the factor at the current value in the profiler for all simulation runs.

Random

Draws a random value of the factor for each simulation run from the specified distribution and distributional parameters. When you select Random, distribution options appear. For more information about the options, see Continuous Factors and Categorical Factors.

Note: The default random distribution is a normal distribution with a mean at the current factor setting and a standard deviation estimated by the range of the factor divided by 5. The mean of the normal distribution is automatically updated if you change the factor setting in the profiler. There are other random distributions that also update parameters automatically when the factor settings are changed. The Triangular distribution updates all three parameters, the Cauchy distribution updates the mode, and the Johnson Su distribution updates θ.

Figure 8.5 Example of Three Random Distributions 

Example of Three Random Distributions

Expression

Generates values for the factor based on a JSL expression. This gives you flexibility to use a random distribution of your choice. For example, you could create a censored normal distribution that guaranteed nonnegative values with an expression such as the following:

Max(0,RandomNormal(5,2))

After entering the expression, click the Reset button to submit the expression.

Multivariate

Generates values for the factor based on a multivariate normal distribution. Specify the mean and standard deviation for each factor. The correlation matrix is defined separately in the X Correlation Specification report. You can use this option to accommodate correlated factors.

Figure 8.6 Defining a Correlation Matrix for the Multivariate Option 

Defining a Correlation Matrix for the Multivariate Option

Continuous Factors

Many of the distributions available use standard random functions that are described in Random Functions in Using JMP. Descriptions of the specialized distributions available follow:

Normal weighted

Generates values from a weighted normal distribution with the given mean and standard deviation. The weighting is a specific sampling scheme used to simulate rare events from the tails of the distribution. This is a good choice when you want to simulate very low defect rates. See Statistical Details for the Simulator.

Normal truncated

Generates values from a normal distribution limited by lower and upper limits. Any randomly generated value that exceeds a limit is discarded and another value is generated. This is a good choice when you want to simulate an inspection system where inputs that do not satisfy specification limits are discarded.

Normal censored

Generates values from a normal distribution limited by lower and upper limits. Any randomly generated value that exceeds a limit is set to that limit, putting a density mass at the limits. This is a good choice when you want to simulate systems where inputs that do not satisfy specification limits are reworked until they are at the specification limit.

Sampled

Generates factor values by selecting a value at random from that factor’s column in the data table.

External

Generates factor values by selecting a value at random from a column in another table. You are prompted to choose the table and column.

Note: The Aligned check box appears when you select Sampled or External. It is used when two or more factors are set to Sampled or External. When checked, the random draws come from the same row of the table. This maintains the correlation structure between two columns. If the Aligned option is used to associate two columns in different tables, the columns must have the same number of rows.

Categorical Factors

If a factor is categorical, then the random distribution is characterized by probabilities specified for each category. By default, the probabilities are set to the observed probabilities in the data table. You can change the probabilities using the handles in the plot or by changing the numerical values in the Prob column. The probabilities must sum to 1.

Note: If the probabilities that you select do not sum to 1, they are automatically regularized to sum to 1 once you click the Simulate button.

When the simulation for a factor is set to Random, a graphical representation of the random distribution density is shown. The graph shows the form of the density for the continuous distributions, and provides control points that can be dragged to change the distribution. The drag points for the Normal are the mean and the mean plus or minus one standard deviation. The Normal truncated and censored add points for the lower and upper limits. The Uniform and Triangular have limit control points, and the Triangular adds the mode.

Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).