Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 12. Regression Diagnostics > 12.2 Fitting a Regression Model

12.2 Fitting a Regression Model

This section uses the techniques that are described in Chapter 4 to call the GLM procedure to perform a linear regression and to create graphs of the analysis in SAS/IML Studio. Techniques from Chapter 9 are used to add prediction bands and reference lines to the graphs in order to make the graphs more interpretable.

The regression model for this example uses variables from the Movies data set. As seen in previous chapters, there appears to be a relationship between the Budget of a movie and the US_Gross variable (see Figure 7.7). However, neither variable is normally distributed (see Figure 7.6), so Atkinson (1985) and others suggest applying a normalizing transformation to these variables. For these data, it makes sense to apply a logarithmic transformation to each variable (see Figure 8.5) and to model the log-transformed variables.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial