CentralCompositeDesign

open class CentralCompositeDesign @JvmOverloads constructor(twoLevelDesignItr: FactorialDesign.FactorialDesignIterator, val numFactorialReps: Int = 1, val numAxialReps: Int = 1, val numCenterReps: Int = 1, val axialSpacing: Double, name: String? = null) : Identity, ExperimentalDesignIfc(source)

A central composite design represent a two-level factorial design that has been augmented with a center point and axial point to enable the modeling of quadratic response surface models.

This base class specifies a circumscribed central composite design. Thus, the extreme values for the high and low settings for the factors will be exceeded. Care must be taken to ensure that the values for the axial points are valid values for the design factors in the original parameter space.

Parameters

twoLevelDesignItr

an iterator to the points in the factorial or fractional factorial design

numFactorialReps

the number of replications at each point in the factorial design. The default is 1.

numCenterReps

the number of replications for the center point in the factorial design. The default is 1.

numAxialReps

the number of replications for the axial points in the factorial design. The default is 1.

axialSpacing

the axial spacing in coded units for the design. The axial spacing must be greater than 0.0. The user is responsible for selecting an appropriate axial spacing value that determines the quality of the design.

Constructors

Link copied to clipboard
constructor(twoLevelFactorialDesign: TwoLevelFactorialDesign, numFactorialReps: Int = 1, numAxialReps: Int = 1, numCenterReps: Int = 1, axialSpacing: Double, name: String? = null)

A central composite design represent a two-level factorial design that has been augmented with a center point and axial point to enable the modeling of quadratic response surface models.

constructor(factors: Set<TwoLevelFactor>, numFactorialReps: Int = 1, numAxialReps: Int = 1, numCenterReps: Int = 1, axialSpacing: Double, name: String? = null)

A central composite design represent a two-level factorial design that has been augmented with a center point and axial point to enable the modeling of quadratic response surface models.

constructor(twoLevelDesignItr: FactorialDesign.FactorialDesignIterator, numFactorialReps: Int = 1, numAxialReps: Int = 1, numCenterReps: Int = 1, axialSpacing: Double, name: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
override val factorNames: List<String>

The names of the factors within a list.

Link copied to clipboard
override val factors: Map<String, Factor>

The factors associated with the design held by name.

Link copied to clipboard
Link copied to clipboard
val numAxialReps: Int = 1
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
override fun centerPoint(): DoubleArray

Makes a center point for the factors of the design in the original measurement units

Link copied to clipboard
open override fun designIterator(replications: Int?): DesignPointIteratorIfc

Returns an iterator that produces the design points in order from 1 to the number of design points.

Link copied to clipboard
open operator override fun iterator(): Iterator<DesignPoint>