0% found this document useful (0 votes)
2 views20 pages

XL-Modeling Random Normal

The document provides instructions on enabling macros in an Excel workbook, which are disabled due to high security settings. It also introduces a program related to normal distribution simulations, detailing input parameters and expected outputs. Additionally, it highlights the offerings of XL Modeling in Excel VBA models for finance and statistics, emphasizing their educational resources and open-source code availability.

Uploaded by

Katrine Ramires
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views20 pages

XL-Modeling Random Normal

The document provides instructions on enabling macros in an Excel workbook, which are disabled due to high security settings. It also introduces a program related to normal distribution simulations, detailing input parameters and expected outputs. Additionally, it highlights the offerings of XL Modeling in Excel VBA models for finance and statistics, emphasizing their educational resources and open-source code availability.

Uploaded by

Katrine Ramires
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
You are on page 1/ 20

www.excel-modeling.

com

You are seeing this page because your Excel macro security level is set to
High on your computer. This setting automatically disable macros from a
Excel workbook when it is opened without giving you the choice to enable
the macros.

To use this Excel program, you must enable the macros containing in this
workbook. If you are still not quite sure, please contact us via email at
[email protected].

To enable the marcos, please follow the steps below:

Step 1. Go to Tools… Macro… Security...

Step 2. Set the security level to Medium so that you can


choose whether or not to run macros from any
particular bookbook.
* You only need to do step one and two once.

Step 3. Close this shareware file and re-open it again.

Step 4. A message box like the following will pop up.


Choose Enable Macros to run the trial program.
modeling.com

curity level is set to


able macros from any
he choice to enable

s containing in this
t us via email at
www.excel-modeling.com
EXCEL VBA OPEN SOURCE CODE

Introduction About Our Product


This program is part
of the 37 programs
Demonstrati... in the Excel VBA
Models combo
package. For more
More Preview product information,
please click the
[More Preview]
Order Info button. The source
code of this trial
version is protected.

Copyright C Excel Business Solutions. All Rights Reserved.


modeling.com

hts Reserved.
www.excel-modeling.com

Introduction
The normal distribution is the most commonly used probability distribution in statistics.
Demonstra... Many other probability distributions are related to this distribution. As the number of
random variables increases, the distribution becomes a bell shaped curve. This curve is
called the normal curve or Gaussian curve (in honor of the German mathematician Karl
More Preview Friedrick Gauss, 1777-1855). The normal distribution is defined with mean and standard
deviation.
Order Info
The following example shows input and output from 3 simulations. Each has the same
mean (50) with different standard deviation, 5, 10, and 30 respectively. All three
simulations have 50,000 iterations and alpha of 5% (for 1 tail test).

Copyright C
Anthony Sun.
All Rights Reserved.

Introduction
An introduction on
the Excel VBA
model plus
explaination on the
key points on how
the VBA code is
applied.

The output shows the estimate of skewness, mean, stand deviation, maximum value,
minimum value, lower confidence interval, and upper confidence interval from each of
the 3 simulations. The skew levels from each of the simulated distributions are closed
to zero. That is because the distributions are normal. Notice that both the maximum
values and the minumum values are approximately equal to mean x 4 standard
deviations and mean x -4 standard deviations respectively.

The following shows the charts generated from the 3 simulations.


modeling.com

ribution in statistics.
As the number of
d curve. This curve is
n mathematician Karl
th mean and standard

Each has the same


vely. All three

n, maximum value,
terval from each of
ributions are closed
both the maximum
x 4 standard
A B C D E F G H I J K L M N O P Q
1
2
3 www.excel-modeling.com
4
5
6
7
Introduction
8 Random Number Generator - Normal Distribution
9 Demonstra...

10 More Previ...

