Plot the standard Gaussian model
The “standard” Gaussian model is a Gaussian model with a mean of zero and a standard deviation of one.
In this exercise, given a set of bins spanning a range of possible values, your goal is to compute and display the theoretical probabilities of each bin.
To do so, use the function NORMDIST(). It has four arguments:
x: The value for which you want to compute the density (or the cumulative probability).m: The location (mean) of the Gaussian model.s: The dispersion (standard deviation) of the Gaussian model.cumulative: TRUE if you want the cumulative probability, FALSE if you want the density.
Remember that the probability is the surface below the density curve, and can be computed by taking the difference of the cumulative probability at the boundaries of the bin.
Bài tập này là một phần của khóa học
Phân tích tài chính với Google Sheets
Hướng dẫn bài tập
In
C3, useNORMDIST(UB, 0, 1, TRUE)minusNORMDIST(LB, 0, 1, TRUE)to compute the theoretical probability of the first bin. UB is the upper bound of the bin and LB is the lower bound of the bin.In
C4:C35, complete the series by using the autofill feature.Display the probabilities using a column chart and place the series of bins (lower bound) on the horizontal axis. Include cells with titles (
A2andC2) in your chart.Change the title to
Gaussian model.
Bài tập tương tác thực hành
Biến lý thuyết thành hành động với một trong các bài tập tương tác của chúng tôi
Bắt đầu bài tập