文档介绍:Regression with Stata
Chapter 1 - Simple and Multiple Regression
Chapter Outline
Introduction
A First Regression Analysis
Examining Data
Simple linear regression
Multiple regression
Transforming variables
Summary
Self assessment
For more information
Introduction
This book posed of four chapters covering a variety of topics about using Stata for regression. We should emphasize that this
book is about "data analysis" and that it demonstrates how Stata can be used for regression analysis, as opposed to a book that covers
the statistical basis of multiple regression. We assume that you have had at least one statistics course covering regression analysis
and that you have a regression book that you can use as a reference (see the Regression With Stata page and our Statistics Books for
Loan page for mended regression analysis books). This book is designed to apply your knowledge of regression, combine it
with instruction on Stata, to perform, understand and interpret regression analyses.
This first chapter will cover topics in simple and multiple regression, as well as the supporting tasks that are important in preparing to
analyze your data, ., data checking, getting familiar with your data file, and examining the distribution of your variables. We will
illustrate the basics of simple and multiple regression and demonstrate the importance of inspecting, checking and verifying your data
before accepting the results of your analysis. In general, we hope to show that the results of your regression analysis can be
misleading without further probing of your data, which could reveal relationships that a casual analysis could overlook.
In this chapter, and in subsequent chapters, we will be using a data file that was created by randomly sampling 400 elementary
schools from the California Department of Education's API 2000 dataset. This data file contains a measure of school