风险管理软件CrystalBall操作指南(英文版)(doc 16页)

合集下载

风险管理工具——Crystal Ball在企业经营风险管理中的应用

风险管理工具——Crystal Ball在企业经营风险管理中的应用

风险管理工具——Crystal Ball在企业经营风险管理中的应用发表时间:2009-12-07T16:14:50.500Z 来源:《中小企业管理与科技》2009年11月上旬刊供稿作者:胡静波[导读] 但在中国,有完善的风险管理系统的企业却凤毛麟角,因此风险管理更是中国企业需要加强的一环。

胡静波(浙江长征职业技术学院)摘要:本文详细介绍了风险管理工具——Crystal Ball软件的功能,用一个制造企业的例子,构建了企业生产经营的风险分析模型,并用Crystal Ball对企业生产经营风险进行了分析。

论文说明,用Crystal Ball构建企业生产经营风险分析模型是可行的,分析结果对企业经营决策有重要的参考价值,是提高企业风险管理的有效工具。

关键词:Crystal Ball 企业经营风险管理0 引言自改革开放以来,中国的企业蓬勃发展,但大多数的企业由于没有经历大萧条的洗礼,风险管理意识比较薄弱,不少企业在经营过程中盲目扩张,一旦遇到外部环境逆向变化,常常在一夜之间轰然倒塌。

席卷全球的金融危机,正是源于对风险的失控,而在金融危机导致经济环境恶化的情形下,更使得成千上万的企业关门倒闭。

只有风险管理完善的企业不仅在此巨大的危机面前幸存,而且化危为机,又一次借千载难逢的机会壮大、发展了自己。

一个企业要基业长青,完善的风险管理是必要的一环。

据报道,在世界500强中有85%的公司,以及在美国50个顶尖MBA院校中有40个都使用Crystal Ball来进行风险管理分析或风险管理教学。

但在中国,有完善的风险管理系统的企业却凤毛麟角,因此风险管理更是中国企业需要加强的一环。

1 风险概述风险是对当事人不利的事件发生的可能性,风险的大小与三方面的因素有关:①不利事件发生的概率;②不利事件发生以后,所产生后果的严重性;③当事人对不利事件及其后果的态度。

风险的种类很多,如财务风险、时间风险、人身伤害风险、名誉风险等。

有的风险可以度量,有些则难以度量。

ORACLE CRYSTAL BALL Release 11.1.2.2.000 说明书

ORACLE CRYSTAL BALL Release 11.1.2.2.000 说明书

Release 11.1.2.2.000C ONTENTS I N B RIEFPurpose (2)New Features (2)Installation Information (2)Supported Platforms (2)Supported Languages (2)Defects Fixed in this Release (3)Known Issues (3)Tips and Troubleshooting (5)Documentation Updates (5)Accessibility Considerations (6)PurposeThis document includes important, late-breaking information about this release of Oracle Crystal Ball and related products. Review this Readme thoroughly before installing Crystal Ball.New FeaturesSee the Oracle Crystal Ball New Features.For new features relating to installation, architecture, and deployment changes in this release, see the Oracle Crystal Ball Installation and Licensing Guide.Installation InformationLate-breaking information about installation of Crystal Ball products is provided in this readme and the Oracle Crystal Ball Installation and Licensing Guide. Also see License Key Request Process.html for information about obtaining and applying a Crystal Ball license code. Review this information thoroughly before installing Crystal Ball.Supported PlatformsInformation about system requirements and supported platforms for Crystal Ball and related products is available in the Oracle Crystal Ball Installation and Licensing Guide. Also see the Oracle Enterprise Performance Management System Certification Matrix. This matrix is posted on the Oracle Fusion Middleware Supported System Configurations page on the Oracle Technology Network (OTN):/technetwork/middleware/ias/downloads/fusion-certification-100350.htmlIf you have Oracle Crystal Ball Enterprise Performance Management or Oracle Crystal Ball Enterprise Performance Management for Oracle Hyperion Enterprise Planning Suite, see the Oracle Crystal Ball Enterprise Performance Management Integration Guide for additional compatibility information.Supported LanguagesInformation about supported languages for Crystal Ball is available in the Oracle Crystal Ball Installation and Licensing Guide. The user interface of this version of Crystal Ball is translated into French, German, Japanese, Portguese, and Spanish. Documentation is not currently translated.2ReadmeDefects Fixed in this ReleaseThe following customer-reported defects and enhancement requests were addressed in thisrelease of Crystal Ball and related products:l7396611—Users requested the ability to group assumptions for sensitivity analysis.l7396789—Users requested the ability to filter outliers when fitting data to distributions.l7402919—Crystal Ball was not displaying strings in the Crystal Ball dialogs in Spanish when the Spanish language ID was set to Spanish (international sort).l7407051—There was no way to control whether Crystal Ball wrote to a log file.l11061695—Incorrect correlation coefficients were sometimes displayed in scatter charts when charts were resized.l11069890—64-bit Crystal Ball: An unexpected error could occur when extracting data with Crystal Ball running in 64-bit Microsoft Excel 2010 when the computer is low on resources.l12432539—OptQuest could return inaccurate results when running in Extreme Speed with an interative model.l12724564—The CB.Normal spreadsheet function could return inaccurate results in very rare cases where the order of Microsoft Excel function evaluation is indeterminate.l12913923—Users requested the ability to display the comparison chart in the Batch Fit tool to view and possibly override the distribution type after each fit.l12918734—Users requested the ability to use higher parameter limits for binomial and Poisson distributions.l12938238—In OptQuest, the final value statistic could be inaccurate for an objective whose forecast statistic is a final value computation of several capability metrics.l13093364—Unexpected results could occur when Crystal Ball was unloaded usingDeveloper Kit calls while Microsoft Excel was still open.l13346887—Unexpected results could occur during assumption operations when Crystal Ball was used in a 64-bit environment.l13372753—The OptQuest results window could be blank when OptQuest was run with charts suppressed.l13481610—Users requested the ability to include Microsoft Excel cell comments for assumption and decision variable cells in Crystal Ball reports.If you are coming from Release 11.1.2.0 or 11.1.2.1, use the Defects Fixed Finder tool to reviewthe list of defects fixed between those releases and Release 11.1.2.2. This tool is available here:https:///oip/faces/secure/km/DocumentDisplay.jspx?id=1292603.1Known IssuesThe following are the noteworthy known issues of this release:Readme3l7403337—CB Tools: The Correlation Matrix tool cannot run on more than 255 assumptions (256 if formatting is not requested).l7407256—Crystal Ball Developer Kit: Always use the English list separator character (,) and the English decimal separator (.).l7475110—Integration with other Oracle EPM products: If the Strategic Finance Setup wizard is used to create a Strategic Finance Worksheet, and then a Crystal Ball simulation is run with charts minimized and worksheets suppressed, it is not possible to stop the simulation manually.Workaround: The Crystal Ball Control Panel, Crystal Ball toolbar buttons, and Run menu can be used to control the simulation when the charts and worksheets are maximized and visible.l7482940—Integration with other Oracle EPM products: If the Strategic Finance Setup wizard is used to create a Strategic Finance Worksheet using a server-based entity, the actual URL for the server is not listed.Only the user-specified name for the server appears on the Setup wizard's Entity Selection panel.l8604284—Integration with other Oracle EPM products: In Crystal Ball EPM, the Enterprise Performance Management connector is inactive by default and must be explicitly activated through the appropriate Crystal Ball More Tools command.l8676929—Integration with other Oracle Enterprise Performance Management (EPM) products: For best results, do not use the Crystal Ball Define, Cell Preferences command on Smart View worksheets.l9074866—Range names: In rare cases, range names disappeared when a Crystal Ball workbook was reopened in Microsoft Office Excel 2007.Fix: Install one of the following Microsoft updates, available at : Microsoft Security Update for Microsoft Office Excel 2007 (KB969682), Release Date: 6/8/2009 or Microsoft Security Update for Microsoft Office Excel 2007 (KB973593), Release Date: 11/9/2009.l9550147—Extreme Speed: Unexpected errors can occur when running Crystal Ball models containing formulas longer than 1024 characters in Extreme Speed mode in Microsoft Excel 2002 (XP) and Microsoft Excel 2003.Workaround: Use formulas that are shorter than 1024 characters or use a later version of Microsoft Excel.l10046029—64-bit OptQuest: For a specified seed value, OptQuest simulation calculations can be slightly different in 32-bit and 64-bit versions of Crystal Ball Decision Optimizer, which can affect the optimization path.If a model is very sensitive to small changes in decision variables, the best solution could differ between versions.l10051948—64-bit Crystal Ball: Although the same calculation algorithms are used in 32-bit and 64-bit versions of Crystal Ball, if a model has extremely large or small parameters, or other edge conditions, results can differ between versions.4Readmel10284043—Control Panel: In specific machine system timer environments, the Crystal Ball Control Panel and reports may show a simulation or optimization run time of 0.l10303159—Performance: Crystal Ball Normal speed simulations run significantly slower in Microsoft Excel when the Microsoft Euro Currency Tools add-in is loaded.l11065176—OptQuest: If two unrelated workbooks with OptQuest settings are open -- one of interest and the other secondary -- and an assumption has been defined in the secondaryworksheet, optimizations will not run correctly in the other.Workaround: Close the secondary worksheet or freeze all assumptions in it.l13802839—Localization: When running Crystal Ball with Windows, the system locale, and Microsoft Office in a supported language, the Crystal Ball user interface reverts to Englishafter the Crystal Ball Welcome Screen is displayed.Workaround: In the Welcome Screen, clear the “Show at startup” checkbox and restartCrystal Ball.l13811562—When attempting to run Crystal Ball with only Microsoft .NET Framework 4.0 installed, a startup error occurs.Workaround: Use only supported versions of Microsoft .NET Framework, currently version3.5.Tips and TroubleshootingSee the "Troubleshooting" section of the Oracle Crystal Ball Installation and Licensing Guide forinstallation and startup issues not described previously in this document. Documentation UpdatesAccessing EPM System Product DocumentationThe most recent version of each Oracle Enterprise Performance Management System productguide is available for downloading or viewing from the EPM System Documentation area of theOTN Web site (/technology/documentation/epm.html). You can alsouse the EPM System Documentation Portal (/us/solutions/ent-performance-bi/technical-information-147174.html), which also links to EPM SupportedPlatform Matrices, My Oracle Support, and other information resources.Deployment-related documentation is also available from the Oracle Software Delivery CloudWeb site (/EPD/WelcomePage/get_form).Individual product guides are available for download on the Oracle Technology Network Website only.Readme5Copying and Pasting Code Snippets from PDFsWhen you cut and paste code snippets from a PDF file, some characters can be lost during the paste operation, making the code snippet invalid. Workaround: Cut and paste from the HTML version of the document.Accessibility ConsiderationsIt is our goal to make Oracle products, services, and supporting documentation accessible to the disabled community. Oracle Crystal Ball products support accessibility features, which are described in the product's Accessibility Guide. The most up-to-date version of this guide can be found in the Oracle Enterprise Performance Management System Documentation Library on the Oracle Technology Network (/technology/documentation/ epm.html).In addition, this Readme file is accessible in HTML format.6ReadmeReadme7COPYRIGHT NOTICECrystal Ball Readme, 11.1.2.2.000Copyright © 2012, Oracle and/or its affiliates. All rights reserved.Authors: EPM Information Development TeamOracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable:U.S. GOVERNMENT RIGHTS:Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007). Oracle America, Inc., 500 Oracle Parkway, Redwood City, CA 94065.This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.This software or hardware and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.。

风险管理工具_CrystalBall在企业经营风险管理中的应用

风险管理工具_CrystalBall在企业经营风险管理中的应用

