Products & Services Solutions Academia Support User Community Company

Learn more about Model-Based Calibration   

Creating a Space-Filling Design

Introducing Space-Filling Designs

Space-filling designs should be used when there is little or no information about the underlying effects of factors on responses. For example, they are most useful when you are faced with a new type of engine, with little knowledge of the operating envelope. These designs do not assume a particular model form. The aim is to spread the points as evenly as possible around the operating space. These designs literally fill out the n-dimensional space with points that are in some way regularly spaced. These designs can be especially useful in conjunction with nonparametric models such as radial basis function (a type of neural network).

  1. Add a new design by clicking the button in the toolbar or select File > New.

  2. Select the node in the tree by clicking. An empty Design Table appears if you have not yet chosen a design. Otherwise, if this is a new child node the display remains the same, because child nodes inherit all the parent design's properties.

  3. Select Design > Space Filling > Design Browser, or click the Space Filling Design button on the toolbar.

  4. A dialog box appears if there are already points from the previous design. You must choose between replacing and adding to those points or keeping only fixed points from the design. The default is replacement of the current points with a new design. Click OK to proceed, or Cancel to change your mind.

The Space Filling Design Browser appears.

Setting Up a Space-Filling Design

For all design types, you can edit these settings:

Halton Sequence

Halton Sequence designs are generated from the haltonset class in the Statistics Toolbox™ software. The Halton sequence is a low-discrepancy point set where the coordinate values for each dimension are generated by forming the radical inverse of the point's index, using a different prime base for each dimension. For more information see the Statistics Toolbox documentation.

Settings

For Halton sequence designs, you can choose the following options:

Sobol Sequence

Sobol sequence designs are generated from the sobolset class in the Statistics Toolbox software. The Sobol sequence is a low-discrepancy (t,s)-sequence in base 2. For more information see the Statistics Toolbox documentation.

Settings

For Sobol sequence designs, you can choose the following options:

Latin Hypercube Sampling

Latin Hypercube Sampling (LHS) designs are sets of design points that, for an N point design, project onto N different levels in each factor. In this design, the points are generated randomly. You choose a particular Latin Hypercube by trying several such sets of randomly generated points and choosing the one that best satisfies user-specified criteria.

Settings

For both Latin Hypercube Sampling and Stratified Latin Hypercube, you can choose the following options:

Lattice

Lattice designs project onto N different levels per factor for N points. The points are not randomly generated but are produced by an algorithm that uses a prime number per factor. If good prime numbers are chosen, the lattice spreads points evenly throughout the design volume. A poor choice of prime numbers results in highly visible lines or planes in the design projections. If all the design points are clustered into one or two planes, it is likely that you cannot estimate all the effects in a more complex model. When design points are projected onto any axes, there are a large number of factor levels.

For a small number of trials (relative to the number of factors) LHS designs are preferred to Lattice designs. This is because of the way Lattice designs are generated. Lattice designs use prime numbers to generate each successive sampling for each factor in a different place. No two factors can have the same generator, because in such cases the lattice points all fall on the main diagonal of that particular pairwise projection, creating the visible lines or planes described above. When the number of points is small relative to the number of factors, the choice of generators is restricted and this can lead to Lattice designs with poor projection properties in some pairwise dimensions, in which the points lie on diagonals or double or triple diagonals. This means that Latin Hypercube designs are a better choice for these cases.

See the illustrations in the following section comparing the properties of good and poor lattices and a hypercube design.

Settings

For a Lattice space-filling design, you can choose:

Stratified Latin Hypercube

Stratified Latin Hypercubes separate the normal hypercube into N different levels on user-specified factors. This can be useful for situations where the preferred number of levels for certain factors might be known; more detail might be required to model the behavior of some factors than others. They can also be useful when certain factors can only be run at given levels.

The preceding example shows the different properties of a poor lattice (left) and a good lattice (right), with a similar number of points. The poorly chosen prime number produces highly visible planes and does not cover the space well.

An example of an LHS design of the same size is shown for comparison with the preceding lattice examples.

Settings

See Latin Hypercube Sampling, the options are the same.

Comparing Latin Hypercube and Stratified Latin Hypercube

Latin Hypercube Sampling and Stratified Latin Hypercube Sampling differ only in that with Stratified Latin Hypercube Sampling, you can restrict the number of levels available to each factor. If the number of stratifications equals the number of points in the design, then both Latin Hypercube Sampling and Stratified Latin Hypercube Sampling give the same results. However, if the number of stratifications in a given factor is less than the number of points in the design, then some points will be projected onto the same values in that factor. You can see this change by using the one-dimensional design projection view in the Design Editor.

Augmenting Space-Filling Designs

You can progressively augment Halton and Sobol sequence space-filling designs to add points with the same sequence parameters. The following method allows you to add points to your original space-filling sequence, preserving the original points and adding new ones with the same sequence parameters.

To augment a space-filling design without losing existing points or space-filling properties:

  1. Create a Halton or Sobol sequence space-filling design.

      Warning   If you want to add constraints, you must first create a child design and constrain that. If you do not create a child design, when you add constraints you lose the original space-filling settings and then you cannot augment the sequence. With constraints, the design type changes to Custom and you cannot access the original sequence settings to add new points.

  2. To preserve your original design when you add new points, create a child design of your original unconstrained design. Select your design, and click the New Design button in the toolbar, or select File > New.

    The new child design, identical to the parent, is selected in the tree.

  3. Select File > Properties.

    The Design Properties dialog box opens.

  4. Select the Space-Filling tab.

  5. Enter the desired new total number of points in the Number of points edit box.

    Leave the other settings unchanged.

  6. Click OK.

    The Design Editor augments your original design by adding points up to the new total number of points, with the same space-filling sequence parameters as your original Halton or Sobol sequence.

  7. Use the pairwise view, switching between the parent and child designs to visually verify that the new points have been added while preserving your original points.

Augmentation Restrictions

You can only augment Halton and Sobol sequence space-filling designs with this method that uses the original sequence settings.

You can augment any Halton sequence, but for Sobol sequences, you must use the default No skip setting.

You cannot achieve the same result by selecting any Design > Space Filling menu option and selecting the Augment option, because doing so will keep your existing points, but will generate the additional points with a new space-filling sequence.

You cannot augment a constrained design in this way. When you add constraints, the design type changes to Custom. You can no longer access the original sequence settings on the Space-Filling tab. If you want to add constraints, you must create a child design and constrain it. This approach preserves the original space-filling sequence design.

You cannot use this method with Latin Hypercube or Lattice designs as they always create a completely new design.

You cannot achieve the same result by using the Add Design Points dialog box because that dialog box only allows you to add optimal, custom, or random points.

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS