Abstract
In the last chapter, we examined the probability distribution of discrete random variables. In this chapter, we will look at the probability distribution of random variables.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
The detailed information about SAS PDF function can be found in the link http://v8doc.sas.com/sashtml/lgref/z0270634.htm#z0226403
- 2.
The detailed information about SAS PDF function can be found in the link http://support.sas.com/documentation/cdl/en/lefunctionsref/63354/HTML/default/viewer.htm#n0n7cce4a3gfqkn1vr0p1x0of99s.htm
Bibliography
Microsoft Inc. Excel 2013. Microsoft Inc., Redmond
Lee CF, Lee JC, Lee AC (2013) Statistics for business and financial economics. Springer, New York
Minitab Inc. Minitab 17. Minitab Inc., State College
SAS Institute Inc. SAS 2014. SAS Institute Inc., Cary
Author information
Authors and Affiliations
Appendices
Appendix 7.1: Excel Code—Normal Distribution
Appendix 7.2: Excel Code—Uniform Distribution
Appendix 7.3: QQ Plot
A QQ plot is a probability plot of quantiles of two distributions against each other. It is a graphical method for comparing two probability distributions . If the two distributions are similar, the points on the QQ plot will approximately lie on the line Y = X.
Below is an example to show you how to use Excel to graph a QQ plot. Assume we have gotten the JNJ stock return data. Data period is 1967–2011. We would like to compare this data and normal distribution.
Here are the main steps to calculate the QQ plot:
Step 1: Select column B and choose Data → Sort A to Z.
After pressing the A to Z button and expanding the selection, we get the result like below:
Step 2: Standardize the return data.
The formula for standardized return in cell C4 is
Step 3: Construct the sample number column E.
Step 4: Use the number of Step 3 to calculate the cumulative distribution function (CDF).
The CDF formula in the cell F2 is
Step 5: Use NORMSINV function to z of column F.
The formula of z in cell G2 is
Step 6: Use columns G, z and z, to chart a benchmark line, and use column C and column G, standard return and z, to graph a comparative line.
Rights and permissions
Copyright information
© 2016 Springer International Publishing Switzerland
About this chapter
Cite this chapter
Lee, CF., Lee, J., Chang, JR., Tai, T. (2016). The Normal and Lognormal Distributions. In: Essentials of Excel, Excel VBA, SAS and Minitab for Statistical and Financial Analyses. Springer, Cham. https://doi.org/10.1007/978-3-319-38867-0_7
Download citation
DOI: https://doi.org/10.1007/978-3-319-38867-0_7
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-38865-6
Online ISBN: 978-3-319-38867-0
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)