1 SIMPLE REGRESSION THEORY II 1 Simple Regression Theory II 2010 Samuel L. Baker Assessing how good the regression equation is likely to be Assignment 1A gets into drawing inferences about how close the regression line might be to the true line. We make these inferences by examining how close the data points are to the regression line we draw. If the data points line up well, we infer that our regression line is likely to be close to the true line. If our data points are widely scattered around our regression line, we consider ourselves less certain about where the true line is. If we are unlucky, the data points will fool us by lining up very well in a wrong direction. Other times, again if we are unlucky, the data points will fail to line up very well, even though there really is a relationship between our X and Y variables. If those things happen, we will come to an incorrect conclusion about the relationship between X and Y. Hypothesis testing, which we discuss soon, is how we try to sort this out. In Simple Regression Theory I, I discussed the assumption that the observed points come from a true line with a random error added or subtracted. I called this Assumption 1, rather than just The Assumption, because there we will need some more assumptions if we want to make inferences about how good our regression line is for explaining and predicting. Let s review the notation that we are using: Each data point is produced by this true equation: Y i = + X i +e i. This equation says that the ith data point s Y value is the true line s intercept, plus the ith X value times the true line s slope, plus a random error e that is different for each data point. That is Assumption 1 expressed with algebra. Once we accept Assumption 1, there are two parameters, the true slope and the true intercept, that we want to estimate, based on our data. An estimate is a specific numerical guess as to what some unknown parameter is. In the Assignment 1A instructions, page 2, the example spreadsheet shows as an estimate of the true slope. The word estimate in that sentence is important is not. It is an estimate of. An estimator is a recipe, or a method, for obtaining an estimate. You have used two estimators of already. One is the eyeball estimator (plot the points, draw the line, inspect the graph, calculate the slope). The other is the least squares estimator (type the data into a spreadsheet, implement the least squares formula, report the result). Here s an idea that can take some getting used to: Estimates are random variables. This may seem like a funny idea, because you get your estimate from your data. However, if you use the theory we have been developing here, each Y value in your data is a random variable. That is because each Y value includes the random error that is causing it to be above or below the true line. Your estimates of the intercept and slope, ^ and ^ ( alpha-hat and beta hat ), derive from these Y values. The ^ and ^ that you get from any particular data set depends on what the errors e i were when those data were generated. This makes your estimates of the parameters random variables.
2 SIMPLE REGRESSION THEORY II 2 In assignment 1, everybody in the class had data with the same true slope and intercept, but different errors. As a result of the different errors, everybody got different values for ^ and ^. That is what it means to say that the estimates of and are random variables. Because each estimate is a random variable, each estimator (recipe for getting the estimate) has what is called a sampling distribution. This means that each estimator, when used in a particular situation, has an expected value and a variance expected spread. A good estimator a good way of making an estimate would be one that is likely to give an estimate that is close to the true value. A good estimator would have an expected value that is near the true value and a variance that is small. As mentioned, Assumption 1 is that there is a true line, and that the observed data points scatter around that line due to random error. By adding more assumptions, we can use the sampling distribution idea to move toward assessing how good an estimator the least squares method is. We can also use this idea to assess how good an estimator the eyeball method is. Assumption 2: The expected value of any error is 0. We can write this assumption in algebraic terms as: Expected(e i ) = 0 for all each observation i. (i numbers the observations from 1 to N), This means that we assume that the points we observe are not systematically above or below the true line. If, in practice, there are more points, say, above the true line than below it, that is entirely due to random error. If this assumption is true, then the expected values of the least squares line's slope and intercept are the true line's slope and intercept. Algebraically, we can write: Expected( ^ ) = and Expected( ^) =. Those formulas mean that the least squares regression line is just as likely to be above the true line as below it, and just as likely to be too steep as to be not steep enough. The slope and intercept estimates are aimed at their targets. The jargon term for this is that the estimators are unbiased. The next two assumptions are about the variances and covariances of the observations errors (e i ). Assumption 3: All the errors have the same variance. Expected(e i2 ) = 2 for all i Expected(e i2 ) is the variance of ith data point s error e i. The variance formula usually involves subtracting the mean, but here the mean of each error is 0. That is assumption 2, that the expected value of e i is 0. Notice that, in the formula Expected(e i2 ) = 2, there is a subscript i on the left side of the equals sign, but no i subscript on the right side. This expresses the idea that all the errors variances are the same. I use 2 ("sigma-squared") here for the variance of the error, because that is the textbook convention.
3 SIMPLE REGRESSION THEORY II 3 All the errors having the same variance means that all of the observations are equally likely to be far from or near to the true line. No one observation is more reliable than any other, deserving more weight. In almost any data set, some data points will be closer to the true line than others. This, we assume, is entirely by luck. If one or two points stick way out, like a basketball player in a room full of jockeys, we have doubts about assumption 3. Assumption 4: All the errors are independent of each other. Expected(e i e j ) = 0 for any two observations such that i =/ j Expected(e i e j ) is the covariance of the two random variables e i and e j. The assumption that this is 0 for any pair of observations means this: If the one point happens to be above the true line, it is not any more or less likely that the next point will also be above the true line. A comment on making these assumptions These assumptions 1 through 4 are not made just from the data. Rather, these assumptions must come primarily from our general understanding of how the data were generated. We can look at the data and get an idea about how reasonable these assumptions are. (Assignment 2 does this.) Usually, we pick the assumptions we make based on a combination of the look of the data and our understanding of where the data came from. When you fit a least squares line to some points, you are implicitly making assumptions 1 through 4. When you draw a straight line by eye through a bunch of points, you are also implicitly making assumptions 1 through 4. What if you are not comfortable with making those assumptions? Later in the course, we will get into some of the alternative models that you can try when one of more of these assumptions do not hold. For example, we will talk about non-linear models. For now, let us stick with the linear model, which means that we accept those assumptions. Variances of the least squares intercept and slope estimates Earlier, it was pointed out that the estimates for the slope and intercept, ^ and ^, are random variables, so each has a mean, or expected value, and a variance. From assumptions 1 through 4, one can derive formulas for the variances of ^ and ^ when they are estimated using least squares. (You cannot derive formulas for the variances of ^ and ^ when they are estimated using the draw-by-eye method. To estimate those variances, you could ask a number of people to draw regression lines by eye. That is what this class does for Assignment 1!) Here are formulas for the variances of the least squares estimators of ^ and ^. (If you would like to see how these formulas are derived, please consult a statistics textbook.)
4 SIMPLE REGRESSION THEORY II 4 In these formulas, 2 is the variance of the errors. Asumption 3 says all errors have the same variance, which is 2. One of the themes of this course is that you can learn something from formulas like these, if you take the trouble to examine them. Don t let them intimidate you! Each formula has 2 multiplied or divided by something. This means that the variances of our regression line parameters are both proportional to 2, the variance of the errors from the true equation. An implication is that the smaller the errors are, the less randomness there is in our ^ and ^ values, and the closer our estimated parameters are likely to be to the true parameters. In the formula for the variance of ^, the denominator gets bigger when there are more X's and when those X's are more spread out. A bigger denominator makes a fraction smaller. This tells us something about designing a study or experiment: If you want your estimates to come out close to the truth, get a lot of observations that are spread out over a big range of values of the independent variable. Those formulas have a major drawback: We cannot directly use them! That is because we don't know what 2 is. What we can do is estimate 2. We call our estimate s 2, and calculate it from the residuals like this: In that expression, the residuals are designated by u i. The numerator says to square each residual and then add them all up, giving you the sum of the squares of the residuals. (The least squares line is the line that makes this sum the smallest.) To get the estimate of the variance of the errors, we divide the sum of squared residuals by N 2. That makes the estimated variance like an average squared residual. I say like an average squared residual because we divide by N 2, rather than by N. Why divide by N-2, instead of N? Using N-2 allows for the fact that the least squares line will fit the data better than the true line does. The least squares line is, by the definition of least squares, the line with the smallest sum of squared residuals. Any other line, including the true line, will have a larger sum of squared residuals. N-2 is the degrees of freedom. In your introductory statistics course, you used models in which the degrees of freedom is N-1. For instance, when you estimated a population variance based on the data in a sample of N from that population, the degrees of freedom was N-1. Why did you subtract 1 from N then, and why are we subtracting 2 now? Then, to estimate the variance of a population around the population s mean, you used one statistic, the mean of the sample. Now, we are using predicted values calculated from two statistics, the slope and the intercept of the regression line. It s easier to get a predicted value that is close to your observation when you have two estimated parameters, instead of just one. Using N 2 allows for that. In general, the number of degrees of freedom is N-P, where P is the number of parameters used to get the number(s) that you subtract from each observation s value.
5 SIMPLE REGRESSION THEORY II 5 To repeat, the reason you subtract P from N in these situations is that the estimated mean and the estimated regression line fit the data better than the actual population mean or the true line would. The more parameters you have, the easier it is to fit your model to the data, even if the model really is not any good. You have to make the degrees of freedom smaller to make the estimated variance come out big enough to correct for this. Substituting s 2 for 2 in the formulas for the variances of ^ and ^ gives estimated variances for ^ and ^. You just change every " " into an "s". Standard Error The standard error of something is the square root of its estimated variance. s, the square root of s 2, is called the standard error of the regression. Here is the formula: ^ has a standard error, too. It s the square root of the estimated variance of ^:: This measures of how much risk there is in using ^ as an estimate of. You can deduce from the formula that the risk in the estimate of is smaller if: the actual points lie close to the regression line (so that s is small), or the X's are far apart (so that the sum of squared X deviations is big). Hypothesis tests on the slope parameter To do conventional hypothesis testing and confidence intervals, we must make another assumption about the errors, one that is even more restrictive: Assumption 5 (needed for hypothesis testing): Each error has the normal distribution. Each error
6 SIMPLE REGRESSION THEORY II 6 e i has the normal distribution with a mean of 0 and a variance of 2. The normal distribution should be familiar from introductory statistics. The normal distribution s density function has a symmetrical bell shape. A normal random variable will be within one standard deviation of its mean about 68.26% of the time. It will be within two standard deviations 99.54% of the time. This means that, on average, 99.54% of your data points should be closer to the true line than 2 times 2. The normal distribution is tight, with very few outliers. If the errors are normally distributed, as assumption 5 states, then the following expression has the t distribution with (Number of observations - 2) degrees of freedom. If you would like to see this derived, please consult a statistics textbook. The general idea is that we use the t distribution for this rather than the normal or z distribution to allow for the fact that the regression line generally fits the data better than the true line. The regression line fits too well, in other words. Using the wider t distribution, rather than the narrower normal distribution, corrects for this. A branching place in our discussion. At this point, we can either go through the mechanics of hypothesis testing, or we can discuss the basic philosophy of hypothesis testing. Which is best for you depends on what you already know about statistics and how you learn. 1. For the philosophy discussion, please see the downloadable Philosophy of Hypothesis Testing file. Then come back here to see the mechanics. 2. If you want to see the mechanics first, continue reading here. Hypothesis testing mechanics for simple regression To use the t formula above to test hypotheses about what the true is, do this: 1. Plug your hypothesized value for in where the is in this expression: Usually, the hypothesized value is 0, but not always. 2. Plug in the estimated coefficient where the ^ is, and put the standard error of the coefficient in the denominator of the fraction. 3. Evaluate the expression. This is your t value. 4. Find the critical value from the t table (there is a t-table is in the downloadable file of tables) by first picking a significance level. The most common significance level is 5%, or That tells you which column in the table to use Use the row in the t table that corresponds to the number of degrees of freedom you have. In general, the degrees for freedom is the number of observations minus the number of parameters that you are estimating. For simple regression, the number of
7 SIMPLE REGRESSION THEORY II 7 parameters is 2 (the parameters are the slope and the intercept), so use the row for (Number of observations - 2) degrees of freedom. 5. The column and the row give you a critical t value. If your calculated t value (ignore any minus sign) is bigger than this critical value from the t table number, reject the hypothesized value for. Otherwise, you don't reject it. In Assignment 1A, you will expand the spreadsheet from Assignment 1 to include a cell that calculates the value of the t fraction. This t value, as we will call it, will be only for testing the hypothesis that the true is 0. This will do steps 1, 2, and 3 for you. In step 5 above, you are supposed to ignore any minus sign. That is because we are doing a two-tailed test. We do this because we want to reject hypothesized values for the true slope that are either too high or too low to be reasonable, given our data. The column headings in the t table in the downloadable file show significance levels for a two-tailed test. Some books present their t tables differently. They base their tables on a one-tailed test, so they have you use the column headed to get the critical value for a two-tailed 0.05-significance-level test. The critical value you get is the same, because the t table value at the 0.05 significance level for a two-tailed test is equal to the t table value at the significance level for a one-tailed test. When you use other books t tables, read the fine print so you know which column to use. Significance levels and types of errors Why use a significance level of 0.05? Only because it s the most common choice. You can choose any level you want. In choosing a significance level, you are trading off two types of possible error: 1. Type 1 error: Rejecting an hypothesis that's true 2. Type 2 error: Refusing to reject an hypothesis that's false If you are testing the hypothesis that the true slope is 0, which is what you usually do, then these become: 1. Type 1 error: The true slope is 0, but you say that there is a slope. In other words, there really is no relationship between X and Y, but you fool yourself into thinking that there is a relationship. 2. Type 2 error: The true slope is not 0, but you say that the true slope might be 0. In other words, there really is a relationship between X and Y, but you say that you are not sure that there is a relationship. Smaller significance levels, like 0.01 or 0.001, make Type 1 errors less likely. Actually, the significance level is the probability of making a Type 1 error. At a significance level, if you do find that your estimate is significant, you can be very confident that the true value is different from the hypothesized value. You will only be wrong one time in a thousand. If your hypothesized value is 0, which it usually is, you can be very confident that the true parameter is not 0. If what you are testing is your estimate of the slope, which it usually is, then you can be very confident that the slope is not 0 and that there really is a relationship between your X and your Y variables.
8 SIMPLE REGRESSION THEORY II 8 The drawback of a small significance level is that it increases the probability of a Type 2 error. With a small significance level, it is more likely that you will fail to detect a true relationship between X and Y. With a small significance level, you are demanding overwhelming evidence of a relationship being there. The ideal way to pick a significance level is to weigh the consequences of each type of error, and pick a significance level that best balances the costs. What researchers often do, however, is pick.05, because they know that this significance level is generally accepted. Watch out for confusing or contradictory terminology: 1. -level of significance. The significance level is sometimes called the -level. Try not to confuse this with the intercept of a linear regression equation. 2. High significance level. A low alpha number is a high level of significance. If you reject the hypothesis that a coefficient is 0 at the level, that coefficient is highly significant % significance or 0.05 significance. These terms are interchangeable. The same goes for 99% significance or 0.01 significance. Usually, the context will enable you keep these straight. Confidence intervals for equation parameters An alternative way to test hypotheses about is to calculate a confidence interval for ^ and then see if your hypothesized value is inside it. The 95% confidence interval (two-tailed test) for ^ is: 95% confidence interval for the slope estimate The t 0.05 in the formulas above means the value from the t table in the column for the 0.05 significance level for a two-tailed test and the row for N-2 degrees of freedom. For a 99% confidence interval, you would use t The ± means that you evaluate the expression once with a + to get the top of the confidence interval, then you evaluate it with a - to get the bottom. This confidence interval is called two-tailed because it has a high end and a low end that are equidistant from the estimated value. That is what the ± does. (A one-tailed confidence interval would have one end that is above the estimated value and go off to minus infinity to the left, or it could have one end that is below the estimated value and go off to plus infinity to the right.) Look now at the right hand version of the confidence interval formula above. Let s explore the underlying relationships. The s in the numerator tells us that the confidence intervals for the coefficients get bigger if the residuals are bigger. The denominator tells us that having more X values and having them more spread out from their mean makes the confidence interval smaller. Again, this tells us that we
9 SIMPLE REGRESSION THEORY II 9 gain confidence in our estimate if the residuals are small and if we have a lot of spread-out X values. For the intercept,, the 95% confidence interval is: Confidence interval for the prediction of Y We can also calculate confidence intervals for a prediction. Let X 0 be the X value for which we want the predicted Y value. We ll call that predicted Y value Y^ 0.. The 95% confidence interval for the prediction is: Here's what we can see in this expression: The confidence interval is the big expression to the right of the ±. The width of this confidence interval depends on the sum of squared residuals s and depends inversely on (X i -X.) 2, the sum of the squared deviations of the X values from their mean. Big residuals, relative to the spread of the X's, make s big, which makes the confidence intervals wide. More X values, or more spread-out X values, make (X i -X.) 2 expression larger, which makes the confidence interval narrower. The (X 0 -X ) 2 expression in the numerator under the square root sign tells us that confidence interval gets wider as the X 0 you choose gets further from the mean of the X's. R 2, a measure of fit An overall measure of how well the regression line fits the points is R 2 (read "R squared"). R 2 is always between 0 (no fit) and 1 (perfect fit). R 2 depends on how big the residuals are in relation to the deviations of the Y's from their mean. It is customary to say that the R 2 tells you how much of the variation in the Y's is "explained" by the regression line.
10 SIMPLE REGRESSION THEORY II 10 Correlation Correlation is a measure of how much two variables are linearly related to each other. If two variables, X and Y, go up and down together in more or less a straight line way, they are positively correlated. If Y goes down when X goes up, they are negatively correlated. In a simple regression, the correlation is the square root of the regression s R 2. For this reason, the correlation (also called correlated coefficient ) is designated r. An alternative formula for r, equivalent to the square root of the R 2 is: The correlation coefficient The R 2 ranges from 0 to +1. r can range from -1 to +1 With some algebra, you can show that r and are related. Multiply the top and bottom of the r formula by the square root of the sum of the squares of the x deviations. You get this: Look at the parts of this fraction that are not under square root symbols. These are the left halves of the numerator and denominator. Do you recognize them as the same as the formula for the least squares ^?
11 SIMPLE REGRESSION THEORY II 11 The higher the slope of the regression line is (higher absolute value of ^ ), the higher r is. When X and Y are not correlated, r = 0. According to the formula above, ^ must be 0 as well. So, if X and Y are unrelated, the least squares line is horizontal. Durbin-Watson Statistic In Assignment 2 you will see that the regular goodness of fit statistics (R 2 and t) cannot detect situations where a linear least squares model is not appropriate. The Durbin-Watson statistic can detect some of those situations. In particular, the Durbin-Watson statistic tests for serial (as in "series") correlation of the residuals. Here is the Durbin-Watson statistic formula: (The u s in this formula are the residuals.) A rule-of-thumb for interpretation of DW: DW < 1 indicates residuals track each other. A positive residual tends to be followed by another positive residual. A negative residual tends to be followed by another negative residual. DW near 2 indicates no serial correlation. DW > 3 indicates residuals alternate, positive-negative-positive-negative.. For a more formal test, see the Durbin-Watson table in the downloadable file of tables. Serial correlation of residuals indicates that you can do better than your current model at predicting. Least Squares assumes that the next residual will be 0. If there is serial correlation, that means that you can partly predict a residual from the one that came before. If the Durbin-Watson test finds serial correlation, it may indicate that a curved model would be better than a straight line model. Another possibility is that the true relationship is a line, but the error in one observation is affecting the error in the next observation. If this is so, you can get better predictions with a more elaborate model that takes this effect into account.
HYPOTHESIS TESTING PHILOSOPHY 1 The Philosophy of Hypothesis Testing, Questions and Answers 2006 Samuel L. Baker Question: So I'm hypothesis testing. What's the hypothesis I'm testing? Answer: When you're
SIMPLE REGRESSION THEORY I 1 Simple Regression Theory I 2010 Samuel L. Baker Regression analysis lets you use data to explain and predict. A simple regression line drawn through data points In Assignment
MULTIPLE REGRESSION THEORY 1 Multiple Regression Theory 2006 Samuel L. Baker Multiple regression is regression with two or more independent variables on the right-hand side of the equation. Use multiple
Regression Analysis Prof. Soumen Maity Department of Mathematics Indian Institute of Technology, Kharagpur Lecture - 2 Simple Linear Regression Hi, this is my second lecture in module one and on simple
Unit 31 A Hypothesis Test about Correlation and Slope in a Simple Linear Regression Objectives: To perform a hypothesis test concerning the slope of a least squares line To recognize that testing for a
Chapter 340 Principal Components Regression Introduction is a technique for analyzing multiple regression data that suffer from multicollinearity. When multicollinearity occurs, least squares estimates
1) Write the following as an algebraic expression using x as the variable: Triple a number subtracted from the number A. 3(x - x) B. x 3 x C. 3x - x D. x - 3x 2) Write the following as an algebraic expression
Notation: Notation and Equations for Regression Lecture 11/4 m: The number of predictor variables in a regression Xi: One of multiple predictor variables. The subscript i represents any number from 1 through
Simple Linear Regression Chapter 11 Rationale Frequently decision-making situations require modeling of relationships among business variables. For instance, the amount of sale of a product may be related
1 Linear Regression 1.1 Simple Linear Regression Model The linear regression model is applied if we want to model a numeric response variable and its dependency on at least one numeric factor variable.
Inferential Statistics Sampling and the normal distribution Z-scores Confidence levels and intervals Hypothesis testing Commonly used statistical methods Inferential Statistics Descriptive statistics are
CALCULATIONS & STATISTICS CALCULATION OF SCORES Conversion of 1-5 scale to 0-100 scores When you look at your report, you will notice that the scores are reported on a 0-100 scale, even though respondents
Lecture 5: Hypothesis Testing What we know now: OLS is not only unbiased it is also the most precise (efficient) unbiased estimation technique - ie the estimator has the smallest variance (if the Gauss-Markov
Unit 21 Student s t Distribution in Hypotheses Testing Objectives: To understand the difference between the standard normal distribution and the Student's t distributions To understand the difference between
AMS7: WEEK 8. CLASS 1 Correlation Monday May 18th, 2015 Type of Data and objectives of the analysis Paired sample data (Bivariate data) Determine whether there is an association between two variables This
Chapter 7 Part 2 Hypothesis testing Power November 6, 2008 All of the normal curves in this handout are sampling distributions Goal: To understand the process of hypothesis testing and the relationship
17. SIMPLE LINEAR REGRESSION II The Model In linear regression analysis, we assume that the relationship between X and Y is linear. This does not mean, however, that Y can be perfectly predicted from X.
Health Sciences M.Sc. Programme Applied Biostatistics Week 4: Standard Error and Confidence Intervals Sampling Most research data come from subjects we think of as samples drawn from a larger population.
1 Final Review 2 Review 2.1 CI 1-propZint Scenario 1 A TV manufacturer claims in its warranty brochure that in the past not more than 10 percent of its TV sets needed any repair during the first two years
The simple linear model Regression Analysis: Basic Concepts Allin Cottrell Represents the dependent variable, y i, as a linear function of one independent variable, x i, subject to a random disturbance
Section 5.4 The Quadratic Formula 481 5.4 The Quadratic Formula Consider the general quadratic function f(x) = ax + bx + c. In the previous section, we learned that we can find the zeros of this function
8 Inequalities Concepts: Equivalent Inequalities Linear and Nonlinear Inequalities Absolute Value Inequalities (Sections 4.6 and 1.1) 8.1 Equivalent Inequalities Definition 8.1 Two inequalities are equivalent
Applied Multivariate Statistical Modelling Prof. J. Maiti Department of Industrial Engineering and Management Indian Institute of Technology, Kharagpur Lecture - 32 Regression Modelling Using SPSS (Refer
Lecture #10 Chapter 10 Correlation and Regression The main focus of this chapter is to form inferences based on sample data that come in pairs. Given such paired sample data, we want to determine whether
Section P.9 Notes Page P.9 Linear Inequalities and Absolute Value Inequalities Sometimes the answer to certain math problems is not just a single answer. Sometimes a range of answers might be the answer.
Homework #3 is due Friday by 5pm. Homework #4 will be posted to the class website later this week. It will be due Friday, March 7 th, at 5pm. Political Science 15 Lecture 12: Hypothesis Testing Sampling
Opening Example CHAPTER 13 SIMPLE LINEAR REGREION SIMPLE LINEAR REGREION! Simple Regression! Linear Regression Simple Regression Definition A regression model is a mathematical equation that descries the
LAB 4 INSTRUCTIONS CONFIDENCE INTERVALS AND HYPOTHESIS TESTING In this lab you will explore the concept of a confidence interval and hypothesis testing through a simulation problem in engineering setting.
FACT SHEET Using Excel for inferential statistics Introduction When you collect data, you expect a certain amount of variation, just caused by chance. A wide variety of statistical tests can be applied
Population and sample Sampling and Hypothesis Testing Allin Cottrell Population : an entire set of objects or units of observation of one sort or another. Sample : subset of a population. Parameter versus
Research methods - II 3 2. Simple Linear Regression Simple linear regression is a technique in parametric statistics that is commonly used for analyzing mean response of a variable Y which changes according
Biostatistics: DESCRIPTIVE STATISTICS: 2, VARIABILITY 1. Introduction Besides arriving at an appropriate expression of an average or consensus value for observations of a population, it is important to
Simple Regression and Correlation Today, we are going to discuss a powerful statistical technique for examining whether or not two variables are related. Specifically, we are going to talk about the ideas
Numerical Summarization of Data OPRE 6301 Motivation... In the previous session, we used graphical techniques to describe data. For example: While this histogram provides useful insight, other interesting
Descriptive Statistics Primer Descriptive statistics Central tendency Variation Relative position Relationships Calculating descriptive statistics Descriptive Statistics Purpose to describe or summarize
Estimation of σ 2, the variance of ɛ The variance of the errors σ 2 indicates how much observations deviate from the fitted surface. If σ 2 is small, parameters β 0, β 1,..., β k will be reliably estimated
Confidence intervals, t tests, P values Joe Felsenstein Department of Genome Sciences and Department of Biology Confidence intervals, t tests, P values p.1/31 Normality Everybody believes in the normal
Outline Correlation & Regression, III 9.07 4/6/004 Relationship between correlation and regression, along with notes on the correlation coefficient Effect size, and the meaning of r Other kinds of correlation
MULTIPLE REGRESSION AND ISSUES IN REGRESSION ANALYSIS MSR = Mean Regression Sum of Squares MSE = Mean Squared Error RSS = Regression Sum of Squares SSE = Sum of Squared Errors/Residuals α = Level of Significance
Statistical Functions in Excel There are many statistical functions in Excel. Moreover, there are other functions that are not specified as statistical functions that are helpful in some statistical analyses.
Independent samples t-test Dr. Tom Pierce Radford University The logic behind drawing causal conclusions from experiments The sampling distribution of the difference between means The standard error of
Simple linear regression Introduction Simple linear regression is a statistical method for obtaining a formula to predict values of one variable from another where there is a causal relationship between
Partial Fractions Combining fractions over a common denominator is a familiar operation from algebra: From the standpoint of integration, the left side of Equation 1 would be much easier to work with than
AP Statistics 1998 Scoring Guidelines These materials are intended for non-commercial use by AP teachers for course and exam preparation; permission for any other use must be sought from the Advanced Placement
Comparing Means in Two Populations Overview The previous section discussed hypothesis testing when sampling from a single population (either a single mean or two means from the same population). Now we
PS 511: Advanced Statistics for Psychological and Behavioral Research 1 Both examine linear (straight line) relationships Correlation works with a pair of scores One score on each of two variables ( and
Case Study in Data Analysis Does a drug prevent cardiomegaly in heart failure? Harvey Motulsky firstname.lastname@example.org This is the first case in what I expect will be a series of case studies. While I mention
2 Making Connections: The Two-Sample t-test, Regression, and ANOVA In theory, there s no difference between theory and practice. In practice, there is. Yogi Berra 1 Statistics courses often teach the two-sample
AP Physics 1 and 2 Lab Investigations Student Guide to Data Analysis New York, NY. College Board, Advanced Placement, Advanced Placement Program, AP, AP Central, and the acorn logo are registered trademarks
SIMPLE REGRESSION ANALYSIS Introduction. Regression analysis is used when two or more variables are thought to be systematically connected by a linear relationship. In simple regression, we have only two
BA 275 Review Problems - Week 9 (11/20/06-11/24/06) CD Lessons: 69, 70, 16-20 Textbook: pp. 520-528, 111-124, 133-141 An SRS of size 100 is taken from a population having proportion 0.8 of successes. An
Contents 11 Association Between Variables 767 11.1 Introduction............................ 767 11.1.1 Measure of Association................. 768 11.1.2 Chapter Summary.................... 769 11.2 Chi
Figure 9-6 Example: Boats and Manatees Slide 1 Given the sample data in Table 9-1, find the value of the linear correlation coefficient r, then refer to Table A-6 to determine whether there is a significant
ECO 22000 McRAE SELF-TEST: SIMPLE REGRESSION Note: Those questions indicated with an (N) are unlikely to appear in this form on an in-class examination, but you should be able to describe the procedures
Individuals: The objects that are described by a set of data. They may be people, animals, things, etc. (Also referred to as Cases or Records) Variables: The characteristics recorded about each individual.
ALGEBRA I A PLUS COURSE OUTLINE OVERVIEW: 1. Operations with Real Numbers 2. Equation Solving 3. Word Problems 4. Inequalities 5. Graphs of Functions 6. Linear Functions 7. Scatterplots and Lines of Best
Analysis of Variance ANOVA Overview We ve used the t -test to compare the means from two independent groups. Now we ve come to the final topic of the course: how to compare means from more than two populations.
Technology Step-by-Step Using StatCrunch Section 1.3 Simple Random Sampling 1. Select Data, highlight Simulate Data, then highlight Discrete Uniform. 2. Fill in the following window with the appropriate
Chapter 9 Simple Linear Regression An analysis appropriate for a quantitative outcome and a single quantitative explanatory variable. 9.1 The model behind linear regression When we are examining the relationship
Confidence Intervals for Poisson data For an observation from a Poisson distribution, we have σ 2 = λ. If we observe r events, then our estimate ˆλ = r : N(λ, λ) If r is bigger than 20, we can use this
Simple Linear Regression in SPSS STAT 314 1. Ten Corvettes between 1 and 6 years old were randomly selected from last year s sales records in Virginia Beach, Virginia. The following data were obtained,
How To Run Statistical Tests in Excel Microsoft Excel is your best tool for storing and manipulating data, calculating basic descriptive statistics such as means and standard deviations, and conducting
BIOSTATISTICS QUIZ ANSWERS 1. When you read scientific literature, do you know whether the statistical tests that were used were appropriate and why they were used? a. Always b. Mostly c. Rarely d. Never
Hints for Success on the AP Statistics Exam. (Compiled by Zack Bigner) The Exam The AP Stat exam has 2 sections that take 90 minutes each. The first section is 40 multiple choice questions, and the second
Study Resources For Algebra I Unit 1C Analyzing Data Sets for Two Quantitative Variables This unit explores linear functions as they apply to data analysis of scatter plots. Information compiled and written
3.4 Limits at Infinity - Asymptotes Definition 3.3. If f is a function defined on some interval (a, ), then f(x) = L means that values of f(x) are very close to L (keep getting closer to L) as x. The line
Introduction to : Z 6 and Z 7 The main objective of this discussion is to learn more about solving linear and quadratic equations. The reader is no doubt familiar with techniques for solving these equations
Session 7 Bivariate Data and Analysis Key Terms for This Session Previously Introduced mean standard deviation New in This Session association bivariate analysis contingency table co-variation least squares
Introduction to Hypothesis Testing CHAPTER 8 LEARNING OBJECTIVES After reading this chapter, you should be able to: 1 Identify the four steps of hypothesis testing. 2 Define null hypothesis, alternative
Overview The Basics of a Test Dr Tom Ilvento Department of Food and Resource Economics Alternative way to make inferences from a sample to the Population is via a Test A hypothesis test is based upon A
The method of Least Squares using the Excel Solver Michael Wood (Michael.email@example.com) 22 October 2012 (Introduction and links to electronic versions of this document and the other parts at http://woodm.myweb.port.ac.uk/stats.
Assessing Forecasting Error: The Prediction Interval David Gerbing School of Business Administration Portland State University November 27, 2015 Contents 1 Prediction Intervals 1 1.1 Modeling Error..................................
Unit 29 Chi-Square Goodness-of-Fit Test Objectives: To perform the chi-square hypothesis test concerning proportions corresponding to more than two categories of a qualitative variable To perform the Bonferroni
Statistics 112 Regression Cheatsheet Section 1B - Ryan Rosario I have found that the best way to practice regression is by brute force That is, given nothing but a dataset and your mind, compute everything
fifty Fathoms Statistics Demonstrations for Deeper Understanding Tim Erickson Contents What Are These Demos About? How to Use These Demos If This Is Your First Time Using Fathom Tutorial: An Extended Example
Textbook Reference: Chapter 9.5 Measuring the Power of a Test An economic problem motivates the statement of a null and alternative hypothesis. For a numeric data set, a decision rule can lead to the rejection
Uncertainties and Error Propagation By Vern Lindberg 1. Systematic and random errors. No measurement made is ever exact. The accuracy (correctness) and precision (number of significant figures) of a measurement
ModuMath Algebra Lessons Program Title 1 Getting Acquainted With Algebra 2 Order of Operations 3 Adding & Subtracting Algebraic Expressions 4 Multiplying Polynomials 5 Laws of Algebra 6 Solving Equations
Statistical Inference Idea: Estimate parameters of the population distribution using data. How: Use the sampling distribution of sample statistics and methods based on what would happen if we used this
Chapter 855 Introduction Linear regression is a commonly used procedure in statistical analysis. One of the main objectives in linear regression analysis is to test hypotheses about the slope (sometimes
Summary of Formulas and Concepts Descriptive Statistics (Ch. 1-4) Definitions Population: The complete set of numerical information on a particular quantity in which an investigator is interested. We assume
PPS TI-83 Activities Algebra 1-2 Teacher Notes It is an expectation in Portland Public Schools that all teachers are using the TI-83 graphing calculator in meaningful ways in Algebra 1-2. This does not
Least Squares Introduction We have mentioned that one should not always conclude that because two variables are correlated that one variable is causing the other to behave a certain way. However, sometimes