14.03.2014 Views

Modeling and Multivariate Methods - SAS

Modeling and Multivariate Methods - SAS

Modeling and Multivariate Methods - 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.

598 Visualizing, Optimizing, <strong>and</strong> Simulating Response Surfaces Chapter 24<br />

The Simulator<br />

Table 24.4 Factors <strong>and</strong> Responses for a Financial Simulation<br />

Unit Sales r<strong>and</strong>om uniform between 1000 <strong>and</strong> 2000<br />

Inputs<br />

(Factors)<br />

Outputs<br />

(Responses)<br />

Unit Price fixed<br />

Unit Cost r<strong>and</strong>om normal with mean 2.25 <strong>and</strong> std dev 0.1<br />

Revenue formula: Unit Sales*Unit Price<br />

Total Cost formula: Unit Sales*Unit Cost + 1200<br />

Profit formula: Revenue – Total Cost<br />

The following JSL script creates the data table below with some initial scaling data <strong>and</strong> stores formulas into<br />

the output variables. It also launches the Profiler.<br />

dt = newTable("Sales Model");<br />

dt

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

Saved successfully!

Ooh no, something went wrong!