3.7 决策表(Decis ion Table) 决策表是用来表示当决策变量取
定义第 2 年 ~ 第 5 年的累积税后利润为预测变量是类似的。
不同的值时,选定的目标预测变量均值的变化。
271
例如,模型中有 2 个决策变量:“前两年生产线数量”和“后三年 新增生产线数量”。在运用决策表之前,需要先定义这两个决策变量。
图 12 生成决策表的第 2 步:选择决策变量
图 10 定义决策变量“后三年生产线数量”对话窗口
在图 10 中,输入变量名,选择变量上下界(Variable Bounds), 下界 (Low er) 为 1,上界 (Upper) 为 3。选择变量类型(Variable Type)为“离散(Diccrite)”,输入步长(Step)为 1。
很多,如财务风险、时间风险、人身伤害风险、名誉风险等。有的风险 年生产线数量 (B2)×固定资产折旧率 (B8);后三年固定资产折旧
可以度量,有些则难以度量。在企业经营中,财务风险是最常见的,财 (D23~ F23)=(前两年生产线数量(B2)+ 后三年新增生产线数量(B3))
务风险通常可以度量。风险的来源是事件的不确定性,不确定性越 ×固定资产折旧率(B8);税前利润(B25~ F25)= 销售收入—生产成
和销售的产品为某种原料,根据预测,这种原料的需求量第 1 年为 布、泊松分布等多种随机变量的分布。为了简化例子,我们假定模型
20 吨,以后每年增加 2 吨。引进这种原料生产线的建设投资为每条 中所有的随机变量都服从正态分布。它们的均值就是相应数据单元
30 万元,每条生产线的生产能力为每年 7 吨。如果开工生产线太少, 格的值,标准差等于均值的 10% 。
Crys tal Ball 是美国 Decis ioneering 公司开发的,它提供了项目 积税后利润都是负值,第 4 年的累积税后利润首次为正值。即该企

风险管理软件Crystal-Ball使用指导(中英文)

风险管理软件Crystal-Ball使用指导(中英文)

Monte-Carlo Simulation with Crystal Ball®用水晶球软件进行蒙特卡洛模拟To run a simulation using Crystal Ball®:1.Setup Spreadsheet1.设定数据表Build a spreadsheet that will calculate the performance measure (e.g., profit) in terms of the inputs (random or not). For random inputs, just enter any number.通过建立数据表可以对输入数据(随机的,非随机)进行评估。

随机数据的输入,输入任意数即可。

2. Define Assumptions—i.e., random variablesDefine which cells are random, and what distribution they should follow.2.定义假设的前提—例如,随机变量确定那些单元格的数据时随机的,这些数据应该服从什么样的分布3. Define Forecast—i.e., output or performance measureDefine which cell(s) you are interested in forecasting (typically the performance measure, e.g., profit).3.预测结果的确定—例如,数据输出或者性能的测定确定哪些单元格的数据是你想预测的(典型的性能指标,例如,利润)4. Choose Number of TrialsSelect the number of trials. If you would later like to generate the Sensitivity Analysis chart, choose “Sensitivity Analysis” under Options in Run Preferences.4. 选择试验的次数选择试验的次数。

Crystall_Ball模拟软件

Crystall_Ball模拟软件

实验次数 均值 中数 众数 标准差 方差 偏度(描述变量取值分布对称性的统计量) 峰度(描述变量取值分布形态陡缓程度的统计量) 变异系数 平均标准误差
4 示例-费瑞迪报童问题
通过前面的模拟,设定了弗瑞迪每天《金融日 报》的定购数量为60份,因为这个定购量是一 个能够满足需求又不会剩余大量未出售报纸的 一个合理折中值
然而通过目前的模拟,还不能说明60是否是最 大化其日均利润的最优定购量。利用Crystal Ball软件中的OptQuest最优化模型可以搜索 最佳定购量。
4 示例-费瑞迪报童问题
用决策表制定决策
在40到70之间的哪个订购量能够最大化每天的平均利润呢? 比较合理的做法是试验订购量的可能值的各个样本,如 40,45,…,70。
4 示例-费瑞迪报童问题
定义预测单元格:计算机模拟的电子表格模型并没有包括目
标单元格,但是预测单元格可以实现这一作用。定义预测单元格 的步骤:
(1)选中一个单元格; (2)单击Crystal Ball工具条中的Define Forecast按钮,从而弹出
定义预测对话框(如图8-14所示) (3)这个对话框可以用来输入一个名字标签,并且定义预测单元格的
3 Crystal Ball工具条
Define Define
Run Start
Reset
Forecast Trend
Assumptions Forecast Preferences Simulation Simulation Windows Chart
4 示例-费瑞迪报童问题
问题描述
成本数据
每份报纸成本费用1.50美元 售价2.50美元 未出售的报纸退款0.50美元
第三步对话框用来制定决策表的选项。第一个输入方框记录了对 于每一个决策变量的值所要运行模拟的次数。Crystal Ball会在 定义决策变量对话框所制定的范围内平均分布数值。对于弗瑞迪 报童问题,数值的范围是40到70,在第三步对话框中输入数字7 就会选择40、45、50、55、60、65、70这七个订单量的数值 进行模拟。 最后一步就是单击Start按钮。

Crystal Ball 模拟基础教程

Crystal  Ball   模拟基础教程

Crystal Ball 模拟基础教程利用Crystal Ball 进行计算机仿真学习目标13.2个案研究:佛莱迪报童问题(13.1节) 13.3–13.19竞标建设计划(13.2节) 13.20–13.24项目管理:信用建设公司(13.3节)13.25–13.32现金流量管理:沼泽地黄金岁月公司(13.4节) 13.33–13.37财务风险分析:久大发展公司(13.5节)13.38–13.42运输业收入管理(13.6节)13.43–13.48选择合适的分配(13.7节)13.49–13.68利用决策表做决策(13.8节) 13.69–13.84学习目标在读完本章后,你应该能够:1. 描述Crystal Ball在计算机仿真中的角色。

2. 利用Crystal Ball来解决Excel软件包所无法执行的各类基本计算机仿真。

3. 解释利用Crystal Ball于计算机仿真中的结果。

4. 在获得预期的准确度水平后,利用Crystal Ball的特色来停止计算机仿真。

5. 描述当使用Crystal Ball时可以搭配计算机仿真的机率分配之特色。

6. 利用Crystal Ball程序辨识出符合历史数据的连续分配。

7. 利用Crystal Ball的特色来产生一些帮助决策的决策表和趋势图。

报童佛莱迪佛莱迪在某大城市里主要市区经营一家报摊。

佛莱迪贩卖各类的报纸和杂志,其中最贵的报纸为财经日报。

财经日报相关的成本资料:–每份报纸的成本为1.50美元–每份报纸的售价为2.50美元–没售出的报纸,每份报纸可以获得0.50美元的偿还金财经日报的销售资料:–佛莱迪每天的销售量介于40到70份之间。

–销售数量介于40到70份之间任何数值的频率相同。

运用仿真之电子表格模式Crystal Ball的应用利用Crystal Ball来进行计算机仿真有四个步骤:–定义随机输入栏。

–定义输出栏来预测。

–设定执行偏好。

–执行模拟。

Crystal Ball软件

Crystal Ball软件

B 增加风险运算的可能性
什么是达到一个特殊目标的可能性?什么是影响风险要素的可能性?所有这些问题以及其它一 些假设问题的答案都是有未知情况发生的可能性决定的。Crystal Ball 通过运用蒙特卡罗模拟系 统对某个特定状况预测所有可能的结果,从而自动完成各种假设过程。该程序在定义许可的范围 内生成随机值,然后经过成百上千次的严格运算,再将每种结果分别赋给每种可能性,这个过程 减少了必须由人工输入各种不同可能性的工作量,从而节约了时间。
C 操作高级功能
对于高级用户来说,Crystal Ball 可以提供关联假设,敏感度分析,数据分布相称性分析以及预 测控制等功能。这些特点可以提供更精确的分析。由于拥有如此之多的功能,使得 Crystal Ball 可 以引导用户经过少许努力就可以获得更有用的信息。
专业版
A 强大的功能特点——更为准确的结果
D 浅显易懂的图表和报告
能够快速方便地生成浅显易懂的图表和报告。这些详细的资料可以使用户依靠所列举的各种假设 和预测结果迅速做出正确和漂亮的决定。
高级版
除了专业版的所有功能之外,高级版还将高级决策分析领域经常使用的理论期权分析和软件结合 在一起,使您的决策更加合理,使风险和收益控制在比较合理的范围之内。同时,高级版带有 Decisioneering 公司编写的教材和培训 CD,为您更好的学习高级版本。
软件安装要求
Microsoft Office 2000或以上 Microsoft Windows 2000,2002 (XP),NT或以上
优秀的售后支持 科理 公司-Crystal Ball 软件中国区独立代表
免费技术支持- 购买任何 Decisioneering 公司产品的用户在其购买后的 30 天内, Decisioneering Help Desk 均为其提供免费技术支持。另外,相关论文,模型样本,FAQ, 产品技术性能规格书以及资源中心的情况您都可以在我们的网站上进行了解。同时,我 们的技术人员都通过专业的培训,能够为您通过电话、传真、电子邮件提供服务 。

crystal ball使用指导

crystal ball使用指导

crystal ball使用指导Crystal Ball使用指导Crystal Ball是一种常用的预测和决策支持工具,它基于蒙特卡洛仿真技术,可以对不确定性进行建模和分析。

下面将介绍一些使用Crystal Ball的指导,帮助您更好地利用这一工具进行预测和决策。

一、数据准备在使用Crystal Ball之前,首先要准备好相应的数据。

这些数据可以是历史数据、统计数据或者是专家意见。

确保数据的准确性和完整性非常重要,因为这些数据将直接影响到Crystal Ball的分析结果。

二、建立模型在Crystal Ball中,模型是指对问题进行描述和建模的过程。

模型的建立需要根据具体问题的特点来确定。

首先需要确定决策变量和随机变量,然后建立它们之间的关系。

在建立模型时,要保证模型的可靠性和合理性。

三、运行仿真在完成模型建立后,就可以进行仿真运行了。

Crystal Ball使用蒙特卡洛仿真技术,通过随机抽样来模拟不同可能的情况。

这样可以得到一系列可能的结果,并对其进行统计分析。

四、分析结果Crystal Ball提供了多种统计分析方法,可以帮助用户对仿真结果进行分析和解释。

常用的分析方法包括概率分布分析、敏感性分析和决策树分析等。

通过这些分析,可以得到关键决策变量的概率分布、敏感性程度以及最优决策方案等信息。

五、结果解释和应用在分析结果之后,需要对结果进行解释和应用。

Crystal Ball提供了可视化工具,可以将分析结果以图表的形式展示出来,帮助用户更好地理解和应用结果。

同时,还可以通过对结果的解释和讨论,对决策方案进行优化和调整。

六、风险管理Crystal Ball除了用于预测和决策支持,还可以用于风险管理。

通过对不确定性的建模和分析,可以帮助用户识别和评估潜在的风险,并采取相应的措施进行风险管理和控制。

七、案例分析以下是一个使用Crystal Ball进行预测和决策的案例分析。

假设某公司要决定是否投资于某个新项目。

布控球英文说明书

布控球英文说明书

