Applied Regression Modeling. Iain Pardoe

Applied Regression Modeling - Iain Pardoe


Скачать книгу
alt="images"/>, which represents the probability that a standard normal random variable lies between images and images.

      The key feature of the normal density curve that allows us to make statistical inferences is that areas under the curve represent probabilities. The entire area under the curve is one, while the area under the curve between one point on the horizontal axis (images, say) and another point (images, say) represents the probability that a random variable that follows a standard normal distribution is between images and images. So, for example, Figure 1.3 shows there is a probability of 0.475 that a standard normal random variable lies between images and images, since the area under the curve between images and images is 0.475.

Upper‐tail area 0.1 0.05 0.025 0.01 0.005 0.001
Horizontal axis value 1.282 1.645 1.960 2.326 2.576 3.090
Two‐tail area 0.2 0.1 0.05 0.02 0.01 0.002

      In particular, the upper‐tail area to the right of 1.960 is 0.025; this is equivalent to saying that the area between 0 and 1.960 is 0.475 (since the entire area under the curve is 1 and the area to the right of 0 is 0.5). Similarly, the two‐tail area, which is the sum of the areas to the right of 1.960 and to the left of −1.960, is two times 0.025, or 0.05.

      How does all this help us to make statistical inferences about populations such as that in our home prices example? The essential idea is that we fit a normal distribution model to our sample data and then use this model to make inferences about the corresponding population. For example, we can use probability calculations for a normal distribution (as shown in Figure 1.3) to make probability statements about a population modeled using that normal distribution—we will show exactly how to do this in Section 1.3. Before we do that, however, we pause to consider an aspect of this inferential sequence that can make or break the process. Does the model provide a close enough approximation to the pattern of sample values that we can be confident the model adequately represents the population values? The better the approximation, the more reliable our inferential statements will be.

      We saw in Figure 1.2 how a density curve can be thought of as a histogram with a very large sample size. So one way to assess whether our population follows a normal distribution model is to construct a histogram from our sample data and visually determine whether it “looks normal,” that is, approximately symmetric and bell‐shaped. This is a somewhat subjective decision, but with experience you should find that it becomes easier to discern clearly nonnormal histograms from those that are reasonably normal. For example, while the histogram in Figure 1.2 clearly looks like a normal density curve, the normality of the histogram of 30 sample sale prices in Figure 1.1 is less certain. A reasonable conclusion in this case would be that while this sample histogram is not perfectly symmetric and bell‐shaped, it is close enough that the corresponding (hypothetical) population histogram could well be normal.

Graph depicts the QQ-plot for the home prices example.

       Optional—technical details of QQ‐plots

      For the purposes of this book, the technical details of QQ‐plots are not too important. For those that are curious, however, a brief description follows. First, calculate a set of images equally spaced percentiles (quantiles) from a standard normal distribution. For example, if the sample size, images, is 9, then the calculated percentiles would be the 10th, 20th, images, 90th. Then construct a scatterplot with the images observed data values ordered from low to high on the vertical axis and the calculated percentiles on the horizontal axis. If the two sets of values are similar (i.e., if the sample values closely follow a normal distribution), then the points will lie roughly along a straight line. To facilitate this assessment, a diagonal line that passes through the first and third quartiles is often added to the plot. The exact details of how a QQ‐plot is drawn can differ depending on the statistical software used (e.g., sometimes the axes are switched


Скачать книгу