Docsity

Sampling and Sampling Distributions - Lecture Slides | ECON 5, Study notes of Statistics

Toggle sidebar
bg1
Econ 5
Introduction to Statistics
Asat ar Bair, Ph.D.
Departmen t of Economics
City College o f San Francisc o
aba ir@ccsf.edu
Lectures on Chapter 7
Sampling and Sampling
Distributions
-3 -2 -1 0 1 2 3
f(x)
z
Parameters
Numerical measures of population
characterist ics are called parame ters;
example s include: the me an, the variance, the
standard dev iat ion, and the proportion of a
population that has some defined characteristic.
Parameters
Example: An electronics firm called EAI
wants to understand the characteristics of
its 2500 managers; what are their salaries
and how many are trained?
Population mean: ! = $51,800
Population standard deviation: " = $4000
p = the proportion of managers who
completed a training program = “the
population proportion” = 1500/2500 = 0.6
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Sampling and Sampling Distributions - Lecture Slides | ECON 5 and more Study notes Statistics in PDF only on Docsity!

Econ 5

Introduction to Statistics

Asatar Bair, Ph.D. Department of Economics City College of San Francisco [email protected] Lectures on Chapter 7 Sampling and Sampling Distributions -3 -2 -1 0 1 2 3 f(x) z

Parameters

Numerical measures of population characteristics are called parameters; examples include: the mean, the variance, the standard deviation, and the proportion of a population that has some defined characteristic. Parameters Example: An electronics firm called EAI wants to understand the characteristics of its 2500 managers; what are their salaries and how many are trained? Population mean:! = $51, Population standard deviation: " = $ p = the proportion of managers who completed a training program = “the population proportion” = 1500/2500 = 0.

What if we don’t know the

parameters?

We can take a sample from the population

instead of looking at the whole

population, then use the characteristics of

the sample to infer the characteristics of

the population;

this is inferential statistics.

Sampling There are several methods of selecting a sample from a population; a common method is simple random sampling; the way it’s done depends on whether the population is finite or infinite. Simple Random Sampling: Finite population

A simple random sample of size n from a

finite population of size N is one in which

each sample of size n has the same

probability of being selected.

An easy way to do this is to use Excel;

a table of random numbers can also be

used, see p. 261.

Excel: generating random numbers

The formula is “=RAND()”

This gives you a random number between 0

and 1; by doing further number operations,

you can get a random number between any

two values;

Excel will re-generate a new set of random

numbers any time you do anything; to fix

the random numbers so they don’t change,

copy then use the “Paste special” command

to paste values only.

Point estimation population parameter point estimate sampling error mean salary ! = $51,800 $51,814 $ std. dev. for salary "^ = $4000^ $3348^ $ proportion trained p^ = 0.60^ 0.63^ 0. Sampling Distributions ! All of our sample statistics, (e.g. the sample mean, sample standard deviation and sample proportion are random variables; ! this is because they come from a random process; ! this means it is possible (indeed, likely) to get different values for each sample; ! this means that there is a distribution of different values for each statistic; ! this is called a sampling distribution. Sampling distribution sample number sample mean sample proportion (^1) $51,814 0. (^2) $52,670 0. (^3) $51,780 0. (^4) $51,588 0. ... (^500) $51,752 0. Frequency distribution Mean annual salary f rf $49,500 - 49,999 2 0. $50,000 - 50,499 16 0. $50,500 - 50,999 52 0. $51,000 - 51,499 101 0. $51,500 - 51,999 133 0. $52,000 - 52,499 110 0. $52,500 - 52,999 54 0. $53,000 - 53,499 26 0. $53,500 - 53,999 6 0.

Relative Frequency Histogram of Sample Mean Salaries of 500 Samples of size 30 0

$49,500-49,999 $50,000 - 50,499 $50,500 - 50,999 $51,000 - 51,499 $51,500 - 51,999 $52,000 - 52,499 $52,500 - 52,999 $53,000 - 53,499 $53,500 - 53, As the number of samples approaches infinity, the probability distribution becomes normal 0

$49,500-49,999 $50,000 - 50,499 $50,500 - 50,999 $51,000 - 51,499 $51,500 - 51,999 $52,000 - 52,499 $52,500 - 52,999 $53,000 - 53,499 $53,500 - 53, Sampling Distribution of X ! The sampling distribution of x is the probability distribution of all possible values of the sample mean x; ! for an infinite population, there are an infinite number of different sample means, which gives us a continuous probability distribution for x. What are the characteristics of the sampling distribution of x? This distribution has both a central tendency (mean, expressed as expected value) and a spread (variance or standard deviation) Sampling Distribution of X

Weak Law of Large Numbers We can use Chebychev’s Theorem from Ch 3 to demonstrate the Weak Law of Large Numbers: ! Let c be any constant greater than zero. For any distribution of X with a mean μ and variance " 2 : P ( x # μ $ c ) % 0 as n % & P ( x # μ $ c ) ' " 2 nc^2 ; As n % &, " 2 nc^2 % 0 ( P ( x # μ $ c ) ' 0 bonus material Graphical depiction of the WLLN: ! x n = 30 n = 100 n = 200 Central Limit Theorem “In selecting random samples of size n from a population, the sampling distribution of the sample mean x can be approximated by a normal distribution as the sample size becomes large.” p. 272 Central Limit Theorem n = 30 x Population distribution Sampling distribution of x n = 5 n = 2 x x x f(x) ! ! ! !

Central Limit Theorem x Population distribution Sampling distribution of x x x x f(x) ! ! ! ! n = 30 n = 5 n = 2 Central Limit Theorem x Population distribution Sampling distribution of x x x x f(x) ! ! ! ! n = 30 n = 5 n = 2

Sampling distribution:

sample mean salary

E( x ) =! = $51,800 x P ($51,300! x! $52,300) = 0. $51,300 $52, 0.2517 0. ! The standard deviation of x : " x = " n = 4000 30 = 730. -0.68 0 0.68 z Sampling distribution of p Again, we’re interested in the central tendency and dispersion of the distribution, as well as its shape; In terms of dispersion, the formula for the standard deviation of p depends on whether the population is finite or infinite: ! Finite population : Infinite population : " (^) p = N # n N # 1 p ( 1 # p ) n " (^) p = p ( 1 # p ) n