SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 47222: If the base case value is missing, the pricing method is not run for non-base case market states; results based on output variables can be incorrect

DetailsHotfixAboutRate It

In SAS® Risk Dimensions®, the following apply if the base case value for a position is missing:

  • The pricing method is not run for the non-base case market states.
  • The output variables for non-base case market states remain initialized to zero (0).
This can cause the PL (profit/loss) statistic in the Scen data set to be incorrect. It also introduces an inconsistency between the BaseCaseValue and PL statistics in the SimStat data set.

What should occur is: if the base case value for a position is missing, then the position should have no effect on any output variable.

There are no warnings or errors.

Either of the following workarounds can be used:

  • Remove the positions from the portfolio that have the missing values for the base case.
    • Check the Errors data set to identify positions that have missing values for the base case position.
    • Remove the positions that have missing values for the base case position from the portfolio and then re-create the portfolio file.
    • Rerun the READ statement to re-create the portfolio file either from the Portfolios tab of the UI or by using a PROC RISK step.
  • Include code like the following at the end of each pricing method:
    if (_value_ = .) then do; ov1=.; /* adjust for other outvars */ end;
    This example code
    • Initializes "ov1" (a generic, example "output variable 1") to missing.
    • Should be added for all output variables in the methods, adjusting as needed for the specific output variable names.
    • Should be used if additional output variables are added to a risk environment, method, or an analysis.


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Risk Dimensions Enterprise EditionMicrosoft® Windows® for x645.3_M15.59.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Datacenter Edition5.3_M15.59.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition5.3_M15.59.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Standard Edition5.3_M15.59.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 for x645.3_M15.59.2 TS2M39.3 TS1M0
Microsoft Windows Server 20085.3_M15.59.2 TS2M39.3 TS1M0
Microsoft Windows Server 2008 for x645.3_M15.59.2 TS2M39.3 TS1M0
Microsoft Windows XP Professional5.3_M15.59.2 TS2M39.3 TS1M0
Windows 7 Enterprise 32 bit5.3_M15.59.2 TS2M39.3 TS1M0
Windows 7 Enterprise x645.3_M15.59.2 TS2M39.3 TS1M0
Windows 7 Home Premium 32 bit5.3_M15.59.2 TS2M39.3 TS1M0
Windows 7 Home Premium x645.3_M15.59.2 TS2M39.3 TS1M0
Windows 7 Professional 32 bit5.3_M15.59.2 TS2M39.3 TS1M0
Windows 7 Professional x645.3_M15.59.2 TS2M39.3 TS1M0
Windows 7 Ultimate 32 bit5.3_M15.59.2 TS2M39.3 TS1M0
Windows 7 Ultimate x645.3_M15.59.2 TS2M39.3 TS1M0
Windows Vista5.3_M15.59.2 TS2M39.3 TS1M0
Windows Vista for x645.3_M15.59.2 TS2M39.3 TS1M0
64-bit Enabled AIX5.3_M15.59.2 TS2M39.3 TS1M0
64-bit Enabled HP-UX5.3_M15.59.2 TS2M39.3 TS1M0
64-bit Enabled Solaris5.3_M15.59.2 TS2M39.3 TS1M0
HP-UX IPF5.3_M15.59.2 TS2M39.3 TS1M0
Linux5.3_M15.59.2 TS2M39.3 TS1M0
Linux for x645.3_M15.59.2 TS2M39.3 TS1M0
Solaris for x645.3_M15.59.2 TS2M39.3 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.