Order Info
11
12 Input 1 2 3 1
13 Alpha (1 Tail) 5.00% 5.00% 5.00%
14 Iteration 50000 50000 50000
15 Mean 50 50 50
Copyright C
16 Anthony Sun. SD 5 10 30
17 All Rights Reserved.
18
19
✘ Populate simulated deviate on spreadsheet (65535 limit)
20
21 Website Informati... Output
22 XL Modeling has Skew 0.02 -0.01 0.00 0
been in the Internet Mean 50.01 50.05 50.12
23 community since
24 1997. As of today, Sd 5.00 10.03 29.96
25 XL Modeling Min 29.28 9.92 -82.36
continues to strive
26 to provide the best
Max 72.28 90.96 177.44
27 and most affordable Lower CI 41.80 33.52 0.95
28 learning tools in Upper CI 58.22 66.44 99.38
advanced Excel
29 VBA Modeling.
30 Iteration Progress 50,000
31
32 Sorting Progress 50,000
33
34
Randon
35 Numbers
36 (1) (1) (2) (3)
37 Bin Value Frequency Bin Value Frequency Bin Value Frequency
38 Histogram for Random Numbers 30.3526 2 11.9468 5 -75.8663 2
39 5000 31.4276 3 13.9728 1 -69.3712 0
4500 32.5026 4 15.9988 10 -62.8761 3
40
4000
41 3500 33.5775 9 18.0248 14 -56.3810 3
42 3000 34.6525 24 20.0508 39 -49.8859 11
43 2500 35.7275 53 22.0768 58 -43.3908 16
2000
44 1500
36.8025 112 24.1028 130 -36.8956 35
45 1000 37.8775 171 26.1288 187 -30.4005 87
46 500 38.9525 300 28.1548 291 -23.9054 177
0
47 40.0275 468 30.1808 459 -17.4103 248
32 5
34 0
36 5
38 0
41 5
43 0
45 5
47 0
49 5
51 0
54 5
56 0
58 5
60 0
62 5
64 0
66 5
69 0
71 5
0

48 41.1025 703 32.2067 717 -10.9152 453


.3
.5
.6
.8
.9
.1
.2
.4
.5
.7
.8
.0
.1
.3
.4
.6
.7
.9
.0
.2
30

49 42.1775 1057 34.2327 936 -4.4201 703


50 (2) 43.2525 1432 36.2587 1390 2.0750 942
51 44.3274 2002 38.2847 1827 8.5701 1485
52 Histogram for Random Numbers 45.4024 2532 40.3107 2249 15.0652 1932
53 4500 46.4774 3178 42.3367 2805 21.5603 2497
54 4000 47.5524 3631 44.3627 3099 28.0554 2971
3500
55 48.6274 3955 46.3887 3616 34.5506 3541
3000
56 49.7024 4267 48.4147 3976 41.0457 3959
2500
57 2000 50.7774 4321 50.4407 4041 47.5408 4210
58 1500 51.8524 3972 52.4667 3882 54.0359 4348
59 1000 52.9274 3806 54.4926 3845 60.5310 4125
60 500 54.0024 3406 56.5186 3385 67.0261 3897
0 55.0774 2794 58.5446 3030 73.5212 3473
61
62 56.1523 2297 60.5706 2584 80.0163 2844
16 5
20 0
24 5
28 0
32 5
36 1
40 6
44 1
48 6
52 1
56 7
60 2
64 7
68 2
72 7
76 3
80 8
84 3
88 8
3
.9
.0
.0
.1
.1
.2
.2
.3
.3
.4
.4
.5
.5
.6
.6
.7
.7
.8
.8
.9
11

63 57.2273 1762 62.5966 2145 86.5114 2308


64 (3) 58.3023 1328 64.6226 1664 93.0065 1876
65 59.3773 857 66.6486 1222 99.5016 1378
66 60.4523 609 68.6746 825 105.9967 954
Histogram for Random Numbers
67 5000 61.5273 404 70.7006 582 112.4919 598
68 4500 62.6023 243 72.7266 400 118.9870 389
4000
69 3500
63.6773 129 74.7526 251 125.4821 254
70 3000 64.7523 83 76.7785 165 131.9772 126
71 2500 65.8273 34 78.8045 72 138.4723 86
2000
72 1500
66.9023 26 80.8305 46 144.9674 39
73 1000 67.9772 15 82.8565 26 151.4625 17
74 500 69.0522 5 84.8825 12 157.9576 5
0
75 70.1272 3 86.9085 4 164.4527 5
-6 7
-4 8
-3 9
-2 0
-1 1
92

15 8

11 00
13 99
14 98
15 97
17 96
95
28 7
41 6
54 5
67 4
80 3
93 2
10 01

76 71.2022 2 88.9345 8 170.9478 0


0
8
8
8
9
9

.0
.0
.0
.0
.0
.0
5.
2.
9.
6.
3.
0.
2.

6.
8.
1.
4.
7.
0.
.
-7

77 72.2772 1 90.9605 2 177.4429 3


www.excel-modeling.com

