From charlesreid1

The Monte Carlo code for experimental design consists of several parts:

1. ToyProblem_cmr.m - The toy problem function (this is the function being sampled)

2. MonteCarlo.m - The Monte Carlo driver

3. MakeResponseSurface.m - A function to create a response surface and analyze data

4. allLV1.m - A function to create permutations (used to generate polynomial powers)

Part 1: Monte Carlo routine: creating the sample points, looping over each sample point, evaluating the function at each sample point

Part 2: Postprocessing: fit a function to the data, plot the raw data points, plot the polynomial function, print useful information about the model

See Also