25.10.2016 Views

SAP HANA Predictive Analysis Library (PAL)

sap_hana_predictive_analysis_library_pal_en

sap_hana_predictive_analysis_library_pal_en

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The projected estimates are single point estimates of each data point and the analysis provides a single point<br />

value of project net present value (NPV). This is referred to as deterministic modeling, which is in contrast to<br />

probabilistic modeling whereby we examine the probability of outcomes, for example, what is the probability of<br />

a NPV greater than zero. Probabilistic modeling is also called Monte Carlo Simulation.<br />

Monte Carlo Simulation is used in our example to estimate the net present value (NPV) of the investment. The<br />

equations used in the simulation are:<br />

For each year i=0, 1, ..., k<br />

Product margin(i) = product revenue(i) – product cost(i)<br />

Total profit(i) = product margin(i) – overhead(i)<br />

Cash flow(i) = total profit(i) – capital investment(i)<br />

Suppose the simulation covers k years’ time periods and the discount rate is r, the net present value of the<br />

investment is defined as:<br />

Technology Background<br />

Monte Carlo Simulation is a computational algorithm that repeatedly generates random samples to compute<br />

numerical results based on a formula or model in order to obtain the unknown probability distribution of an<br />

event or outcome.<br />

In <strong>PAL</strong>, the Random Distribution Sampling, Distribution Fitting, and Cumulative Distribution algorithms may be<br />

used for Monte Carlo Simulation.<br />

Implementation Steps<br />

Assume that:<br />

●<br />

●<br />

●<br />

DM_<strong>PAL</strong> is a schema belonging to USER1; and<br />

USER1 has been assigned the AFLPM_CREATOR_ERASER_EXECUTE role; and<br />

USER1 has been assigned the AFL__SYS_AFL_AFL<strong>PAL</strong>_EXECUTE or<br />

AFL__SYS_AFL_AFL<strong>PAL</strong>_EXECUTE_WITH_GRANT_OPTION role.<br />

Step 1<br />

Input the given estimates (single point deterministic values) for product revenue, product costs, overheads,<br />

and capital investment. In this example, the time periods are 5 (from year 1 to year 5).<br />

The probability distribution for each variable is assumed as follows:<br />

●<br />

●<br />

Product Revenue:<br />

Normal distribution and the mean and standard deviation are listed in the following table.<br />

Product Costs:<br />

Normal distribution and the mean and standard deviation are listed in the following table.<br />

<strong>SAP</strong> <strong>HANA</strong> <strong>Predictive</strong> <strong>Analysis</strong> <strong>Library</strong> (<strong>PAL</strong>)<br />

End-to-End Scenarios P U B L I C 557

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

Saved successfully!

Ooh no, something went wrong!