布控球英文说明书Ball Surveillance System User ManualIntroduction:The Ball Surveillance System is a state-of-the-artdevice that allows for remote monitoring and surveillance. This user manual is designed to provide you with detailed instructions on how to set up and use the systemeffectively.1. System Components:The Ball Surveillance System consists of the following components:- Surveillance Ball: This is the main device that captures video and audio footage.- Control Panel: Used to control and configure the surveillance ball remotely.- Mobile Application: Allows users to access livefootage and control the system using a smartphone or tablet.2. System Setup:To set up the Ball Surveillance System, follow these steps:Step 1: Unbox the surveillance ball and control panel.Step 2: Connect the surveillance ball to a power source using the provided power adapter.Step 3: Connect the control panel to the surveillance ball using the provided cable.Step 4: Install the mobile application on your smartphone or tablet.Step 5: Connect the mobile application to the surveillance ball using the provided instructions.Step 6: Configure the system settings, such as Wi-Fi network connection and motion detection sensitivity.3. System Operation:To operate the Ball Surveillance System, follow these steps:Step 1: Launch the mobile application and log in using your credentials.Step 2: From the application's main screen, you can view live footage from the surveillance ball.Step 3: Use the control panel or mobile application to pan, tilt, or zoom the surveillance ball, providing a wider view of the area.Step 4: Enable motion detection to receive alerts whenever motion is detected within the camera's field of view.Step 5: Record and save video footage directly to your smartphone or tablet for later review.Step 6: Customize additional settings, such as audio recording and night vision mode, to enhance surveillance capabilities.4. Troubleshooting:If you encounter any issues or difficulties while using the Ball Surveillance System, refer to the following troubleshooting steps:- Ensure the surveillance ball and control panel are properly connected and powered on.- Check the Wi-Fi or network connection to ensure a stable and reliable connection.- Restart the surveillance ball, control panel, or mobile application if necessary.- Update the firmware of the surveillance ball and control panel to the latest version.- Contact customer support for further assistance if the issue persists.Ball Surveillance System 用户手册简介:Ball Surveillance System 是一款先进的远程监控系统设备。

Crystal.Ball.v7.3.1水晶球_风险分析工具Crystal

Crystal.Ball.v7.3.1水晶球_风险分析工具Crystal