Introduction XL Modeling has been in the Internet community since 1997. During the past several years, we
have developed many Excel VBA models in the academic fields and have helped many students
and professionals in learning Excel VBA modeling in finance and statistic through our open
Demonstra... source code tutorials.

More Preview As of today, XL Modeling continues to strive to provide the best and most affordable learning
tools in advanced Excel VBA Modeling.

Order Info We provide several learning packages with Excel VBA programs that are ready to run. The
source code of these Excel files is unprotected for learning purposes. They can be purchased at
a very affordable price.

Category: Finance and Statistics Models (Set 1)


Copyright C
Anthony Sun. Project Name
All Rights Reserved. Standard Deviation and Mean
Lotto Number Generator
Playing Card Probability
Monte Carlo Integration
More Preview Normal Distribution Random Number Generator
Provides preview Black-Scholes Option Pricing Model - European Call and Put
of 30+ more Binomial Option Pricing Model
examples and the
links to the Portfolio Optimization
examples on the Multiple Regression
web. Bootstrap - A Non-Parametric Approach
Multivariate Standard Normal Probability Distribution
Monte Carlo Simulation
Option Greeks Based on Black-Scholes Option Pricing Model

Category: Random Numbers Generator and Statistics (Set 2)


Project Name
Random Number Generator - Chi-Square Distribution
Random Number Generator - F-Distribution
Random Number Generator - Student-T Distribution
Random Number Generator - Normal Distribution
Random Number Generator - Log Normal Distribution
Random Number Generator - Log Pearson Type III Distribution
Random Number Generator - Multivariate Standard Normal Distribution
Random Number Generator - Gamma Distribution
Random Number Generator - Beta Distribution
Random Number Generator - Hypergeometric Distribution
Random Number Generator - Triangular Distribution
Random Number Generator - Binomial Distribution

Category: Numerical Searching Methods and Option Pricing (Set 3)


Project Name
Numerical Searching Method - Newton-Ralphson
Numerical Searching Method - Secant Method
Implied Standard Deviation For Black/Scholes Call - Newton Approach
Implied Standard Deviation For Black/Scholes Call - Secant Approach
Implied Standard Deviation For Black/Scholes Call - Bisection Approach
Implied Standard Deviation For Black/Scholes Put - Newton Approach
Implied Standard Deviation For Black/Scholes Put - Secant Approach
Implied Standard Deviation For Black/Scholes Put - Bisection Approach
Black-Scholes Option Pricing Model - European Call and Put
Option Greeks Based on Black-Scholes Option Pricing Model
European Option Model on Asset with Known Cash Payouts
European Option Model on Asset with Continuous Cash Payouts (Index Option)
European Option Model on Currency
European Option Model on Futures
modeling.com

he past several years, we


ve helped many students
ic through our open

ost affordable learning

e ready to run. The


They can be purchased at

Web
Link
Link
Link
Link
Link
Link
Link
Link
Link
Link
Link
Link
Link

Web
Link
Link
Link
Link
Link
Link
Link
Link
Link
Link
Link
Link

Web
Link
Link
Link
Link
Link
No
No
No
Link
Link
Link
Link
Link
Link
www.excel-modeling.com

Introduction
37 Excel VBA prorgrams in finance and statistics (Package Set 1, 2, and 3
Demonstra... with open source codes for only $29.95*. (Each individual package set is $14

More Preview
A saving of over 30%!
Order Info
Each of the 37 programs is self contained and ready to run.
Users can learn from the open source codes.

To order, click the following link and follow the 3 steps as demonstrated on th
Copyright C
Anthony Sun.
All Rights Reserved. http://www.excel-modeling.com/index_002.htm

Order Info

3-Step Simple Order Process


Provides order
information and
shows how easy it
is to use the 3
easy-step process
to order and
download.

1 Click the Buy Now button next to the package you wish
to purchase.

You will be taken to the Paypal Order page

2 If you have a Paypal account:


provide your email address and password
If you do not have a Paypal account:
Click the [Click Here] button

and supply your credit card information


3 Upon the success of the payment transaction, you will
be taken to a download page. Click the download link
to download the product.

* Price is subjected to change without any notice.


modeling.com

(Package Set 1, 2, and 3)


dual package set is $14.95*)

and ready to run.


rce codes.

as demonstrated on this page.

ex_002.htm

rocess

package you wish


nsaction, you will
he download link

You might also like