Midterm Review

Total Page:16

File Type:pdf, Size:1020Kb

Midterm Review Formal Statement of Simple Linear Regression Model Yi = β0 + β1Xi + i th I Yi value of the response variable in the i trial I β0 and β1 are parameters I Xi is a known constant, the value of the predictor variable in the i th trial I i is a random error term with mean E(i ) = 0 and variance 2 Var(i ) = σ I i = 1;:::; n Least Squares Linear Regression I Seek to minimize n X 2 Q = (Yi − (β0 + β1Xi )) i=1 I Choose b0 and b1 as estimators for β0 and β1. b0 and b1 will minimize the criterion Q for the given sample observations (X1; Y1); (X2; Y2); ··· ; (Xn; Yn). Normal Equations I The result of this maximization step are called the normal equations. b0 and b1 are called point estimators of β0 and β1 respectively. X X Yi = nb0 + b1 Xi X X X 2 Xi Yi = b0 Xi + b1 Xi I This is a system of two equations and two unknowns. The solution is given by::: Solution to Normal Equations After a lot of algebra one arrives at P(X − X¯ )(Y − Y¯ ) b = i i 1 P 2 (Xi − X¯ ) b0 = Y¯ − b1X¯ P X X¯ = i n P Y Y¯ = i n Properties of Solution th I The i residual is defined to be ei = Yi − Y^i P I i ei = 0 P ^ P I i Yi = i Yi P I i Xi ei = 0 P ^ I i Yi ei = 0 I The regression line always goes through the point X¯ ; Y¯ Alternative format of linear regression model: ∗ ¯ Yi = β0 + β1(Xi − X ) + i The least squares estimator b1 for β1 remains the same as before. ∗ ¯ The least squares estimator for β0 = β0 + β1X becomes ∗ ¯ ¯ ¯ ¯ ¯ b0 = b0 + b1X = (Y − b1X ) + b1X = Y Hence the estimated regression function is Y^ = Y¯ + b1(X − X¯ ) s2 estimator for σ2 SSE P(Y − Y^ )2 P e2 s2 = MSE = = i i = i n − 2 n − 2 n − 2 2 I MSE is an unbiased estimator of σ 2 E(MSE) = σ I The sum of squares SSE has n − 2 \degrees of freedom" associated with it. I Cochran's theorem (later in the course) tells us where degree's of freedom come from and how to calculate them. Normal Error Regression Model Yi = β0 + β1Xi + i th I Yi value of the response variable in the i trial I β0 and β1 are parameters I Xi is a known constant, the value of the predictor variable in the i th trial 2 I i ∼iid N(0; σ ) note this is different, now we know the distribution I i = 1;:::; n Inference concerning β1 Tests concerning β1 (the slope) are often of interest, particularly H0 : β1 = 0 Ha : β1 6= 0 the null hypothesis model Yi = β0 + (0)Xi + i implies that there is no relationship between Y and X. Note the means of all the Yi 's are equal at all levels of Xi . Sampling Dist. Of b1 I The point estimator for b1 is P(X − X¯ )(Y − Y¯ ) b = i i 1 P 2 (Xi − X¯ ) I For a normal error regression model the sampling distribution of b1 is normal, with mean and variance given by E(b1) = β1 σ2 Var(b ) = 1 P 2 (Xi − X¯ ) Estimated variance of b1 2 I When we don't know σ then we have to replace it with the MSE estimate I Let SSE s2 = MSE = n − 2 where X 2 SSE = ei and ei = Yi − Y^i plugging in we get σ2 Var(b ) = 1 P 2 (Xi − X¯ ) s2 Var(^ b ) = 1 P 2 (Xi − X¯ ) Recap I We now have an expression for the sampling distribution of b1 when σ2 is known σ2 b ∼ N (β ; ) (1) 1 1 P 2 (Xi − X¯ ) 2 I When σ is unknown we have an unbiased point estimator of σ2 s2 Var(^ b ) = 1 P 2 (Xi − X¯ ) Sampling Distribution of (b1 − β1)=S(b1) p I b1 is normally distributed so (b1 − β1)=( Var(b1)) is a standard normal variable I We don't know Var(b1) so it must be estimated from data. We have already denoted it's estimate I If using the estimate V^ (b1) it can be shown that b − β 1 1 ∼ t(n − 2) S^(b1) q S^(b1) = V^ (b1) Confidence Intervals and Hypothesis Tests Now that we know the sampling distribution of b1 (t with n-2 degrees of freedom) we can construct confidence intervals and hypothesis tests easily. 1 − α confidence limits for β1 I The 1 − α confidence limits for β1 are b1 ± t(1 − α=2; n − 2)sfb1g I Note that this quantity can be used to calculate confidence intervals given n and α. I Fixing α can guide the choice of sample size if a particular confidence interval is desired I Given a sample size, vice versa. I Also useful for hypothesis testing Tests Concerning β1 I Example 1 I Two-sided test I H0 : β1 = 0 I Ha : β1 6= 0 I Test statistic b − 0 t∗ = 1 sfb1g Tests Concerning β1 I We have an estimate of the sampling distribution of b1 from the data. I If the null hypothesis holds then the b1 estimate coming from the data should be within the 95% confidence interval of the sampling distribution centered at 0 (in this case) b − 0 t∗ = 1 sfb1g Decision rules ∗ if jt j ≤ t(1 − α=2; n − 2); accept H0 ∗ if jt j > t(1 − α=2; n − 2); reject H0 Absolute values make the test two-sided Inferences Concerning β0 I Largely, inference procedures regarding β0 can be performed in the same way as those for β1 I Remember the point estimator b0 for β0 b0 = Y¯ − b1X¯ Sampling distribution of b0 I When error variance is known E(b0) = β0 1 X¯ 2 σ2fb g = σ2( + ) 0 P 2 n (Xi − X¯ ) I When error variance is unknown 1 X¯ 2 s2fb g = MSE( + ) 0 P 2 n (Xi − X¯ ) Confidence interval for β0 The 1 − α confidence limits for β0 are obtained in the same manner as those for β1 b0 ± t(1 − α=2; n − 2)sfb0g Sampling Distribution of Y^h I We have Y^h = b0 + b1Xh 0 I Since this quantity is itself a linear combination of the Yi s it's sampling distribution is itself normal. I The mean of the sampling distribution is EfY^hg = Efb0g + Efb1gXh = β0 + β1Xh Biased or unbiased? Sampling Distribution of Y^h I So, plugging in, we get 1 (X − X¯ )2 σ2fY^ g = σ2 + h h P 2 n (Xi − X¯ ) 2 I Since we often won't know σ we can, as usual, plug in S2 = SSE=(n − 2), our estimate for it to get our estimate of this sampling distribution variance 1 (X − X¯ )2 s2fY^ g = S2 + h h P 2 n (Xi − X¯ ) No surprise::: I The sampling distribution of our point estimator for the output is distributed as a t-distribution with two degrees of freedom Y^ − EfY g h h ∼ t(n − 2) sfY^hg I This means that we can construct confidence intervals in the same manner as before. Confidence Intervals for E(Yh) I The 1 − α confidence intervals for E(Yh) are Y^h ± t(1 − α=2; n − 2)sfY^hg I From this hypothesis tests can be constructed as usual. Prediction interval for single new observation I If the regression parameters are unknown the 1 − α prediction interval for a new observation Yh is given by the following theorem Y^h ± t(1 − α=2; n − 2)sfpredg I We have 2 2 2 2 2 2 σ fpredg = σ fYh − Y^hg = σ fYhg + σ fY^hg = σ + σ fY^hg An unbiased estimator of σ2fpredg is 2 2 s fpredg = MSE + s fY^hg, which is given by 1 (X − X¯ )2 s2fpredg = MSE 1 + + h P 2 n (Xi − X¯ ) ANOVA table for simple lin. regression Source of Variation SS df MS E(MS) P ^ ¯ 2 2 2 P ¯ 2 Regression SSR = (Yi − Y ) 1 MSR = SSR=1 σ + β1 (Xi − X ) P 2 2 Error SSE = (Yi − Y^i ) n − 2 MSE = SSE=(n − 2) σ P 2 Total SSTO = (Yi − Y¯ ) n − 1 F Test of β1 = 0 vs. β1 6= 0 ANOVA provides a battery of useful tests. For example, ANOVA provides an easy test for Two-sided test Test statistic from before t∗ = b1−0 H0 : β1 = 0 sfb1g Ha : β1 6= 0 ANOVA test statistic ∗ MSR Test statistic F = MSE F Distribution 2 I The F distribution is the ratio of two independent χ random variables normalized by their corresponding degrees of freedom. ∗ I The test statistic F follows the distribution F ∗ ∼ F (1; n − 2) Hypothesis Test Decision Rule ∗ Since F is distributed as F (1; n − 2) when H0 holds, the decision rule to follow when the risk of a Type I error is to be controlled at α is: ∗ If F ≤ F (1 − α; 1; n − 2), conclude H0 ∗ If F > F (1 − α; 1; n − 2), conclude Ha General Linear Test I The test of β1 = 0 versus β1 6= 0 is but a single example of a general test for a linear statistical models. I The general linear test has three parts I Full Model I Reduced Model I Test Statistic Full Model Fit I A full linear model is first fit to the data Yi = β0 + β1Xi + i I Using this model the error sum of squares is obtained, here for example the simple linear model with non-zero slope is the \full" model X 2 X 2 SSE(F ) = [Yi − (b0 + b1Xi )] = (Yi − Y^i ) = SSE Fit Reduced Model I One can test the hypothesis that a simpler model is a \better" model via a general linear test (which is really a likelihood ratio test in disguise).
Recommended publications
  • Chapter 8 Fundamental Sampling Distributions And
    CHAPTER 8 FUNDAMENTAL SAMPLING DISTRIBUTIONS AND DATA DESCRIPTIONS 8.1 Random Sampling pling procedure, it is desirable to choose a random sample in the sense that the observations are made The basic idea of the statistical inference is that we independently and at random. are allowed to draw inferences or conclusions about a Random Sample population based on the statistics computed from the sample data so that we could infer something about Let X1;X2;:::;Xn be n independent random variables, the parameters and obtain more information about the each having the same probability distribution f (x). population. Thus we must make sure that the samples Define X1;X2;:::;Xn to be a random sample of size must be good representatives of the population and n from the population f (x) and write its joint proba- pay attention on the sampling bias and variability to bility distribution as ensure the validity of statistical inference. f (x1;x2;:::;xn) = f (x1) f (x2) f (xn): ··· 8.2 Some Important Statistics It is important to measure the center and the variabil- ity of the population. For the purpose of the inference, we study the following measures regarding to the cen- ter and the variability. 8.2.1 Location Measures of a Sample The most commonly used statistics for measuring the center of a set of data, arranged in order of mag- nitude, are the sample mean, sample median, and sample mode. Let X1;X2;:::;Xn represent n random variables. Sample Mean To calculate the average, or mean, add all values, then Bias divide by the number of individuals.
    [Show full text]
  • Permutation Tests
    Permutation tests Ken Rice Thomas Lumley UW Biostatistics Seattle, June 2008 Overview • Permutation tests • A mean • Smallest p-value across multiple models • Cautionary notes Testing In testing a null hypothesis we need a test statistic that will have different values under the null hypothesis and the alternatives we care about (eg a relative risk of diabetes) We then need to compute the sampling distribution of the test statistic when the null hypothesis is true. For some test statistics and some null hypotheses this can be done analytically. The p- value for the is the probability that the test statistic would be at least as extreme as we observed, if the null hypothesis is true. A permutation test gives a simple way to compute the sampling distribution for any test statistic, under the strong null hypothesis that a set of genetic variants has absolutely no effect on the outcome. Permutations To estimate the sampling distribution of the test statistic we need many samples generated under the strong null hypothesis. If the null hypothesis is true, changing the exposure would have no effect on the outcome. By randomly shuffling the exposures we can make up as many data sets as we like. If the null hypothesis is true the shuffled data sets should look like the real data, otherwise they should look different from the real data. The ranking of the real test statistic among the shuffled test statistics gives a p-value Example: null is true Data Shuffling outcomes Shuffling outcomes (ordered) gender outcome gender outcome gender outcome Example: null is false Data Shuffling outcomes Shuffling outcomes (ordered) gender outcome gender outcome gender outcome Means Our first example is a difference in mean outcome in a dominant model for a single SNP ## make up some `true' data carrier<-rep(c(0,1), c(100,200)) null.y<-rnorm(300) alt.y<-rnorm(300, mean=carrier/2) In this case we know from theory the distribution of a difference in means and we could just do a t-test.
    [Show full text]
  • Sampling Distribution of the Variance
    Proceedings of the 2009 Winter Simulation Conference M. D. Rossetti, R. R. Hill, B. Johansson, A. Dunkin, and R. G. Ingalls, eds. SAMPLING DISTRIBUTION OF THE VARIANCE Pierre L. Douillet Univ Lille Nord de France, F-59000 Lille, France ENSAIT, GEMTEX, F-59100 Roubaix, France ABSTRACT Without confidence intervals, any simulation is worthless. These intervals are quite ever obtained from the so called "sampling variance". In this paper, some well-known results concerning the sampling distribution of the variance are recalled and completed by simulations and new results. The conclusion is that, except from normally distributed populations, this distribution is more difficult to catch than ordinary stated in application papers. 1 INTRODUCTION Modeling is translating reality into formulas, thereafter acting on the formulas and finally translating the results back to reality. Obviously, the model has to be tractable in order to be useful. But too often, the extra hypotheses that are assumed to ensure tractability are held as rock-solid properties of the real world. It must be recalled that "everyday life" is not only made with "every day events" : rare events are rarely occurring, but they do. For example, modeling a bell shaped histogram of experimental frequencies by a Gaussian pdf (probability density function) or a Fisher’s pdf with four parameters is usual. Thereafter transforming this pdf into a mgf (moment generating function) by mgf (z)=Et (expzt) is a powerful tool to obtain (and prove) the properties of the modeling pdf . But this doesn’t imply that a specific moment (e.g. 4) is effectively an accessible experimental reality.
    [Show full text]
  • Arxiv:1804.01620V1 [Stat.ML]
    ACTIVE COVARIANCE ESTIMATION BY RANDOM SUB-SAMPLING OF VARIABLES Eduardo Pavez and Antonio Ortega University of Southern California ABSTRACT missing data case, as well as for designing active learning algorithms as we will discuss in more detail in Section 5. We study covariance matrix estimation for the case of partially ob- In this work we analyze an unbiased covariance matrix estima- served random vectors, where different samples contain different tor under sub-Gaussian assumptions on x. Our main result is an subsets of vector coordinates. Each observation is the product of error bound on the Frobenius norm that reveals the relation between the variable of interest with a 0 1 Bernoulli random variable. We − number of observations, sub-sampling probabilities and entries of analyze an unbiased covariance estimator under this model, and de- the true covariance matrix. We apply this error bound to the design rive an error bound that reveals relations between the sub-sampling of sub-sampling probabilities in an active covariance estimation sce- probabilities and the entries of the covariance matrix. We apply our nario. An interesting conclusion from this work is that when the analysis in an active learning framework, where the expected number covariance matrix is approximately low rank, an active covariance of observed variables is small compared to the dimension of the vec- estimation approach can perform almost as well as an estimator with tor of interest, and propose a design of optimal sub-sampling proba- complete observations. The paper is organized as follows, in Section bilities and an active covariance matrix estimation algorithm.
    [Show full text]
  • Examination of Residuals
    EXAMINATION OF RESIDUALS F. J. ANSCOMBE PRINCETON UNIVERSITY AND THE UNIVERSITY OF CHICAGO 1. Introduction 1.1. Suppose that n given observations, yi, Y2, * , y., are claimed to be inde- pendent determinations, having equal weight, of means pA, A2, * *X, n, such that (1) Ai= E ai,Or, where A = (air) is a matrix of given coefficients and (Or) is a vector of unknown parameters. In this paper the suffix i (and later the suffixes j, k, 1) will always run over the values 1, 2, * , n, and the suffix r will run from 1 up to the num- ber of parameters (t1r). Let (#r) denote estimates of (Or) obtained by the method of least squares, let (Yi) denote the fitted values, (2) Y= Eai, and let (zt) denote the residuals, (3) Zi =Yi - Yi. If A stands for the linear space spanned by (ail), (a,2), *-- , that is, by the columns of A, and if X is the complement of A, consisting of all n-component vectors orthogonal to A, then (Yi) is the projection of (yt) on A and (zi) is the projection of (yi) on Z. Let Q = (qij) be the idempotent positive-semidefinite symmetric matrix taking (y1) into (zi), that is, (4) Zi= qtj,yj. If A has dimension n - v (where v > 0), X is of dimension v and Q has rank v. Given A, we can choose a parameter set (0,), where r = 1, 2, * , n -v, such that the columns of A are linearly independent, and then if V-1 = A'A and if I stands for the n X n identity matrix (6ti), we have (5) Q =I-AVA'.
    [Show full text]
  • Lecture 14 Testing for Kurtosis
    9/8/2016 CHE384, From Data to Decisions: Measurement, Kurtosis Uncertainty, Analysis, and Modeling • For any distribution, the kurtosis (sometimes Lecture 14 called the excess kurtosis) is defined as Testing for Kurtosis 3 (old notation = ) • For a unimodal, symmetric distribution, Chris A. Mack – a positive kurtosis means “heavy tails” and a more Adjunct Associate Professor peaked center compared to a normal distribution – a negative kurtosis means “light tails” and a more spread center compared to a normal distribution http://www.lithoguru.com/scientist/statistics/ © Chris Mack, 2016Data to Decisions 1 © Chris Mack, 2016Data to Decisions 2 Kurtosis Examples One Impact of Excess Kurtosis • For the Student’s t • For a normal distribution, the sample distribution, the variance will have an expected value of s2, excess kurtosis is and a variance of 6 2 4 1 for DF > 4 ( for DF ≤ 4 the kurtosis is infinite) • For a distribution with excess kurtosis • For a uniform 2 1 1 distribution, 1 2 © Chris Mack, 2016Data to Decisions 3 © Chris Mack, 2016Data to Decisions 4 Sample Kurtosis Sample Kurtosis • For a sample of size n, the sample kurtosis is • An unbiased estimator of the sample excess 1 kurtosis is ∑ ̅ 1 3 3 1 6 1 2 3 ∑ ̅ Standard Error: • For large n, the sampling distribution of 1 24 2 1 approaches Normal with mean 0 and variance 2 1 of 24/n 3 5 • For small samples, this estimator is biased D. N. Joanes and C. A. Gill, “Comparing Measures of Sample Skewness and Kurtosis”, The Statistician, 47(1),183–189 (1998).
    [Show full text]
  • Statistics Sampling Distribution Note
    9/30/2015 Statistics •A statistic is any quantity whose value can be calculated from sample data. CH5: Statistics and their distributions • A statistic can be thought of as a random variable. MATH/STAT360 CH5 1 MATH/STAT360 CH5 2 Sampling Distribution Note • Any statistic, being a random variable, has • In this group of notes we will look at a probability distribution. examples where we know the population • The probability distribution of a statistic is and it’s parameters. sometimes referred to as its sampling • This is to give us insight into how to distribution. proceed when we have large populations with unknown parameters (which is the more typical scenario). MATH/STAT360 CH5 3 MATH/STAT360 CH5 4 1 9/30/2015 The “Meta-Experiment” Sample Statistics • The “Meta-Experiment” consists of indefinitely Meta-Experiment many repetitions of the same experiment. Experiment • If the experiment is taking a sample of 100 items Sample Sample Sample from a population, the meta-experiment is to Population Population Sample of n Statistic repeatedly take samples of 100 items from the of n Statistic population. Sample of n Sample • This is a theoretical construct to help us Statistic understand the probabilities involved in our Sample of n Sample experiment. Statistic . Etc. MATH/STAT360 CH5 5 MATH/STAT360 CH5 6 Distribution of the Sample Mean Example: Random Rectangles 100 Rectangles with µ=7.42 and σ=5.26. Let X1, X2,…,Xn be a random sample from Histogram of Areas a distribution with mean value µ and standard deviation σ. Then 1. E(X ) X 2 2 2.
    [Show full text]
  • Week 5: Simple Linear Regression
    Week 5: Simple Linear Regression Brandon Stewart1 Princeton October 8, 10, 2018 1These slides are heavily influenced by Matt Blackwell, Adam Glynn and Jens Hainmueller. Illustrations by Shay O'Brien. Stewart (Princeton) Week 5: Simple Linear Regression October 8, 10, 2018 1 / 101 Where We've Been and Where We're Going... Last Week I hypothesis testing I what is regression This Week I Monday: F mechanics of OLS F properties of OLS I Wednesday: F hypothesis tests for regression F confidence intervals for regression F goodness of fit Next Week I mechanics with two regressors I omitted variables, multicollinearity Long Run I probability ! inference ! regression ! causal inference Questions? Stewart (Princeton) Week 5: Simple Linear Regression October 8, 10, 2018 2 / 101 Macrostructure The next few weeks, Linear Regression with Two Regressors Multiple Linear Regression Break Week What Can Go Wrong and How to Fix It Regression in the Social Sciences and Introduction to Causality Thanksgiving Causality with Measured Confounding Unmeasured Confounding and Instrumental Variables Repeated Observations and Panel Data Review session timing. Stewart (Princeton) Week 5: Simple Linear Regression October 8, 10, 2018 3 / 101 1 Mechanics of OLS 2 Properties of the OLS estimator 3 Example and Review 4 Properties Continued 5 Hypothesis tests for regression 6 Confidence intervals for regression 7 Goodness of fit 8 Wrap Up of Univariate Regression 9 Fun with Non-Linearities 10 Appendix: r 2 derivation Stewart (Princeton) Week 5: Simple Linear Regression October
    [Show full text]
  • Sampling Distributions Menzies Research Institute Tasmania, 2014
    Sampling distributions Menzies Research Institute Tasmania, 2014 Sampling distributions 1. Statistical inference based on sampling distributions The process of statistical inference The frequentist approach to statistical inference involves: 1. formulating a null hypothesis about a characteristic1 of members of a population, 2. measuring that characteristic in a sample of the population, 3. selecting a test statistic to test that null hypothesis, and 4. assessing whether the calculated value of the test statistic is so large that it provides sufficient evidence to reject the null hypothesis. 1. The null hypothesis The practice of science involves asserting and testing hypotheses that are capable of being proven false. The null hypothesis typically corresponds to a position of no association between measured characteristics or no effect of an intervention. The null hypothesis is paired with an alternative hypothesis that asserts a particular relationship exists between measured characteristics2 or that the intervention has a particular effect.3 2. The sample Sampling is used because usually it is infeasible or too costly to measure the characteristic(s) The of every member of the population. For statistical inference to be possible, the sample must be drawn at random or randomly allocated between the arms of a trial. 3. The test statistic The test statistic for a null hypothesis is a summary value derived from the sample data. It could be the sample total or mean or proportion, or the difference between the sample totals or means or proportions of two or more groups. It could be a count or ratio of counts, a correlation coefficient, or a regression coefficient.
    [Show full text]
  • Visualizing Distributions of Covariance Matrices ∗
    Visualizing Distributions of Covariance Matrices ∗ Tomoki Tokudaa, Ben Goodrichb, Iven Van Mechelena, Andrew Gelmanb, Francis Tuerlinckxa aUniversity of Leuven, Belgium bColumbia University, New York, NY, USA Abstract We present some methods for graphing distributions of covariance matrices and demonstrate them on several models, including the Wishart, inverse-Wishart, and scaled inverse-Wishart families in different dimensions. Our visualizations follow the principle of decomposing a covariance matrix into scale parameters and correlations, pulling out marginal summaries where possible and using two and three-dimensional plots to reveal multivariate structure. Visualizing a distribution of covariance matrices is a step beyond visualizing a single covariance matrix or a single multivariate dataset. Our visualization methods are available through the R package VisCov. Keywords: Bayesian statistics, prior distribution, Wishart distribution, inverse-Wishart distribution, statistical graphics 1 Background Covariance matrices and their corresponding distributions play an important role in statis- tics. To understand the properties of distributions, we often rely on visualization methods. ∗We thank Institute of Education Science grant #ED-GRANTS-032309-005, Institute of Education Science grant #R305D090006-09A, National Science Foundation #SES-1023189, Dept of Energy #DE- SC0002099, National Security Agency #H98230-10-1-0184, the Research Fund of the University of Leuven (for Grant GOA/10/02) and the Belgian Government (for grant IAP P6/03) for partial support of this work. 1 2 But visualizing a distribution in a high-dimensional space is a challenge, with the additional difficulty that covariance matrices must be positive semi-definite, a restriction that forces the joint distribution of the covariances into an oddly-shaped subregion of the space.
    [Show full text]
  • Sampling and Hypothesis Testing Or Another
    Population and sample Population : an entire set of objects or units of observation of one sort Sampling and Hypothesis Testing or another. Sample : subset of a population. Parameter versus statistic . Allin Cottrell size mean variance proportion Population: N µ σ 2 π Sample: n x¯ s2 p 1 Properties of estimators: sample mean If the sampling procedure is unbiased, deviations of x¯ from µ in the upward and downward directions should be equally likely; on average, they should cancel out. 1 n E(x¯) µ E(X) x¯ xi = = = n The sample mean is then an unbiased estimator of the population iX1 = mean. To make inferences regarding the population mean, µ, we need to know something about the probability distribution of this sample statistic, x¯. The distribution of a sample statistic is known as a sampling distribution . Two of its characteristics are of particular interest, the mean or expected value and the variance or standard deviation. E(x¯): Thought experiment: Sample repeatedly from the given population, each time recording the sample mean, and take the average of those sample means. 2 3 Efficiency Standard error of sample mean One estimator is more efficient than another if its values are more tightly clustered around its expected value. σ σx¯ = √n E.g. alternative estimators for the population mean: x¯ versus the average of the largest and smallest values in the sample. The degree of dispersion of an estimator is generally measured by the The more widely dispersed are the population values around their standard deviation of its probability distribution (sampling • mean (larger ), the greater the scope for sampling error (i.e.
    [Show full text]
  • Chapter 8 Sampling Distributions
    Chapter 8 Sampling Distributions Sampling distributions are probability distributions of statistics. 8.1 Distribution of the Sample Mean Sampling distribution for random sample average, X¯, is described in this section. The central limit theorem (CLT) tells us no matter what the original parent distribution, sampling distribution of X¯ is typically normal when n 30. Related to this, ≥ 2 2 σX σX µ ¯ = µ , σ = , σ ¯ = . X X X¯ n X √n Exercise 8.1 (Distribution of the Sample Mean) 1. Practice with CLT: average, X¯. (a) Number of burgers. Number of burgers, X, made per minute at Best Burger averages µX =2.7 burgers with a standard deviation of σX = 0.64 of a burger. Consider average number of burgers made over random n = 35 minutes during day. i. µX¯ = µX = (circle one) 2 7 / 2 8 / 2 9. σX 0.64 σ ¯ . ii. X = √n = √35 = 0 10817975 / 0 1110032 / 0 13099923. iii. P X¯ > 2.75 (circle one) 0.30 / 0.32 / 0.35. ≈ (Stat, Calculators, Normal, Mean: 2.7, Std. Dev.: 0.10817975, Prob(X 2.75) = ? , Compute.) ≥ iv. P 2.65 < X¯ < 2.75 (circle one) 0.36 / 0.39 / 0.45. ≈ (Stat, Calculators, Normal, Between, Mean: 2.7, Std. Dev.: 0.10817975, Prob(2.65 X 2.75)) ≤ ≤ (b) Temperatures. Temperature, X, on any given day during winter in Laporte averages µX = 135 136 Chapter 8. Sampling Distributions (Lecture Notes 8) 0 degrees with standard deviation of σX = 1 degree. Consider average temperature over random n = 40 days during winter. i. µX¯ = µX = (circle one) 0 / 1 / 2.
    [Show full text]