Chapter 18
Getting Straight Talk on Straight-Line Regression
In This Chapter
Determining when to use straight-line regression
Grasping the theory
Doing straight-line regression and making sense of the output
Watching for things that can go wrong
Estimating the sample size you need
Chapter 17 talks about regression analyses in a general way. This chapter focuses on the simplest kind of regression analysis: straight-line regression. You can visualize it as “fitting” a straight line to the points in a scatter plot from a set of data involving just two variables. Those two variables are generally referred to as X and Y.
The X variable is formally called the independent variable (or the predictor or cause).
The Y variable is called the dependent variable (or the outcome or effect).
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access