Crystal.Ball.v7.3.1⽔晶球_风险分析⼯具Crystal Ball Ansoft.Maxwell.V12.1 电磁场分析软件Micromine v11.0.0.7-ISO 1CDVMGThermo 4.3MPCCI v3.0.6,abaqus6.7,flunt6.3.26Oracle Assistant 2.0 for ProIntralink 8.0 & 3.4-ISO\ILOG_CPLEX_V9.0\FLOW2000 V6.2LIGHTTOOL 6.0Synopsys Hsimplus vA 2008.03 SP1 WinALL 1CD(⾼性能的晶体管级仿真器MSC.Patran.v2006.R2Bentley.HAMMER.08.11.00.30(V8i) ⽔锤和瞬态分析Gedco Omni 3D Design V8 0COADE.CAESAR.II.V5.1CADKEY 21.5Aquaveo.WMS.v8.2.1;ArcView.GIS.v3.3TomoVision SliceOmatic v4.2 R9C(扫描数据医学痕量分析的软件)AVS Express 6.3 (三维可视化系统)IMAGiS v2.3 (适普三维GIS软件):Simufact forming v8.1 SP1Reflexw v5.0.rarBentley AutoPLANT 2004 Edition 中⽂版 1CD(三维⼯⼚设计软件)optiFDTD, optiBPM, optifiber, optigrating共四个软件LAB 8.5(英⽂版),LabVIEW Professional DevSystem, Windows, Includes 1Aspen Hysys v7.1 1CDMVTec HALCON v9.0.1 1CDthermoflow 13.0COPRA教程Silvaco AMS 2008.09 1CD1、Landmark.OpenWorks.V2003.12⼀套;2、Petrel.v2009.12⼀套PSASP7.0Apollo Photonic Solutions Suite 2.2ESI Sysweld 2007 User's Guides 1DVDBitplane.Imaris.v6.3.1 1CDGEMCOM.Surpac.V6.1.2ILOG CPLEX 9.0StairDesigner.v6.04.Multilangual 1CD(楼梯设计系统)〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎ 北极星软件有限公司是⼀家软件、软件等产品的经销批发的私营独资企业。

Oracle Crystal Ball OptQuest优化工具:约束和要求说明书

Oracle Crystal Ball OptQuest优化工具:约束和要求说明书

One-Minute SpotlightOPTQUEST: CONSTRAINTS AND REQUIREMENTSOptQuest, the optimization tool available with Oracle’s Crystal Ball, enhances simulation models by automatically searching for and finding optimal solutions.Constraints and requirements are two important features that help OptQuest quickly and efficiently find optimal solutions. Constraints are restrictions on the inputs, or decision variables, and requirements are restrictions on the outputs, or forecast statistics. Not all optimization models require constraints and requirements, but when applied correctly, they can help OptQuest pick better combinations of decision variables and eliminate poor solutions.WHAT IS A CONSTRAINT?Constraints restrict the decision variables by defining relationships among them. For example, if the total amount of money invested in two mutual funds must be $50,000, you can define a constraint like this:mutual fund #1 + mutual fund #2 = 50000OptQuest only considers combinations of values for the two mutual funds whose sum is $50,000. If you need to invest less than the entire $50,000, you could write a constraint like this:mutual fund #1 + mutual fund #2 <= 50000When you are running an optimization, OptQuest checks the combinations of decision variables and rejects all the combinations that do not satisfy the constraint.DEFINING A CONSTRAINTYou define constraints in the Constraints dialog (shown below), which you can open using the left-side navigation window in OptQuest. To insert a new constraint, select the Insert Variable…. Button and select the decision variable from the explorer view dialog. You can also add comments that help you to understand the purpose of each constraint.You can define any number of linear and non-linear constraints using mathematical combinations of constants and selected decision variables. You can also use the Insert Reference… button to select an Excel cell that contains a constraint formula. Each constraint must be placed on its own line in the editor.WHAT IS A REQUIREMENT?While constraints ensure that OptQuest will only run optimizations using satisfactory combinations of decision variables, you are in no way assured of a desirable, or feasible, solution. For example, if you want to find an optimal investment strategy for a portfolio of assets worth $100,000, a constraint can make sure that you invest no more than $100,000. Your optimal solution, however, may contain excessive risk in the form of a wide range of returns (i.e., a large standard deviation). To restrict the forecast statistics, you can use requirements. Like constraints, the requirements must be satisfied for OptQuest to consider a solution as feasible. A feasible solution is one that satisfies all requirements, whereas an infeasible solution does not.To restrict your investment risk, you could create a requirement that the standard deviation of your Total Expected Return forecast not be greater than $8000. Now, OptQuest will reject any solution where the calculated risk exceeds your level of tolerance.With both a constraint and a requirement defined for an optimization, OptQuest first satisfies the constraint feasibility, then focuses on finding a requirement-feasible solution, and finally works on improving this solution, driven by the objective in the model.DEFINING A REQUIREMENTYou define a requirement in the Objectives window (shown below), which you can open using the left-side navigation window in OptQuest.To define a requirement, click on the Add Requirement button. If you only have one forecast, it will select that forecast. Otherwise, you will need to click on the forecast name and select the appropriate forecast for your requirement.For every requirement, you select a forecast statistic and define the relationship you desire. For example, to ensure that the standard deviation of is $8000 or less for your portfolio, you would set up the Requirement as shown in the above example. You can define multiple requirements in the same fashion.CONCLUSIONBoth constraints and requirements can help you improve the quality of your optimization solution as well as the efficiency with which OptQuest converges on the optimal solution. The OptQuest User Manual is an excellent source for examples of different types of constraints and requirements.For more information or to contact us, browse to/technetwork/middleware/crystalball/overview/index.html。

水晶球软件使用CrystalBall

水晶球软件使用CrystalBall
• How to deal with randomness?
➢ Ignore it ➢ Simplify problem to make it analytically
tractable, get solution, then ignore real-life complications ➢ Find a way to obtain an approximate solution to real-world problems
Let 1 represent “heads” and 2 represent “tails”. Consider the following RNG:
=IF(RAND( )<0.5,1,2)
Generating Random Numbers with Crystal Ball
Crystal Ball provides two different ways for creating Random Number Generators in spreadsheets
We can implement Random Number Generators for uncertain cells to allow us to sample from the distribution of values expected for different cells.
How Random Number Generators Work
This is easy to do and bounds the outcomes, but tells
us nothing about the distribution of possible
outcomes within the best and worst-case limits.

水晶球软件使用CryslBall

水晶球软件使用CryslBall
Project Management Session 9 Crystal Ball
OPIM 5270
1
Session 9 Goals
Understand why risk must be analyzed Know pros / cons for three ways to analyze risk Identify random variables in models Know the four steps of a simulation process Generate random numbers with Crystal Ball Use the four steps of a simulation process Explain how Crystal Ball supports Proj. Mgmt.
• Plug in different values for the uncertain cells and see what happens.
• Benefits:
– This is easy to do with spreadsheets – Other?
• Problems:
– Values may be chosen in a biased way. – Hundreds or thousands of scenarios may be required to generate a
• Simulation can be used to analyze these types of models
5
Random Variables & Risk
• A random variable is any variable whose value cannot be predicted or set with certainty.

Crystal Ball开发人员指南说明书

Crystal Ball开发人员指南说明书

R E L E A S E11.1.1.3D E V E L O P E R'S G U I D ECrystal Ball Developer's Guide, 11.1.1.3Copyright © 1988, 2009, Oracle and/or its affiliates. All rights reserved.Authors: EPM Information Development TeamThe Programs (which include both the software and documentation) contain proprietary information; they are provided under a license agreement containing restrictions on use and disclosure and are also protected by copyright, patent, and other intellectual and industrial property laws. Reverse engineering, disassembly, or decompilation of the Programs, except to the extent required to obtain interoperability with other independently created software or as specified by law, is prohibited.The information contained in this document is subject to change without notice. If you find any problems in the documentation, please report them to us in writing. This document is not warranted to be error-free. Except as may be expressly permitted in your license agreement for these Programs, no part of these Programs may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose.If the Programs are delivered to the United States Government or anyone licensing or using the Programs on behalf of the United States Government, the following notice is applicable:U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the Programs, including documentation and technical data, shall be subject to the licensing restrictions set forth in the applicable Oracle license agreement, and, to the extent applicable, the additional rights set forth in FAR 52.227-19, Commercial Computer Software--Restricted Rights (June 1987). Oracle USA, Inc., 500 Oracle Parkway, Redwood City, CA 94065.The Programs are not intended for use in any nuclear, aviation, mass transit, medical, or other inherently dangerous applications. It shall be the licensee's responsibility to take all appropriate fail-safe, backup, redundancy and other measures to ensure the safe use of such applications if the Programs are used for such purposes, and we disclaim liability for any damages caused by such use of the Programs.Oracle, JD Edwards, PeopleSoft, and Siebel are registered trademarks of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.The Programs may provide links to Web sites and access to content, products, and services from third parties. Oracle is not responsible for the availability of, or any content provided on, third-party Web sites. You bear all risks associated with the use of such content. If you choose to purchase any products or services from a third party, the relationship is directly between you and the third party. Oracle is not responsible for: (a) the quality of third-party products or services; or (b) fulfilling any of the terms of the agreement with the third party, including delivery of products or services and warranty obligations related to purchased products or services. Oracle is not responsible for any loss or damage of any sort that you may incur from dealing with any third party.ContentsChapter 1. Welcome (19)About the Oracle Crystal Ball Developer Kit (19)Who Should Use the Crystal Ball Developer Kit (20)What You Will Need (20)How This Manual is Organized (20)Documentation Changes (21)Technical Support and More (21)Chapter 2. Crystal Ball Developer Kit Overview (23)Introduction (23)How to Use the Crystal Ball Developer Kit (24)Calling Crystal Ball From Visual Basic For Applications (VBA) Programs (24)Calling Crystal Ball From an External Visual Basic (VB) Program (25)Creating an Excel Add-in (26)Using Developer Kit Macro Calls in User-defined Macros (26)A Note About Defaults and Write-Protection (26)Putting Custom Applications into Runtime Mode (26)Alphabetic List of Crystal Ball Macro Calls (27)Functions For Use in Excel Models (32)Opening and Closing Crystal Ball (32)Setting Up and Running Simulations (33)Controlling Crystal Ball Chart Windows (34)Managing Charts (35)Handling Crystal Ball Results (35)Setting and Getting Preferences (36)Crystal Ball Tools (37)Special Calls (37)Chapter 3. Crystal Ball Macro Calls (39)Introduction (42)CB.AboutBox (42)CB.AboutBox Example (42)Contents iiiCB.AlertOnArgumentError (42)CB.AlertOnArgumentError Example (43)CB.AlertOnArgumentError Related Calls (43)CB.AlertOnMacroResultError (43)CB.AlertOnMacroResultError Example (43)CB.AlertOnMacroResultError Related Calls (43)CB.AlertOnObsolete (43)CB.AlertOnObsolete Example (44)CB.AlertOnObsolete Related Calls (44)CB.AssumPrefsND (44)CB.AssumPrefsND Example (45)CB.AutoDownshift (45)CB.AutoDownshift Example 1 (45)CB.AutoDownshift Example 2 (46)CB.BatchFit (46)CB.BatchFit Example (46)CB.BatchFit Related Calls (46)CB.BatchFitND (46)CB.BatchFitND Example 1 (54)CB.BatchFitND Example 2 (55)CB.BatchFitND Related Calls (55)CB.Bootstrap (55)CB.Bootstrap Example (56)CB.Bootstrap Related Calls (56)CB.BootstrapND (56)CB.BootstrapND Example 1 (59)CB.BootstrapND Example 2 (59)CB.BootstrapND Related Calls (59)CB.CBLoaded (59)CB.CBLoaded Example (60)CB.CBLoaded Related Calls (60)CB.CellPrefs (60)CB.CellPrefs Example (60)CB.CellPrefs Related Calls (60)CB.CellPrefsND (61)CB.CellPrefsND Example (63)CB.CellPrefsND Related Calls (63)CB.ChartPrefs (63)CB.ChartPrefs Example (64)iv ContentsCB.ChartPrefs Related Calls (64)CB.ChartPrefsND (64)CB.ChartPrefsND Example (67)CB.ChartPrefsND Related Calls (67)CB.CheckData (67)CB.CheckData Example (67)CB.CheckData Related Calls (68)CB.CheckDataND (68)CB.CheckDataND Example (68)CB.CheckDataND Related Calls (69)CB.ClearData (69)CB.ClearData Example (69)CB.ClearData Related Calls (69)CB.ClearDataND (70)CB.ClearDataND Example (70)CB.ClearDataND Related Calls (70)CB.CloseAllCharts (70)CB.CloseAllCharts Example (70)CB.CloseAllCharts Related Calls (71)CB.CloseChart (71)CB.CloseChart Example (71)CB.CloseChart Related Calls (71)CB.CloseFore (72)CB.CloseFore Example (72)CB.CloseFore Related Calls (72)CB.CloseSensitiv (72)CB.CloseSensitiv Example (72)CB.CloseSensitiv Related Calls (73)CB.CloseTrend (73)CB.CloseTrend Example (73)CB.CloseTrend Related Calls (73)CB.CopyData (74)CB.CopyData Example (74)CB.CopyData Related Calls (74)CB.CopyDataND (74)CB.CopyDataND Example (75)CB.CopyDataND Related Calls (75)CB.CopyScatter (75)CB.CopyScatter Example (75)Contents vCB.CopyScatter Related Calls (76)CB.CopySensitiv (76)CB.CopySensitiv Example (76)CB.CopySensitiv Related Calls (76)CB.CopyTrend (76)CB.CopyTrend Example (77)CB.CopyTrend Related Calls (77)CB.CorrelateND (77)CB.CorrelateND Example 1 (78)CB.CorrelateND Example 2 (78)CB.CorrelateND Example 3 (78)CB.CorrelateND Related Calls (78)CB.CreateChart (79)CB.CreateChart Example (79)CB.CreateChart Related Calls (79)CB.CreateRpt (80)CB.CreateRpt Example (80)CB.CreateRpt Related Calls (80)CB.CreateRptND (80)CB.CreateRptND Example 1 (89)CB.CreateRptND Example 2 (90)CB.CreateRptND Related Calls (90)CB.DataAnalysis (91)CB.DataAnalysis Example (91)CB.DataAnalysis Related Calls (91)CB.DataAnalysisND (91)CB.DataAnalysisND Example (95)CB.DataAnalysisND Related Calls (96)CB.DecisionTable (96)CB.DecisionTable Example (96)CB.DecisionTable Related Calls (96)CB.DecisionTableND (96)CB.DecisionTableND Example (98)CB.DecisionTableND Related Calls (99)CB.DefineAltParms (99)CB.DefineAltParms Example 1 (101)CB.DefineAltParms Example 2 (102)CB.DefineAltParms Example 3 (102)CB.DefineAltParms Related Calls (102)vi ContentsCB.DefineAssum (102)CB.DefineAssum Example 1 (103)CB.DefineAssum Example 2 (103)CB.DefineAssum Related Calls (103)CB.DefineAssumND (103)CB.DefineAssumND Example 1 (107)CB.DefineAssumND Example 2 (107)Defining Custom Distributions (107)CB.DefineAssumND Custom Distribution Example (108)CB.DefineAssumND Related Calls (108)CB.DefineDecVar (108)CB.DefineDecVar Example (108)CB.DefineDecVar Related Calls (109)CB.DefineDecVarND (109)CB.DefineDecVarND Example 1 (111)CB.DefineDecVarND Example 2 (111)CB.DefineDecVarND Example 3 (111)CB.DefineDecVarND Example 4 (111)CB.DefineDecVarND Example 5 (112)CB.DefineDecVarND Related Calls (112)CB.DefineFore (112)CB.DefineFore Example (113)CB.DefineFore Related Calls (113)CB.DefineForeND (113)CB.DefineForeND Example (114)CB.DefineForeND Related Calls (114)CB.DeleteChart (115)CB.DeleteChart Example (115)CB.DeleteChart Related Calls (115)CB.EnumAssum (115)CB.EnumAssum Example (116)CB.EnumAssum Related Calls (116)CB.EnumChart (117)CB.EnumChart Example (117)CB.EnumChart Related Calls (118)CB.EnumCorrelation (118)CB.EnumCorrelation Example 1 (119)CB.EnumCorrelation Example 2 (119)CB.EnumCorrelation Related Calls (120)Contents viiCB.EnumDecVar (120)CB.EnumDecVar Example (120)CB.EnumDecVar Related Calls (121)CB.EnumFore (121)CB.EnumFore Example (121)CB.EnumFore Related Calls (122)CB.ExtractData (122)CB.ExtractData Example (122)CB.ExtractData Related Calls (123)CB.ExtractDataND (123)CB.ExtractDataND Example 1 (130)CB.ExtractDataND Example 2 (130)CB.ExtractDataND Related Calls (130)CB.Fit (131)CB.Fit Example 1 (134)CB.Fit Example 2 (134)CB.Fit Related Calls (134)CB.FormatPrefs (135)CB.FormatPrefs Example (135)CB.FormatPrefs Related Calls (135)CB.FormatPrefsND (135)CB.FormatPrefsND Example 1 (137)CB.FormatPrefsND Example 2 (137)CB.FormatPrefsND Related Calls (138)CB.Freeze (138)CB.Freeze Example (138)CB.Freeze Related Calls (138)CB.FreezeND (138)CB.FreezeND Example (140)CB.FreezeND Related Calls (140)CB.GetAssum (140)CB.GetAssum Example 1 (142)CB.GetAssum Example 2 (142)CB.GetAssum Related Calls (142)CB.GetAssumPercent (143)CB.GetAssumPercent Example 1 (143)CB.GetAssumPercent Example 2 (144)CB.GetAssumPercent Related Calls (144)CB.GetBatchFitOption (144)viii ContentsCB.GetBatchFitOption Example 1 (148)CB.GetBatchFitOption Example 2 (148)CB.GetBatchFitOption Related Calls (148)CB.GetBootstrapOption (148)CB.GetBootstrapOption Example 1 (150)CB.GetBootstrapOption Example 2 (150)CB.GetBootstrapOption Related Calls (150)CB.GetCBAutoLoad (151)CB.GetCBAutoLoad Example (151)CB.GetCBAutoLoad Related Calls (151)CB.GetCertainty (151)CB.GetCertainty Example 1 (152)CB.GetCertainty Example 2 (152)CB.GetCertainty Related Calls (153)CB.GetCorrelation (153)CB.GetCorrelation Example (153)CB.GetCorrelation Related Calls (154)CB.GetDataAnalysisOption (154)CB.GetDataAnalysisOption Example 1 (156)CB.GetDataAnalysisOption Example 2 (156)CB.GetDataAnalysisOption Related Calls (156)CB.GetDecisionTableOption (156)CB.GetDecisionTableOption Example (158)CB.GetDecisionTableOption Related Calls (158)CB.GetDecVar (158)CB.GetDecVar Example (159)CB.GetDecVar Related Calls (160)CB.GetExcel2007ForegroundMode (160)CB.GetExcel2007ForegroundMode Example (160)CB.GetExcel2007ForegroundMode Related Calls (160)CB.GetFitParm (160)CB.GetFitParm Example (162)CB.GetFitParm Related Calls (162)CB.GetFore (162)CB.GetFore Example (164)CB.GetFore Related Calls (165)CB.GetForeData (165)CB.GetForeData Example 1 (165)CB.GetForeData Example 2 (166)Contents ixCB.GetForePercent (166)CB.GetForePercent Example 1 (166)CB.GetForePercent Example 2 (167)CB.GetForePercent Related Calls (167)CB.GetForeStat (167)CB.GetForeStat Example 1 (169)CB.GetForeStat Example 2 (169)CB.GetForeStat Related Calls (169)CB.GetLockFitParm (170)CB.GetLockFitParm Example (171)CB.GetLockFitParm Related Calls (171)CB.GetRunPrefs (172)CB.GetRunPrefs Example 1 (172)CB.GetRunPrefs Example 2 (172)CB.GetRunPrefs Related Calls (172)CB.GetTwoDSimulationOption (173)CB.GetTwoDSimulationOption Example 1 (176)CB.GetTwoDSimulationOption Example 2 (176)CB.GetTwoDSimulationOption Related Calls (176)CB.GetVersion (176)CB.GetVersion Example (177)CB.GetVersion Related Calls (178)CB.GetWorksheetVersion (178)CB.GetWorksheetVersion Example (178)CB.GetWorksheetVersion Related Calls (179)CB.IsCBObject (179)CB.IsCBObject Example (179)CB.IsCBObject Related Calls (180)CB.Iterations (180)CB.Iterations Example 1 (180)CB.Iterations Example 2 (180)CB.Iterations Related Call (180)CB.LockFitParm (181)CB.LockFitParm Example (182)CB.LockFitParm Related Calls (182)CB.MacroResult (182)CB.MacroResult Example (183)CB.MacroResult Related Call (183)CB.MacroResultDetail (184)x ContentsCB.MacroResultDetail Example (185)CB.MacroResultDetail Related Call (186)CB.OpenChart (186)CB.OpenChart Example 1 (187)CB.OpenChart Example 2 (187)CB.OpenChart Related Calls (187)CB.OpenFore (187)CB.OpenFore Example (188)CB.OpenFore Related Calls (188)CB.OpenSelection (188)CB.OpenSelection Example (188)CB.OpenSelection Related Calls (188)CB.OpenSensitiv (189)CB.OpenSensitiv Example (189)CB.OpenSensitiv Related Calls (189)CB.OpenTrend (189)CB.OpenTrend Example (190)CB.OpenTrend Related Calls (190)CB.PasteData (190)CB.PasteData Example 1 (190)CB.PasteData Example 2 (191)CB.PasteData Example 3 (191)CB.PasteData Related Calls (191)CB.Reset (191)CB.Reset Example (192)CB.Reset Related Calls (192)CB.ResetND (192)CB.ResetND Example (192)CB.ResetND Related Calls (192)CB.RestoreResults (193)CB.RestoreResults Example (193)CB.RestoreResults Related Calls (193)CB.RestoreResultsND (193)CB.RestoreResultsND Example (194)CB.RestoreResultsND Related Calls (194)CB.RunPrefs (194)CB.RunPrefs Example (194)CB.RunPrefs Related Calls (195)CB.RunPrefsND (195)Contents xiCB.RunPrefsND Example (199)CB.RunPrefsND Related Calls (200)CB.RuntimeMode (200)CB.RuntimeMode Example (200)CB.RuntimeMode Related Call (201)CB.SaveResults (201)CB.SaveResults Example (201)CB.SaveResults Related Calls (201)CB.SaveResultsND (202)CB.SaveResultsND Example (202)CB.SaveResultsND Related Calls (202)CB.ScatterPrefs (202)CB.ScatterPrefs Example (203)CB.ScatterPrefs Related Call (203)CB.ScatterPrefsND (203)CB.ScatterPrefsND Example (206)CB.ScatterPrefsND Related Call (207)CB.SelectAssum (207)CB.SelectAssum Example (207)CB.SelectAssum Related Calls (208)CB.SelectChart (208)CB.SelectChart Example (208)CB.SelectChart Related Calls (208)CB.SelectDecVar (209)CB.SelectDecVar Example (209)CB.SelectDecVar Related Calls (209)CB.SelectFore (209)CB.SelectFore Example (209)CB.SelectFore Related Calls (210)CB.SensPrefs (210)CB.SensPrefs Example (210)CB.SensPrefs Related Call (210)CB.SensPrefsND (210)CB.SensPrefsND Example (212)CB.SensPrefsND Related Call (213)CB.SetAssum (213)CB.SetAssum Example (214)CB.SetAssum Related Calls (214)CB.SetCBAutoLoad (214)xii ContentsCB.SetCBAutoLoad Example (215)CB.SetCBAutoLoad Related Calls (215)CB.SetCBWorkbookPriority (215)CB.SetCBWorkbookPriority Example (215)CB.SetDecVar (216)CB.SetDecVar Example 1 (217)CB.SetDecVar Example 2 (217)CB.SetDecVar Related Calls (218)CB.SetExcel2007ForegroundMode (218)CB.SetExcel2007ForegroundMode Example (218)CB.SetExcel2007ForegroundMode Related Call (219)CB.SetFitRange (219)CB.SetFitRange Examples (219)CB.SetFitRange Related Call (219)CB.SetFore (219)CB.SetFore Example 1 (223)CB.SetFore Example 2 (223)CB.SetFore Related Calls (223)CB.SetRange (223)CB.SetRange Example 1 (225)CB.SetRange Example 2 (225)CB.SetRange Related Call (225)CB.Shutdown (225)CB.Shutdown Example (225)CB.Shutdown Related Calls (225)CB.SimResult (226)CB.SimResult Example (226)CB.SimResult Related Calls (226)CB.Simulation (226)CB.Simulation Example 1 (228)CB.Simulation Example 2 (228)CB.Simulation Related Calls (228)CB.SingleStep (229)CB.SingleStep Example (229)CB.SingleStep Related Call (229)CB.StartMultiSimul (229)CB.StartMultiSimul Example (230)CB.StartMultiSimul Related Calls (230)CB.Startup (230)Contents xiiiCB.Startup Example (231)CB.Startup Related Calls (231)CB.StopMultiSimul (231)CB.StopMultiSimul Related Calls (231)CB.TrendPrefs (231)CB.TrendPrefs Example (232)CB.TrendPrefs Related Calls (232)CB.TrendPrefsND (232)CB.TrendPrefsND Example (235)CB.TrendPrefsND Related Call (235)CB.TwoDSimulation (236)CB.TwoDSimulation Example (236)CB.TwoDSimulation Related Calls (236)CB.TwoDSimulationND (236)CB.TwoDSimulationND Example 1 (239)CB.TwoDSimulationND Example 2 (240)CB.TwoDSimulationND Related Calls (240)CB.WorksheetProtection (241)CB.WorksheetProtection Example 1 (242)CB.WorksheetProtection Example 2 (242)CB.WorksheetProtection Example 3 (242)Chapter 4. Changes from Previous Versions (245)Introduction (245)Added in Crystal Ball 11.1.1.0.00 (245)Added in Crystal Ball 7.1 - 7.3.x (246)Not Included in This Version (247)Changes to Existing Calls (249)CB.ND (249)CB.AutoDownshift (249)CB.CellPrefsND (249)CB.ChartPrefsND (250)CB.CheckData (250)CB.ClearData (250)CB.ClearDataND (250)CB.CloseFore (250)CB.CloseSensitiv (250)CB.CloseTrend (250)CB.CopyData and CB.CopyDataND (251)xiv ContentsCB.CorrelateND (251)CB.CreateRpt (251)CB.CreateRptND (251)CB.DefineAltParms (252)CB.DefineAssum (253)CB.DefineAssumND (253)CB.DefineDecVar (253)CB.DefineDecVarND (254)CB.DefineForeND (254)CB.EnumAssum (254)CB.EnumDecVar (254)CB.EnumFore (254)CB.ExtractDataND (254)CB.Fit (255)CB.Freeze and CB.FreezeND (256)CB.GetAssum (256)CB.GetAssumPercent (256)CB.GetCertainty (256)CB.GetCorrelation (256)CB.GetDecVar (256)CB.GetFitParm (257)CB.GetFore (257)CB.GetForeStat (257)CB.GetRunPrefs (257)CB.GetVersion, CB.GetWorksheetVersion (258)CB.IsCBObject (258)CB.OpenSensitiv (258)CB.OpenTrend (258)CB.PasteData (258)CB.RunPrefsND (258)CB.SensPrefsND (259)CB.SetAssum (259)CB.SetDecVar (259)CB.SetFore (260)CB.SimResult (260)CB.Simulation (260)CB.StartMultiSimul (260)CB.TrendPrefsND (261)Other Changes (261)Contents xvCharts Module (261)Chapter 5. Crystal Ball Runtime (263)Introduction (263)About Crystal Ball Runtime (263)Runtime Example Workbook (263)Delivering Crystal Ball Runtime Applications (264)Installation Script (264)System Requirements and .NET (265)Licensing Script (265)Startup Scripts (266)Installing Crystal Ball Runtime (266)Crystal Ball Runtime Licensing Requirements (267)Appendix A. Using the OptQuest Developer Kit (269)About the OptQuest Developer Kit (269)Who Should Use This Kit (269)What This Kit Includes (270)What You Will Need (270)OptQuest Developer Kit Use and Structure (270)Specific Requirements for Use (270)OptQuest Developer Kit Namespace (271)Important OptQuest Classes (271)Developing Optimization Code (274)Development Environment (274)Development Resources (274)Coding an Optimization (277)User-defined Event Macros for Optimizations (279)User-defined Event Macro Names (279)Using Events in VBA (280)Event Signatures (281)Constraints and Macros (283)Global Macros (283)Appendix B. Using the Predictor Developer Kit (285)About the Predictor Developer Kit (285)Who Should Use This Kit (286)What This Kit Includes (286)Developer Kit Use and Structure (286)Specific Requirements for Use (286)xvi ContentsPredictor Developer Kit Namespace (287)Important Predictor Classes (287)Developing Time-Series Forecasting Code (290)Index (293)Contents xviixviii ContentsIn This ChapterAbout the Oracle Crystal Ball Developer Kit (19)Who Should Use the Crystal Ball Developer Kit (20)What You Will Need (20)How This Manual is Organized (20)Documentation Changes (21)Technical Support and More (21)About the Oracle Crystal Ball Developer KitWelcome to the Developer Kit for Oracle Crystal Ball, Fusion Edition.Using the Crystal Ball Developer Kit, you can automate and control Crystal Ball simulationsfrom within a Visual Basic for Applications (VBA) program. This opens up a whole range ofpossibilities:l Running multiple simulations to test different sets of assumptions automaticallyl Integrating Crystal Ball with other software toolsl Creating turnkey applications that shield users from program intricaciesl Building custom reports or automate post-simulation analysisl Setting up specialized simulation environmentsThe Developer Kit provides a link between Crystal Ball and your application. It consists of alibrary of macro calls (subroutines and functions) that control many aspects of Crystal Ball. Eachcopy of Crystal Ball comes enabled to use the Developer Kit, so that programs you develop todaycan be run by other users as well.This kit is the key that unlocks the programmability of Crystal Ball and guides you through themany calls available. In addition to the descriptions of the calls, or subroutines and functions,this manual contains examples that illustrate usage of the Developer Kit in several practicalapplications. You are encouraged to study these examples before starting out on your ownapplications. Should you need additional help, technical support is available with appropriatelicenses.If you have Oracle Crystal Ball Decision Optimizer, Fusion Edition, Appendix A, “Using theOptQuest Developer Kit,” describes how to automate OptQuest optimizations.About the Oracle Crystal Ball Developer Kit19See Appendix B, “Using the Predictor Developer Kit,” for information about automating andcontrolling Predictor forecasting.Note:The Predictor Developer Kit described in this Developer's Guide is completely rewritten.Code written for CB Predictor in Crystal Ball versions earlier than 11.1.1.3.00 is notcompatible with the current version of Predictor or this Predictor Developer Kit.Who Should Use the Crystal Ball Developer KitThe Crystal Ball Developer Kit is appropriate for advanced users who want to automate repetitivespreadsheet analysis. This manual assumes that readers are familiar with Visual Basic forApplications and Crystal Ball.What You Will NeedCrystal Ball runs on several versions of Microsoft Windows and Microsoft Excel. For a completelist of required hardware and software, see the Oracle Crystal Ball Installation and LicensingGuide.How This Manual is OrganizedThis manual contains descriptions of the Crystal Ball Developer Kit macro calls. It also discussesthe COM Developer Kit for OptQuest, Predictor, and Oracle Hyperion Smart View for Office,Fusion Edition integration.Each macro description includes a list of parameters and an example of the use of the relevantcalls.The manual includes the following additional chapters:l Chapter 2, “Crystal Ball Developer Kit Overview”Describes how to use the Crystal Ball Developer Kit and contains an alphabetical list of allCrystal Ball Developer Kit calls with summaries, plus tables of related calls.l Chapter 3, “Crystal Ball Macro Calls”Includes descriptions of all Crystal Ball Developer Kit calls in alphabetical order, withexamples.l Chapter 4, “Changes from Previous Versions”Information about changes since previous releases of Crystal Ball.l Chapter 5, “Crystal Ball Runtime”Information about creating applications for people who are not users of Crystal Ball.l Appendix A, “Using the OptQuest Developer Kit”20WelcomeDescribes how to use the Crystal Ball Decision Optimizer OptQuest Developer Kit toautomate OptQuest optimizations.l Appendix B, “Using the Predictor Developer Kit”Describes how to use the Predictor Developer Kit, included with all versions of Crystal Ball,to automate Predictor time-series forecasts.Documentation ChangesFor greater consistency in terminology between the Crystal Ball Developer Kit and VBA:l The term "macro" describes a sequence of VBA code created using the Crystal Ball Developer Kit.l The term "function" describes a Developer Kit element that returns a value. For example, the CB.GetCertainty function returns the probability of reaching the specified certaintyvalue.l The term "subroutine" describes a Developer Kit element that does not return a value — for example, CB.AboutBox.l The term "call" or "macro call" is used generically to describe any Developer Kit function or subroutine — for example, "The next section describes new Crystal Ball Developer Kit calls."In this version of the Crystal Ball Developer Kit, all macro calls are listed together in alphabeticalorder in Chapter 3. For lists of macro calls grouped by functionality, see Chapter 2.For information on how the Developer Kit calls have changed since the 2000.5 (5.5) version, seeChapter 4, “Changes from Previous Versions”.Technical Support and MoreOracle offers a variety of resources to help you use Crystal Ball, such as technical support,training, and other services. For information, see:/crystalballDocumentation Changes2122WelcomeIn This ChapterIntroduction (23)How to Use the Crystal Ball Developer Kit (24)Alphabetic List of Crystal Ball Macro Calls (27)Functions For Use in Excel Models (32)Opening and Closing Crystal Ball (32)Setting Up and Running Simulations (33)Controlling Crystal Ball Chart Windows (34)Managing Charts (35)Handling Crystal Ball Results (35)Setting and Getting Preferences (36)Crystal Ball Tools (37)Special Calls (37)IntroductionThis chapter tells how to use the Crystal Ball Developer Kit and provides lists of macro calls(subroutines and functions) from different categories with references to Chapter 3 for detaileddefinitions and examples.The chapter begins with instructions for using the Crystal Ball Developer Kit, followed by analphabetical list of the Crystal Ball calls, including a brief summary of the actions they perform.This section serves as an index to the Crystal Ball calls in Chapter 3.The following sections list groups of macro calls used for various purposes:l“Functions For Use in Excel Models” on page 32l“Opening and Closing Crystal Ball” on page 32l“Setting Up and Running Simulations” on page 33l“Controlling Crystal Ball Chart Windows” on page 34l“Handling Crystal Ball Results” on page 35l“Setting and Getting Preferences” on page 36l“Special Calls” on page 37Introduction23。

第8章_Crystall_Ball模拟软件

第8章_Crystall_Ball模拟软件
单位 (4)点击确定。
8.4 示例-费瑞迪报童问题
设定运行参数:主要是为运行模拟选择试验次数,决定其他如
何执行模拟的参数。通过点击Crystal Ball工具条的运行参数按 钮Run Preferences 图里所显示的数字500表示计算机模拟的最大运行次数。
8.4 示例-费瑞迪报童问题
运行模拟:点击Start Simulation按钮或者选择运
行菜单中的Start Simulation选项。如果你已经在先 前运行过计算机模拟,那么应该在此运行前首先点击 重置模拟Reset Simulation按钮,或者从运行菜单中 选择重置模拟Reset Simulation选项来重置模拟。
8.4 示例-费瑞迪报童问题
结果表中各参数的解释
Trials Mean Median Mode Standard Deviation Variance Skewness Kurtosis Coeff. of Variability Mean Std. Error
8.4 示例—某建筑公司案例
在Run Preferences对话框中设定1000次作为模拟 次数,下图分别以频率图、统计表和百分比图的形式 显示了结果。
8.4 示例—某建筑公司案例
该建筑公司的管理层特别感兴趣的一个统计值是在目 前项目计划下能够在47周的最后期限完成项目的概率。 确定性方框中显示试验次数中的58.9%将会满足截止 期的要求。
散的; (6)如果在步骤(5)中选择了离散分布,使用步长方框来制定
决策变量的变化步长; (7)点击确定按钮。
8.4 示例-费瑞迪报童问题
费瑞迪报童问题中的决策变量定义对话框
8.4 示例-费瑞迪报童问题
第一步的对话框用来从所列出的预测单元格中尉决策表选择目标 单元格。在弗瑞迪报童案例中,只有一个预测单元格,利润 Profit (C19),所以选择他然后单击下一步按钮。

crystal ball使用指导

crystal ball使用指导

crystal ball使用指导Crystal Ball使用指导导言:Crystal Ball是一款用于预测和分析风险的软件工具,它可以帮助企业和组织做出明智的决策。

本文将介绍如何使用Crystal Ball进行预测和分析,以及一些注意事项和技巧。

一、Crystal Ball简介Crystal Ball是由Oracle公司开发的一款风险分析软件,它基于蒙特卡罗模拟方法,可以通过模拟大量的随机变量来预测未来的风险和收益。

Crystal Ball可以用于各种决策问题,如项目管理、投资分析、供应链优化等,帮助用户做出更准确的决策。

二、Crystal Ball的使用步骤1. 数据输入:首先,我们需要将相关的数据输入到Crystal Ball 中。

可以直接在Crystal Ball中输入数据,也可以从外部文件导入数据。

在输入数据时,需要注意数据的格式和准确性。

2. 模型建立:在输入数据之后,我们需要建立相应的模型。

模型可以是简单的数学模型,也可以是复杂的模拟模型。

在建立模型时,需要考虑到各种变量之间的关系,并进行合理的假设和参数设定。

3. 分布设定:Crystal Ball中的随机变量需要设定相应的概率分布。

可以选择常见的分布,如正态分布、均匀分布等,也可以根据实际情况自定义分布。

在设定分布时,需要根据实际数据和经验进行合理的选择。

4. 模拟运行:一切准备就绪后,我们可以进行模拟运行。

Crystal Ball会根据设定的分布和模型进行大量的随机模拟,得到未来可能的结果。

可以设定模拟的次数,以增加结果的准确性。

5. 结果分析:模拟运行完成后,Crystal Ball会生成相应的结果。

我们可以通过查看统计指标、绘制图表等方式对结果进行分析。

可以计算平均值、方差、置信区间等,以评估风险和收益。

三、Crystal Ball的注意事项和技巧1. 数据准确性:Crystal Ball的结果取决于输入的数据,因此需要确保数据的准确性。

crystal ball软件介绍

crystal ball软件介绍

Crystal Ball 介绍Crystal Ball(CB)是基于PC Windows平台而开发的简单且非常实用的风险分析和评估软件。

面向各类商务、科学和技术工程领域,用户界面友好,是基于图表进行预测和风险分析。

CB 在微软Excel 应用软件上运行,使用蒙特卡罗(Monte Carlo)模拟法对某个特定状况预测所有可能的结果,运用图表对分析进行总结,并显示每一个结果的概率。

除了描述统计量、趋势图和相关变量分配,CB还进行敏感性分析,让用户决定真正导致结果的因素。

如今 CB 已是全世界商业风险分析和决策评估软件中的佼佼者。

Crystal Ball专业版是市面上以Excel为本的风险分析及预测工具中最全面的套装软件。

其功能和特点不仅早已得到广大用户的认同,并获得许多正在考虑购买相关软件产品新用户的青睐和首选。

85%<<财富>>评出的全球500强大企业中早已有400家使用 Crystal Ball 软件作为他们进行商务决策,项目投资风险分析的工具。

再者,美国前50名最佳MBA 商学院,已有40所也用Crystal Ball作为教研和商业性课题的工具。

用户之一世界著名的哈佛大学商学院把 Crystal Ball 列为可用于计划金融的软件 (Project Finance Software)。

因为财政计划,金融投资方面的风险分析是CB 软件功能的一部分。

Crystal Ball之前是美国Decisioneering公司的产品,Decisioneering在2007年被Hyperion公司收购,Hyperion 公司之后又被Oracle收购,所以Crystal Ball目前的发行商是Oracle。

Crystal Ball的用途:DFSS,过程研究,过程优化,现有过程的模拟改变,公差分析,设计分析,原料筛选,容量设计,资源分配与存货优化,约束后的项目筛选,预防性维护优化,成本预算,可靠性分析,排队过程分析,建筑项目资金预算的偶然性分析,商业过程模拟,工程设计与预测,供求预测,制造供应链问题的减少与存货控制,新产品商品化的资金模型。

水晶球软件初级教程

水晶球软件初级教程

水晶球软件初级教程水晶球软件2000专业版(Crystal Ball?2000 Professional Edition) 初级教程摘要加载在微软公司(Microsoft?)的电子表格软件(Excel?)上的水晶球软件2000专业版(Crystal Ball?2000 Professional Edition)是一个易于使用的软件它可以帮助你分析与你的电子表格模型相关的风险和不确定性这个软件包括蒙特卡洛模拟水晶球时间序列预测水晶球预言家最优选择优化查询和用来构造定制界面和程序的开发工具箱由于电子表格缺乏设计和分析可选方案的能力所以仅用电子表格来估算一个事件发生的概率是不合适的而加载了水晶球软件的电子表格模型就能具备这样的功能从而帮助用户洞察模型运行和结果产生的机制本初级教程通过一个媒体产业的实例来演示蒙特卡洛模拟和时间序列预测工具如何用于一个电子表格模型为商业决策的内在风险提供更深入的了解和度量1 序言1.1 电子表格模型和风险分析风险就是不确定性是指发生损失危害和其它不愉快事件的可能性大多数人偏好低风险期待成功收益或其它形式获利的较高概率举例来说如果下个月的销售超过一定数额一种令人愉快的事件那么这些订单会使存货减少从而导致商品运送的延迟一种令人不愉快的事件反过来商品运送的延迟则会导致订单的流失发生这种情况的可能性就代表了一种风险当使用电子表格模型时分析家习惯将那些本来不确定的变量用其平均值或其最佳估计值来输入这是因为电子表格软件只允许他们在一个单元格内输入一个数值或一个公式这些确定的模型只能产生一个结果而模型结果将被用作商业或技术决策的根据为了把握模型中本身存在的那些不确定性分析家只能通过手工方式来改变模型变量分析它们对关键结果的影响来简单地实现方案分析这种方法提供了可能结果的一定范围但它无法使人得知那些特定结果出现的可能性管理者经常需要知道那些不确定变量分别取什么值的时候方案会达到一个最佳情况或在什么时候方案会达到一个最差情况又在什么时候方案又会达到一个最可能情况那些包含不确定性因素的实际问题绝大部分都是很复杂的为了计算每一种可能发生的结果就需要将所有输入变量的各种可选数值进行组合对于复杂的实际问题这种组合的数量是非常庞大的很难一一实现因此在实际问题中这种办法很难奏效1.2 蒙特卡洛模拟为了解决电子表格模型在风险分析方面存在的局限性蒙特卡洛模拟是一个现成的办法由于电子表格软件本身不具有模拟运行和模拟分析的能力所以用户必须依靠象水晶球软件这样一些加载在电子表格软件上的第三方程序来扩充电子表格软件的功能针对电子表格软件水晶球软件增加了两项功能一是用概率分布来替代单个数值二是可以进行模型的随机模拟通过水晶球软件可以生成量化的基于概率的电子表格模型例如可以得到以75%的概率保证在预算内或某一水库装满一亿桶油的可能性有90%这样的结果蒙特卡洛模拟是一项已被确认正确并且行之有效的技术它只要求计算机具有一个随机数表或一个随机数生成器我们可以通过数学方法来产生服从某一概率分布的随机数蒙特卡洛模拟是用一个城市的名字来命名的这个城市就是摩纳哥的蒙特卡洛它以充满各种冒险游戏的赌场而闻名常见的赌博游戏有轮盘赌投掷骰子老虎机等在蒙特卡洛模拟中为了模拟一个模型需要随机选择变量的取值这与赌博中的随机现象很相似当你投掷一个骰子时你知道会出现12345或6中的某一点但你不知道具体某一次投掷时会出现哪一个点与投掷骰子相同随机变量例如利率需求量股价存货量每分钟电话呼叫次数的取值范围是确定的但在具体某一时间或某一事件时取到的值是不确定的模拟可以产生大量的方案通过分析这些方案可以深入了解电子表格模型中蕴涵的风险和机理只要使用得当蒙特卡洛模拟就能展现非常有价值的视角而这是确定性模型所得不到的2 水晶球软件2000专业版水晶球软件2000专业版是一个办公软件套件以基于电子表格的分析工具为特色包括蒙特卡洛模拟水晶球时间序列预测水晶球预言家和最优选择优化查询该套件还包括水晶球和水晶球预言家开发工具箱采用VBA语言Visual Basic forApplications来构建用户界面和程序2.1 水晶球水晶球是一个易于使用的电子表格插件被设计用来帮助不同水平的Excel电子表格用户来进行蒙特卡洛模拟水晶球可以让用户在不确定性模型变量上定义概率分布然后通过模拟在定义的可能范围内产生随机的数值电子表格用户能产生和分析成千上万种可选的方案量化任意给定方案的风险水平水晶球可用于各种现成的或新建的电子表格模型同时其提供的增强功能不会改变原有电子表格模型中的公式或函数水晶球还包括一些水晶球工具它由七个向导驱动的插件组成可以帮助我们建立和分析模型这些工具包括靴带分析Bootstrap旋风图分析Tornado Analysis方案分析Scenario Analysis二维模拟2D simulation和分批拟合Batch Fit2.2 水晶球预言家水晶球预言家是一个向导驱动的Excel插件通过时间序列预测来指引你的工作水晶球预言家分析你的数据序列并使用数据的水平趋势季节和误差来预测数据序列的未来值水晶球预言家对数据采用八种不同的季节性和非季节性的时间序列预测方法并当主要数据序列依赖于其它一些独立数据序列时能采用多重线性回归产生的预测结果可以被定义为水晶球的假设单元并用于蒙特卡洛模拟2.3 优化查询优化查询是一个专为水晶球设计的全局优化插件它通过自动搜索并找到模拟模型的最优解决方法从而增强了水晶球的功能优化查询采用多种技术的混合包括分散搜寻和先进的禁忌搜寻方法来找到决策变量的合适组合以取得最佳的可能结果当程序运行时自适应和人工神经网络技术帮助它从过去的优化运算中自我学习从而使其在更短时间内达到更好的结果一个安装向导可以帮助用户定义约束条件目标函数和要求甚至设定一个有效的边界选项本初级教程将不涉及优化查询的使用2.4 开发者工具箱通过VBA程序或任何其它Excel支持的外部语言水晶球和水晶球预言家开发工具箱可以让用户完全自动运行和控制水晶球的模拟过程和水晶球预言家的预测过程这个工具箱包括开启水晶球和水晶球预言家编程能力的宏指令与宏函数库通过该工具箱用户能自动运行多重模拟来测试不同假设单元的组合整合水晶球和其它软件工具生成TURNKEY应用来避免用户涉及程序的复杂机构甚至构建定制的报告或完成模拟后的自动分析本初级教程将不涉及开发工具箱的使用3 关于科罗拉多有线电视的实例本初级教程将展示模拟和预测是如何改进一个商业决策的在这个实例中将看到如何从一个历史数据序列进行预测定义概率分布运行蒙特卡洛模拟和进行模拟结果的分析和报告的这里描述的实例可以从决策工程公司的网站地址参见附件上免费下载在实例的最后将会得到取胜的关键因子的统计分类新产品底线状况的分析和如何得到一个清楚表达你的发现的报告科罗拉多有线电视是一家本地有线电视供应商正在考察一项被称作互动电视ITV的新技术互动电视将根据需要提供内容电影体育比赛和新闻科罗拉多有线电视相信本地观众会接受这项服务但认为下滑的经济会导致一些无法预知的风险管理层已要求对互动电视做一个从2004年到2009年的预测模型他们想在制定该项重大投资决策之前能更好地了解这种新技术的销售和市场潜力互动电视是否真的具有足够的发展潜力来推向市场六年之后该项目的净现值NPV 会是多少呢3.1 建立模型指定不确定因素首先需要建立一个有效的可检验的决策模型这个模型能尽可能地表示互动电视的销售方案模型的建立需要团队合作同时需要仔细收集数据和建立模型这样才能针对互动电视的市场潜力建立一个现实的基本的模型该模型(图1)显示了科罗拉多有线电视的三个现有产品(有线电视卫星电视和广播电视)的市场份额和规模外加所期待的互动电视项目的市场份额和规模然后需要估计互动电视项目的收入和成本并且得出一个六年期的净现值基于上图1科罗拉多有线电视公司电子表格模型述决策估计净现值的期望是5100万美元(其中年利率为10%)但上述结果的可能性有多大呢能产生出比5100万美元更大的净现值的概率是多少呢等于小于5100万美元的概率又是多少呢水晶球预言家和水晶球将会帮助你回答这些问题3.2 启用水晶球模型设计和检验之后可以通过视窗操作系统Windows 的开始菜单打开水晶球和Excel 软件水晶球软件在Excel 软件上加载了一行新的工具栏和三个新的菜单项工具栏(图2)上的按钮从左到右以建模过程(设置模拟结果的分析和表达)来排列最后一个按钮用作在线帮助三个新增的菜单项包含了所有工具栏上的功能另外还有一些其他功能单元菜单包含了所有模型的设置功能运行菜单包含了所有的模拟和分析功能最后一个菜单是水晶球工具用以打开专业版上的一些其它工具3.3 用历史数据预测家庭数2004年后该地区的潜在客户即那些有可能需要科罗拉多有线电视服务的家庭数是不确定的尽管实际增长速度比较难估计但根据这一地区20年的历史数据可粗略估计出每年新增的拥有电视的家庭数为50000户因为该数据存在时间的成分可以用水晶球预言家来得作更精确的时间序列预测从而代替刚才粗略的估计值为了运行水晶球预言家选中计划要进行预测的数据序列中的任何单元格通过水晶球工具菜单打开水晶球预言家程序该程序前面的四个步骤可以帮助你定义组织和观察数据自相关性可用于判断数据是否具有某种季节性显示出周期性变化本例中的历史数据是年度数据不存在季节性家庭数呈现增长的趋势方法画廊Method Gallery 以图画方式提供了八种时间序列预测方法允许你选择其中任何一种或选择全部方法来对你的数据作比较这些方法被分成季节性和非季节性两种双击每个方法的图画可深入了解该方法的作用方法画廊对每种方法都自动给出误差统计方法或参数供你缺省使用由于本例中的数据是单一独立的不需要进行多重线形回归输入预测的时期本例为年为5选择置信区间选项为5%和95%在准备过程的任何时候水晶球预言家都可以让你预先浏览预测结果图31 2 3 4 5 6 7 89 10 图2工具栏按钮(1)定义假设 (2)定义预测 (3)运行属性 (4)运行 (5)停止 (6)单步执行 (7)预测窗口 (8)灵敏度分析 (9)生成报告 (10)帮助图3已有家庭数的时间序列预测对于这组家庭数的数据水晶球预言家自动选择二次指数平滑法作为最佳的预测方法在这之前水晶球预言家已经检查了这组历史数据使用每一种非季节性方法来作拟合挑出了拟合效果最佳误差最小的方法进而预测了未来五年的趋势并计算了90%的置信区间在预览窗口中你可以选择输出图表和数据的格式水晶球预言家能将预测值生成为一个正态分布当你运行了预测之后你可以将这些分布复制并粘贴到电子表格中家庭数预测单元格上去通过如上更精确的时间序列预测净现值增加到了5300万美元3.4 定义水晶球假设单元在水晶球中概率分布被看作假设单元是基本的输入量被用来定义任何模型变量的不确定性怎样识别那些需要从单个值变为概率分布的变量最好的方法就是看看哪些变量是明确的而哪些变量是不硬的或者说是不确定的在这个模型中市场占有率首期投资额和每年的运行费用都是水晶球假设单元的主要候选对象为了定义一个假设单元先选中一个电子表格变量再单击工具栏中的定义假设按钮在分布画廊图4中水晶球提供了16种预先定义好的分布和一种可由用户定制的分布四种最常用的假设单元分别是正态分布三角形分布均匀分布和对数正态分布水晶球软件还可以对已有数据作连续分布的拟合并可以定义相关假设单元间的相关系数在这个例子中你可以根据掌握的知识和直觉来定义假设单元当你对一个变量了解得越多你定义的分布就越准确3.4.1 市场占有率2004年的市场占有率估计为2%但这一数字也可能低到0%或高到3%单击定义假设按钮选择三角形分布对于最大值最小值和最可能值已知的情况用三角形分布来描述是非常好的图5显示了如何对互动电视2004年市场占有率建立一个三角形分布的假设单元如果获得的是百分位格式的数据你也可以选择百分位法来定义该分布图4分布画廊图5用三角形分布定义互动电视的市场份额同样利用表1的数据可将互动电视20052009年的市场占有率分别用三角形分布来定义虽然你希望市场占有率每年都增长但实际上不可能如基本模型预言的那样稳定增长假设单元可以让你建立那种随时间推移的不确定性表1 20052009年互动电视市场份额的不确定性年份最小值最可能值最大值 2005 0% 7% 10% 2006 0% 10% 15% 2007 0% 15% 20% 2008 0% 20% 30% 2009 0%25% 35% 3.4.2 首期投资额正态分布它的曲线形状象一口钟的外形常用来表示那些自然生成的随机变量正态分布随机变量存在一个最可能的值左右对称取值较集中在平均值附近在基本模型中首期投资额被估计为1亿美元而真实的投资额会接近1亿美元这一平均值但也有可能高到1.3亿美元或低到7000万美元平均值为1亿美元标准差为1000万美元的正态分布能更准确地描述这一变量图63.4.3 年度运行成本最后还有六年中每年的运行成本在基本模型中预计每年成本以100万美元增加利用水晶球软件可以将这些变量定义为正态分布它们的标准差为100万美元而每个正态分布的平均值可通过单元格引用的办法来直接包含电子表格中的相应数据图7图6用正态分布定义首期投资额图7采用单元格引用方式的正态分布定义2004年的运行费用3.5 定义一个预测单元在定义完所有的输入变量假设单元后你需要定义输出变量输出变量在水晶球中称之为预测单元预测单元是你指派水晶球软件在模拟过程中跟踪的一个公式单元像假设单元一样可以定义的预测变量的个数是没有限制的当然个数越多就会消耗越多的内存本模型只有一个预测单元即净现值NPV选中该单元格单击预测单元定义按钮打开预测单元定义对话框图8输入一个唯一的名字然后点击OK 按钮即可3.6 运行蒙特卡洛模拟3.6.1 设置运行属性水晶球软件可以让你对模拟属性进行全面的控制可以设置的运行属性包括运行的试验次数使用什么样抽样方法在模拟循环中的任何时刻和地点运行宏选择提高模拟速度的方式以及精度控制精度控制是一种置信度检验的方法是在模拟统计的基础上让预测的准确性达到所需的水平抽样方法有两种蒙特卡洛抽样和拉丁超立方抽样使用蒙特卡洛抽样方法产生的随机数相互之间是完全独立的而使用拉丁超立方抽样方法水晶球会把假设单元的概率分布分成等概率的几个区间区间的个数由你自己定义在模拟中为每一区间产生一系列的随机数本例的蒙特卡洛模拟进行2000次试验3.6.2 检验和运行模拟在开始模拟之前你可以通过单击工具栏中的单步运行按钮来检查模型是否正确在水晶球软件中每一步表示一次随机试验在每一步中水晶球软件为每一个假设单元产生一个随机数Excel 会自动重新计算模型当模型为可选方案进行重新计算后你可以通过检验来发现是否有计算错误在模拟中水晶球软件按照你要求的次数来进行大量的试验同时将预测值保存起来留作后面的分析用要运行模拟首先单击工具栏中的开始模拟按钮当模拟开始时净现值NPV 预测或频率图表就被建立了起来当水晶球把随机产生的值来自概率分布嵌入假设单元时电子表格中的值也会同时变化3.7 预测图表2000次试验完成之后可以使用预测图表来分析这些结果预测图表是一个包含所有图8定义一个预测单元图9净现值的预测图表2000次试验的统计数据的交互式直方图原先预计的5100万美元出现的可能性有多少呢根据模拟结果图9只有大约8.8%的把握达到或超过你原先估计的净现值达到5300万美元从家庭数历史数据作预测后计算出的净现值的概率会更小另外在图表左范围框中输入0可以得到大约有60%机会能做到不亏统计数据视图图10能帮助你得到更多的信息从峰度Skewness 和偏度(Kurtosis)的数值可以看出模拟结果比较接近正态分布其标准差是330多万美元极差是2亿3000万美元极差为什么有这么大呢水晶球软件的敏感度分析能找出引起结果变化的关键因素3.8 灵敏度分析当模拟运行时灵敏度分析使用等级系数法来动态计算13个假设单元对预测单元的影响灵敏度图表将这些影响表示为相关系数或百分比值的形式列在图表最上面的假设单元对净现值的影响最大条形图的方向表明该影响是正影响还是负影响在本例中2006年到2009年的市场份额对净现值的影响最大图11在这项研究中最后几年的市场份额取得比较大表1这样的假设合理吗如果缩小这些分布的范围重新运行该模拟会发生怎样的情况呢通过提出上述这些问题你就会明白模拟和灵敏度分析可以如何帮助你关注模型中起最重要作用的那些因素模拟建模是一个不断反复的过程开始的结果可能显示互动电视项目不会达到预期的效果但通过对模型中起关键作用的因素的了解能帮助你改进该模型并将内部风险转移出去3.9 保存结果当对模型和模拟的结果感到满意后你有两种方式将其保存成文件第一种方法是将模拟结果图表和变量生成一个可打印的报告这个包含Excel图表的报告文件可以保存为一图10净现值预测单元的统计数据视图图11净现值的灵敏度分析图表个新的工作表也可以保存为与模型同一工作簿的一个新工作表另外也可以摘录一些原始预测数据诸如预测值统计数据百分比值频数将其保存到一个新的工作表中或者将其保存到与模型同一工作簿的一个新工作表中4 结论对未来赢利状况进行模拟分析可以帮助用户减少风险大大提高决策的质量水晶球软件2000专业版在Excel中增加一些非常容易使用的工具其中包括蒙特卡洛模拟全局优化和时间序列预测从而克服了电子表格的局限性把概率论方法引入到电子表格预测中分析家可以更好地量化模型的内在风险并得到更多的灵感而这是传统定性方法所不能得到的附录水晶球资源本初级教程中描述的模型可以在决策工程公司网站的模型范例库<网址/models/model_index.html>中免费获得该网站还包括论文教程案例研究以及互联网链接等一些其它免费资源另外还可以在该网站免费下载该软件及其教程的试用版本。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

风险管理软件CrystalBall操作指南(英文版)(doc 16页)Monte-Carlo Simulation with Crystal Ball®To run a simulation using Crystal Ball®:1. Setup SpreadsheetBuild a spreadsheet that will calculate the performance measure (e.g., profit) in terms of the inputs (random or not). For random inputs, just enter any number.2. Define Assumptions—i.e., random variablesDefine which cells are random, and what distribution they should follow.3. Define Forecast—i.e., output or performance measureDefine which cell(s) you are interested in forecasting (typically the performance measure, e.g., profit).4. Choose Number of TrialsSelect the number of trials. If you would later like to generate the Sensitivity Analysis chart, choose “Sensitivity Analysis” under Options in Run Preferences.5. Run SimulationRun the simulation. If you would like to change parameters and re-run the simulation, you should “reset” the simulation (click on the “Reset Simulation” button on the toolbar or in the Run menu) first.6. View ResultsThe forecast window showing the results of the simulation appears automatically after (or during) the simulation. Many different results are available (frequency chart, cumulative chart, statistics, percentiles, sensitivity analysis, and trend chart). The results can be copied into the worksheet.Crystal Ball Toolbar:Define Define Run Start Reset Forecast Trend Assumptions Forecast Preferences Simulation Simulation Window ChartWalton Bookstore Simulation with Crystal Ball®Recall the Walton Bookstore example: It is August, and they must decide how many of next year’s nature calendars to order. Each calendar costs the bookstore $7.50 and is sold for $10. After February, all unsold calendars are returned to the publisher for a refund of $2.50 per calendar. Suppose Walton predicts demand will be somewhere between 100 and 300 (discrete uniform).Demand = d ~ Uniform[100, 300]Order Quantity = Q (decision variable)Revenue = $10 * Min(Q, d)Cost = $7.50 * QRefund = $2.50 * Max(Q–d, 0)Profit = Revenue – Cost + RefundStep #1 (Setup Spreadsheet)1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17A B C D E F Simulation of Walton's BookstoreD ataU ni t C ost =$7.50U ni t P rice =$10.00U ni t R ef und =$2.50D emand D is tribution (Uniform)M inim um =100M axi mum =300D ecis ion VariableOrder Quantity =200SimulationD em and R evenue C ost R efund P rof i t200$2,000.00$1,500.00$0.00$500.0015 16 17B C D E F SimulationD em and R evenue C ost R efund P rofi t 200=C5*M IN(C13,B17)=C4*C13=C6*M A X(C13-B17,0)=C17-D17+E17Walton Bookstore Simulation with Crystal Ball ®Step #2 (Define Assumptions —i.e., random variables)—color code (blue):1617B D emand 200and click on the “Define Assumptions” button in toolbar (or in the Cell menu):Select type of distribution:Provide parameters of distributions:8910B CD emand Distribution (U niform)M inim um =100M axi mum =300Walton Bookstore Simulation with Crystal Ball ®Step #3 (Define Forecast —i.e., output)1617F P rof i t$500.00click on the “Define Forecast” button in toolbar (or in the Cell menu),and fill in the Define Forecast dialogue box.Step #4 (Choose Number of Trials)Click on the “Run Preferences” button in toolbar (or in the Run menu):and select the number of trials to run.Walton Bookstore Simulation with Crystal Ball ®Step #5 (Run Simulation)Click on the “Start Simulation” button in toolbar (or Run in the Run menu):Step #6 (View Results)The results of the simulation can be viewed in a variety of different ways (frequency chart, cumulative chart, statistics, and percentiles). Choose different options under the View menu in the forecast window.The results can be copied into a worksheet or Word document (choose Copy under the Edit menu in the simulation output window.Using Trend Charts to Find the Impact of Order Quantityon Potential ProfitDefine several forecast cells (G14:G18) for several possible order quantities (Q=100, 150, 200, 250, 300). Use the same random order quantity for each to compare them more equally (i.e., one assumption cell for demand—C14—with the rest set equal to C14).1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18A B C D E F G Simulation of Walton's BookstoreD ataU ni t C ost =$7.50U ni t P rice =$10.00U ni t R ef und =$2.50D emand D is tribution (Uniform)M inim um =100M axim um =300SimulationOrder Quantity D em and R evenue C ost R efund P rof it 100200$1,000.00$750.00$0.00$250.00150200$1,500.00$1,125.00$0.00$375.00200200$2,000.00$1,500.00$0.00$500.00250200$2,000.00$1,875.00$125.00$250.00300200$2,000.00$2,250.00$250.00$0.0012 13 14 15 16 17 18B C D E F G SimulationOrder Quantity D em and R evenue C ost R efund P rofi t 100200=$C$5*M IN(B14,C14)=$C$4*B14=$C$6*M AX(B14-C14,0)=D14-E14+F14 150=$C$14=$C$5*M IN(B15,C15)=$C$4*B15=$C$6*M AX(B15-C15,0)=D15-E15+F15 200=$C$14=$C$5*M IN(B16,C16)=$C$4*B16=$C$6*M AX(B16-C16,0)=D16-E16+F16 250=$C$14=$C$5*M IN(B17,C17)=$C$4*B17=$C$6*M AX(B17-C17,0)=D17-E17+F17 300=$C$14=$C$5*M IN(B18,C18)=$C$4*B18=$C$6*M AX(B18-C18,0)=D18-E18+F18After running the simulation, choose “Open Trend Chart” in the Run menu. This chart gives “certainty bands” for the forecast cells. 10% of the time, the project duration will fall within the inner band (light blue), 25% of the time within the 2nd band (red), 50% of the time within the third band (green), and 90% of the time within the outside band (dark blue).Project Management—Global OilGlobal Oil is planning to move their credit card operation to Des Moines, Iowa from their home office in Dallas. The move involves many different divisions within the company. Real estate must select one of three available office sites. Personnel has to determine which employees from Dallas will move, how many new employees to hire, and who will train them. The systems group and treasurer’s office must organize the new operating procedure and make financial arrangements. The architects will have to design the interior space, and oversee needed structural improvements. Each site is an existing building with sufficient open space, but office partitions, computer facilities, furnishings, and so on, must all be provided.A complicating factor is that there is an interdependence of activities. In other words, some parts of the project cannot be started until other parts are completed. For example, Global cannot construct the interior of an office before it has been designed. Neither can it hire new employees until it has determined its personnel requirements.The necessary activities and their necessary predecessors (due to interdependence) are listed below. Three estimates are made for the completion time of each activity—the minimum time, most likely time, and maximum time.Immediate Time Estimates (days)Minimum Most Likely Maximum Activity Description PredecessorA Select Office Site —21 21 21B Create Org. & Fin. Plan —20 25 30C Determine Personnel Req. B 15 20 30D Design Facility A, C 20 28 42E Construct Facility D 40 48 66F Select Personnel to Move C 12 12 12G Hire New Employees F 20 25 32H Move Key Employees F 28 28 28 I Train New PersonnelE, G, H1015 24ABCDFGHIEStartEndGlobal Oil Simulation with Crystal Ball®Step #1 (Setup Spreadsheet)1 2 3 4 5 6 7 8 9 10 11 12 13 14 15A B C D E F G H I J Global Oil Relocation ProjectActivity Tim e (Triangular)Im m edi ate M ost Start Activity Finish Activity D escri ption P redecessors M inim um Likely M axi mum Tim e Tim e Tim eA Sel ect Site-21212102121B C reate Org. & Fin. P lan-20253002525C D eterm ine P ersonnel Req.B152030252045D D esign Facil ity A, C202842452873E C onstruct Facility D4048667348121F Sel ect Personnel to M ove C121212451257G H ire New Em ployees F202532572582H M ove Key E mployees F282828572885I Train N ew P ersonnel E, G, H10152412115136P roject C om pleti on Tim e =136.003456789101112131415H I JStart Activity FinishTim e Tim e Tim e021=H5+I5025=H6+I6=J620=H7+I7=M A X(J5,J7)28=H8+I8=J848=H9+I9=J712=H10+I10=J1025=H11+I11=J1028=H12+I12=M A X(J9,J11,J12)15=H13+I13P roject C ompleti on Tim e ==J13Step #2 (Define Assumptions—i.e., random variables)Each of the random activity times (B, C, D, E, G, and I) is assumed to follow the triangular distribution.Global Oil Simulation with Crystal Ball®Step #3 (Define Forecast—i.e., output)Cell J15 is the forecast cell:15G H I J Project Completion Time =136.00Step #4 (Choose Number of Trials)500 trials were run. In addition, Sensitivity Analysis was enabled in the Options of the Run Preferences dialogue box. This allows for the generation of sensitivity analysis results later.Step #5 (Run Simulation)Step #6 (View Results)Additional Results Available with Crystal Ball®Slide the triangles below the histograms to determine the probability that the output (project duration) is less than a certain value (e.g., a deadline), greater than a certain value, or between any two values (by sliding both triangles).Alternatively, you can type in values for the lower bound or upper bound to determine the probability. You can also type in a probability (in “Certainty”), and it will determine the range that has that probability.There is a 79% chance the project will be completed within 150 days.There is a 2.4% chance that the project will take more than 160 days.Sensitivity ChartChoose “Open Sensitivity Chart” in the Run menu. Note that this chart is only availableif you selected the “Sensitivity Analysis” option under Run Preferences. This chartgives an indication as to which random variables (activity times) have the greatest impact on the output cell (project completion time).Variability in activity E has the greatest impact on overall project duration, followed by activity D, C, I, and B. Variability in activity G has almost no impact.Fitting a DistributionCrystal Ball can be used to “fit” a distribution to data.The following data has been collected for the previous 100 phone calls to a mail-order house:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 99 100 101 102 103 104A B C D E F G H I Phone DataArrival Interarrival Length of Call Interarrival Length of Call Cus tomer #(minutes)Time(minutes)Time(minutes)18.228.22 3.77Averages 2.004 4.51212.25 4.03 4.53312.270.02 4.04416.26 3.98 3.70Simulation24518.06 1.81 5.38618.870.81 4.36723.46 4.58 4.41823.530.08 5.14928.73 5.20 4.761030.56 1.83 4.681132.36 1.80 5.061236.90 4.54 5.751343.30 6.40 4.061443.880.57 3.251545.17 1.29 3.5795194.020.28 4.2696195.48 1.46 3.3797195.870.38 4.4598196.840.98 5.0699197.810.97 5.20100200.43 2.61 4.25345G H IInterarrival Length of CallTime(minutes)Averages=AVERAGE(D5:D104)=AVERAGE(E5:E104)(80 rows have been hidden)Fitting Data to a DistributionUsing Crystal Ball® to fit data to a distribution1. Select a spreadsheet cell.2. Choose Define Assumption.3. Click the Fit button, then select the source of the fitted data.4. Click the Next button, then select the distributions to try to fit.5. Click OK.Interarrival TimeService Time。

相关文档
最新文档