14.03.2014 Views

Scripting Guide - SAS

Scripting Guide - SAS

Scripting Guide - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Chapter 10 <strong>Scripting</strong> Platforms 327<br />

Additional Notes<br />

Tuning Commands<br />

Starts, Sphere Radius, Disallowed Combinations, Advanced Options (Search<br />

Points Per Factor, Mixture Sum, Split Plot Variance Ratio, Number of Monte<br />

Carlo Samples, N Monte Carlo Spheres), Add Response, Add Factor, Add Term,<br />

Add Potential Term, Add Constraint, Make Model, Make Design, Make Table, Set<br />

Sample Size, Set N Whole Plots, Set N Subplots, Set Runs Per Random Block,<br />

Make Strip Plot Design, Center Points, Replicates, Report, Prior Parameter<br />

Variance, Theta(a vector that applies to only Maximum Entropy and IMSE<br />

designs, Entropy, Sphere Packing, Latin Hypercube, Uniform, Minimum<br />

Potential, IMSE<br />

There are scripting commands that let you predefine guidelines for the design search by the custom<br />

designer. The following commands are described briefly here, and examples also appear in the Design of<br />

Experiments.<br />

DOE Mixture Sum If you want to keep a component of a mixture constant throughout an experiment<br />

then the sum of the other mixture components must be less than one. In defining the factors, you enter<br />

the constant mixture component as a constant factor. For example, if you have a mixture factor with a<br />

constant value of 0.1, then the command<br />

DOE Mixture Sum = 0.9;<br />

constrains the remaining mixtures factors to sum to 0.9 instead of the default 1.0.<br />

DOE Starts is the number of random starts used by the custom designer. In some situations, the default<br />

number of starts might not produce the design that you want. You can increase the number of starts<br />

with the DOE Starts command. For example, submitting the JSL statement<br />

DOE Starts = 100;<br />

overrides the default number of starts and sets the number of starts to 100.<br />

DOE Starting Design For example,<br />

DOE Starting Design = matrix;<br />

replaces the random starting design with a specified matrix. If a starting design is supplied, the custom<br />

designer has only one start using this design.<br />

DOE Search Points Per Factor For a linear model, the coordinate exchange algorithm in the custom<br />

designer only considers the high and low values by default. Suppose the low and high values for a factor<br />

are -1 and 1 respectively. If you submit the JSL command:<br />

DOE Search Points Per Factor = 11;<br />

then for each row, the coordinate exchange algorithm checks the eleven values, –1, -0.8, –0.6, –0.4,<br />

–0.2, 0, 0.2, 0.4, 0.6, 0.8, 1.0.<br />

DOE K Exchange Value By default, the coordinate exchange algorithm considers every row of factor<br />

settings for possible replacement in every iteration. Some of these rows might never change. For example<br />

DOE K Exchange Value = 3;<br />

sets this value to a lower number, three in this case, so the algorithm only considers the most likely three<br />

rows for exchange in each iteration.

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

Saved successfully!

Ooh no, something went wrong!