Professional Documents
Culture Documents
1. If the population is large, it is impractical to take a census. How do we ask every registered
voter who they are for?
2. Sampling involves examining fewer items than a census, so measurement error should be
reduced.
3. Sampling may involve destroying elements of the population. For example, testing a chip to
see if the chip is defective may involve destroying the chip.
Often a function of the sample data (called a statistic) is used to estimate a population parameter.
For example,
1. We could estimate the median income of Houston families by taking a sample of 100 Houston
families and using the median income in the sample to estimate the population’s median income.
2. We could estimate the fraction of defective chips by testing 100 chips, and using the fraction
of defective chips in the sample to estimate the fraction of defective chips in the population For
example, if 5 of the 100 tested chips are defective we would estimate that 5% of the chips
produced that day are defective.
3. We could estimate the average weight of all cows in India by weighing 100 cows and using the
average weight of the cows in the sample to estimate the average weight of all Indian cows
4. We could estimate the fraction of registered voters for HRC in 2016 by looking at fraction of
registered voters in sample for HRC.
Suppose a population has N individuals and we want to take a sample of size n. The sample is a simple
random sample if each set of n individuals has the same chance of being chosen. For example, consider a
random sample without replacement of two items from a population of size 5 (n= 2, N = 5.) Then each of
the possible ten samples shown below has the same chance (1/10)of being chosen.
(1,2) (1,3) (1,4) (1,5) (2,3) (2,4) (2,5) (3,4) (3,5) (4,5).
A B C D E F G
1
2
3 Sort on Rand column and
4 pick players with 10 largest random numbers
5
6 Rand Player
7 0.996804 Joel_Anthony
8 0.991764 Miroslav_Raduljica
9 0.982225 Byron_Mullens
10 0.981401 Andrew_Bynum
11 0.981134 Dirk_Nowitzki
12 0.980461 Elton_Brand
13 0.978092 Brendan_Haywood
14 0.97305 Anthony_Tolliver
15 0.956591 Greg_Monroe
16 0.942004 Paul_Pierce
17 0.93729 Ricky_Ledo
18 0.935591 LeBron_James
19 0.931829 Jeff_Taylor
20 0.928119 Chauncey_Billups
21 0.927295 Hilton_Armstrong
22 0.920549 Wesley_Johnson
23 0.915805 Andre_Miller
24 0.914423 Chris_Kaman
25 0.914025 Andrew_Bogut
26 0.911792 Andrei_Kirilenko
27 0.911155 Jordan_Hill
28 0.899949 Harrison_Barnes
29 0.898656 Ersan_Ilyasova
30 0.887971 Tony_Snell
31 0.884259 Pau_Gasol
32 0.882847 Ramon_Sessions
33 0.874902 Josh_Smith
34 0.873304 Francisco_Garcia
35 0.870564 Jerryd_Bayless
36 0.868053 Xavier_Henry
37 0.864866 Willie_Green
38 0.864751 Peyton_Siva
39 0.864172 Mike_Dunleavy_Jr.
40 0.859377 Tyshawn_Taylor
41 0.85542 Phil_Pressey
42 0.850886 Festus_Ezeli
43 0.850442 Corey_Brewer
44 0.843594 Kobe_Bryant
45 0.843423 Blake_Griffin
46 0.8386 Chris_Bosh
47 0.828574 Hedo_Turkoglu
48 0.82662 Greg_Smith
49 0.824 Jermaine_O'Neal
50 0.821775 DeJuan_Blair
51 0.817682 Chris_Paul
52 0.81152 Kyrie_Irving
53 0.810853 Omer_Asik
54 0.810361 Dwyane_Wade
55 0.805087 DeWayne_Dedmon
56 0.802217 Zaza_Pachulia
57 0.792064 Mike_Conley
58 0.790879 Ronnie_Brewer
59 0.790268 Ian_Mahinmi
60 0.789687 MarShon_Brooks
61 0.786767 Lance_Stephenson
62 0.786136 Alonzo_Gee
63 0.785876 Bismack_Biyombo
64 0.783764 Jordan_Crawford
65 0.780751 Quincy_Miller
66 0.777573 Kevin_Garnett
67 0.773539 Nemanja_Nedovic
68 0.77308 Zach_Randolph
69 0.770883 Lou_Williams
70 0.770631 Norris_Cole
71 0.770191 Andre_Iguodala
72 0.769843 Luis_Scola
73 0.769644 Taj_Gibson
74 0.765471 Chandler_Parsons
75 0.758249 George_Hill
76 0.753656 Rashard_Lewis
77 0.748957 Shabazz_Muhammad
78 0.747712 Cartier_Martin
79 0.744802 Mason_Plumlee
80 0.742939 Keith_Bogans
81 0.742442 Joakim_Noah
82 0.738434 Omri_Casspi
83 0.728738 Brandon_Knight
84 0.728463 A.J._Price
85 0.728061 DeAndre_Jordan
86 0.724132 Udonis_Haslem
87 0.716813 Al_Horford
88 0.716223 Draymond_Green
89 0.703026 Stephen_Curry
90 0.697295 Gustavo_Ayon
91 0.694857 Dante_Cunningham
92 0.692751 Deron_Williams
93 0.69164 Andrew_Bynum
94 0.680734 Jeremy_Lin
95 0.677115 Roger_Mason_Jr.
96 0.674575 James_Southerland
97 0.670056 Brandan_Wright
98 0.669351 Greg_Oden
99 0.66491 Steve_Nash
100 0.660343 Avery_Bradley
101 0.656889 Jason_Terry
102 0.643195 Jordan_Hamilton
103 0.642467 James_Nunnally
104 0.640524 Nick_Calathes
105 0.640121 John_Jenkins
106 0.633837 Carlos_Delfino
107 0.628894 Khris_Middleton
108 0.623405 Henry_Sims
109 0.615838 Ben_Gordon
110 0.608062 David_West
111 0.607036 Orlando_Johnson
112 0.606651 Vitor_Faverani
113 0.599782 Kentavious_Caldwell-Pope
114 0.59485 Maalik_Wayns
115 0.594115 Aaron_Brooks
116 0.590207 Patrick_Beverley
117 0.5885 Paul_Millsap
118 0.586737 Jonas_Jerebko
119 0.584195 Brook_Lopez
120 0.584049 Ed_Davis
121 0.581518 Erik_Murphy
122 0.580978 Darius_Morris
123 0.574106 Dwight_Howard
124 0.573184 Kirk_Hinrich
125 0.563633 Tristan_Thompson
126 0.556463 Quincy_Pondexter
127 0.55025 Mike_James
128 0.549294 Marreese_Speights
129 0.549168 O.J._Mayo
130 0.537442 Charlie_Villanueva
131 0.534583 Tony_Mitchell
132 0.527398 Jamaal_Franklin
133 0.522438 Caron_Butler
134 0.521533 Anderson_Varejao
135 0.516985 JaVale_McGee
136 0.513404 Antawn_Jamison
137 0.512452 MarShon_Brooks
138 0.510462 Ekpe_Udoh
139 0.506359 Chris_Copeland
140 0.50575 Ryan_Gomes
141 0.503955 Jamal_Crawford
142 0.501192 Timofey_Mozgov
143 0.499643 Elias_Harris
144 0.495532 Robert_Sacre
145 0.492272 Seth_Curry
146 0.491985 Kenneth_Faried
147 0.491918 Danilo_Gallinari
148 0.471933 DeMarre_Carroll
149 0.468781 Joel_Anthony
150 0.463043 Carlos_Boozer
151 0.461502 Derrick_Rose
152 0.460017 Larry_Sanders
153 0.45841 C.J._Miles
154 0.452843 Nate_Robinson
155 0.445921 Matthew_Dellavedova
156 0.444243 Jon_Leuer
157 0.443239 Chase_Budinger
158 0.441529 Josh_Harrellson
159 0.439749 Kosta_Koufos
160 0.435799 Luke_Ridnour
161 0.429847 Toney_Douglas
162 0.424199 Chris_Johnson
163 0.424114 Gorgui_Dieng
164 0.422852 Will_Bynum
165 0.422194 Matt_Barnes
166 0.419473 Jordan_Farmar
167 0.418122 D.J._Augustin
168 0.411269 Gerald_Henderson
169 0.407104 Nazr_Mohammed
170 0.405963 Kevin_Love
171 0.401609 Robbie_Hummel
172 0.401013 Devin_Harris
173 0.394779 J.J._Redick
174 0.39428 Josh_McRoberts
175 0.393723 Jeff_Green
176 0.393048 Nick_Young
177 0.391213 Jeff_Teague
178 0.386601 Jarrett_Jack
179 0.386387 Kevin_Martin
180 0.380957 C.J._Watson
181 0.379762 Darrell_Arthur
182 0.377326 Vince_Carter
183 0.376962 Shaun_Livingston
184 0.367833 Gary_Neal
185 0.363241 Ryan_Hollins
186 0.353372 Ryan_Kelly
187 0.353232 Marquis_Teague
188 0.35171 Cody_Zeller
189 0.34833 Anthony_Randolph
190 0.341918 Chris_Andersen
191 0.340342 Jimmy_Butler
192 0.339773 Tony_Allen
193 0.336252 Jodie_Meeks
194 0.33204 Pero_Antic
195 0.327789 Kelly_Olynyk
196 0.327674 Sergey_Karasev
197 0.327556 Bernard_James
198 0.322798 Ricky_Rubio
199 0.317838 Mario_Chalmers
200 0.314606 Shane_Battier
201 0.311398 Jared_Dudley
202 0.311126 Shane_Larkin
203 0.305409 Samuel_Dalembert
204 0.305008 Courtney_Lee
205 0.304227 Rasual_Butler
206 0.299052 Tayshaun_Prince
207 0.295141 Jae_Crowder
208 0.294739 Carrick_Felix
209 0.289324 Vander_Blue
210 0.28913 Solomon_Hill
211 0.28631 Stephen_Jackson
212 0.285431 John_Henson
213 0.282258 Earl_Clark
214 0.280118 Terrence_Jones
215 0.277874 Giannis_Antetokounmpo
216 0.274871 Wilson_Chandler
217 0.274555 Evan_Fournier
218 0.268803 Isaiah_Canaan
219 0.264848 David_Lee
220 0.263801 Danny_Granger
221 0.261857 Nikola_Pekovic
222 0.257427 Reggie_Evans
223 0.251772 Monta_Ellis
224 0.251322 Kyle_Singler
225 0.248908 Paul_George
226 0.240376 Gal_Mekel
227 0.233448 Andray_Blatche
228 0.22755 Luol_Deng
229 0.225706 Brandon_Bass
230 0.224928 Mike_Miller
231 0.220346 Klay_Thompson
232 0.217493 Luol_Deng
233 0.205871 Jerryd_Bayless
234 0.204193 Cartier_Martin
235 0.202952 Jannero_Pargo
236 0.197432 Shawne_Williams
237 0.193269 James_Jones
238 0.18008 Jeff_Adrien
239 0.179842 Reggie_Bullock
240 0.177092 Jose_Calderon
241 0.176009 Dennis_Schroder
242 0.173786 Alan_Anderson
243 0.163204 Shawn_Marion
244 0.163053 Ray_Allen
245 0.143838 J.J._Barea
246 0.138961 Randy_Foye
247 0.133175 Ognjen_Kuzmic
248 0.123001 Tyler_Zeller
249 0.122975 Joe_Johnson
250 0.120967 James_Johnson
251 0.104934 Kent_Bazemore
252 0.103792 Marc_Gasol
253 0.100613 Tornike_Shengelia
254 0.092871 Marquis_Teague
255 0.092478 Al_Jefferson
256 0.088468 Darren_Collison
257 0.08639 Donatas_Motiejunas
258 0.082489 Brandon_Jennings
259 0.081693 Shelvin_Mack
260 0.074321 Rajon_Rondo
261 0.072672 Robert_Covington
262 0.069391 Roy_Hibbert
263 0.067495 Manny_Harris
264 0.066689 Anthony_Bennett
265 0.065184 Tornike_Shengelia
266 0.057371 Donald_Sloan
267 0.05454 Mike_Scott
268 0.054039 Rodney_Stuckey
269 0.047941 James_Harden
270 0.043355 Dion_Waiters
271 0.043283 Michael_Beasley
272 0.040838 Courtney_Lee
273 0.040153 Ty_Lawson
274 0.035287 Kemba_Walker
275 0.034723 Toney_Douglas
276 0.034219 Steve_Blake
277 0.031932 Nate_Wolters
278 0.031405 Luigi_Datome
279 0.031218 JJ_Hickson
280 0.028571 Kris_Humphries
281 0.027687 Wayne_Ellington
282 0.024872 Kyle_Korver
283 0.023968 Mirza_Teletovic
284 0.020628 Kendall_Marshall
285 0.017652 Jared_Sullinger
286 0.016185 Jared_Cunningham
287 0.015131 Chris_Douglas-Roberts
288 0.012371 Jordan_Crawford
289 0.007385 Andre_Drummond
290 0.002576 Michael_Kidd-Gilchrist
291 0.002112 Gerald_Wallace
A B C D E F G
1
2
3 Sort on Rand column and
4 pick players with 10 largest random numbers
5
6 Rand Player
7 0.998152 Chris_Douglas-Roberts
8 0.994134 Nick_Calathes
9 0.987062 Paul_Pierce
10 0.986242 Patrick_Beverley
11 0.985116 Roger_Mason_Jr.
12 0.973976 Carlos_Delfino
13 0.973319 Kelly_Olynyk
14 0.970552 David_Lee
15 0.967327 Tony_Mitchell
16 0.961087 Blake_Griffin
17 0.960373 Tornike_Shengelia
18 0.956705 Shane_Larkin
19 0.955977 Samuel_Dalembert
20 0.953055 Corey_Brewer
21 0.950523 Jared_Dudley
22 0.948949 Anderson_Varejao
23 0.940654 James_Jones
24 0.923872 Nikola_Pekovic
25 0.923109 Ray_Allen
26 0.920147 Festus_Ezeli
27 0.917824 Miroslav_Raduljica
28 0.917797 Jamaal_Franklin
29 0.906867 Wesley_Johnson
30 0.906256 Jonas_Jerebko
31 0.901161 Vitor_Faverani
32 0.899444 Francisco_Garcia
33 0.888597 Chris_Bosh
34 0.885611 Courtney_Lee
35 0.88461 Gerald_Henderson
36 0.884492 Jared_Cunningham
37 0.884316 Ty_Lawson
38 0.883865 Danny_Granger
39 0.882033 Elias_Harris
40 0.876128 Courtney_Lee
41 0.875564 Andre_Drummond
42 0.867363 Gorgui_Dieng
43 0.86286 Dwight_Howard
44 0.861843 Kyrie_Irving
45 0.861264 Andray_Blatche
46 0.861168 Jeff_Adrien
47 0.856076 Henry_Sims
48 0.854863 Dante_Cunningham
49 0.84287 Dwyane_Wade
50 0.834796 JJ_Hickson
51 0.83434 Gerald_Wallace
52 0.831938 MarShon_Brooks
53 0.83142 Joel_Anthony
54 0.829812 Kent_Bazemore
55 0.827652 J.J._Barea
56 0.827326 Phil_Pressey
57 0.819589 Taj_Gibson
58 0.817852 Quincy_Miller
59 0.816221 Ryan_Gomes
60 0.81317 Nazr_Mohammed
61 0.812983 Tony_Allen
62 0.807447 Stephen_Curry
63 0.79347 Danilo_Gallinari
64 0.791695 Chris_Andersen
65 0.781703 Greg_Oden
66 0.7778 Shawne_Williams
67 0.772418 Andrew_Bynum
68 0.768881 Will_Bynum
69 0.768836 Jeff_Taylor
70 0.76124 DeJuan_Blair
71 0.759405 Toney_Douglas
72 0.757978 Brendan_Haywood
73 0.757525 Dirk_Nowitzki
74 0.748015 Kosta_Koufos
75 0.74681 Jason_Terry
76 0.744741 Avery_Bradley
77 0.744144 Mike_Dunleavy_Jr.
78 0.730715 Roy_Hibbert
79 0.723184 Mike_Scott
80 0.720837 DeWayne_Dedmon
81 0.714682 Brandon_Jennings
82 0.713214 Carrick_Felix
83 0.710783 Paul_George
84 0.709159 Dion_Waiters
85 0.705985 Matt_Barnes
86 0.705697 Chris_Johnson
87 0.702698 Gal_Mekel
88 0.701488 Luis_Scola
89 0.698376 Anthony_Tolliver
90 0.697791 Luke_Ridnour
91 0.695798 Josh_Smith
92 0.693243 Willie_Green
93 0.691917 Jae_Crowder
94 0.686878 Erik_Murphy
95 0.685258 Lou_Williams
96 0.685014 John_Jenkins
97 0.680397 Harrison_Barnes
98 0.678701 Cartier_Martin
99 0.675995 Kenneth_Faried
100 0.675728 Solomon_Hill
101 0.675137 Jerryd_Bayless
102 0.662259 Kendall_Marshall
103 0.660894 Jamal_Crawford
104 0.64619 DeAndre_Jordan
105 0.645481 Wayne_Ellington
106 0.642198 Alonzo_Gee
107 0.641733 Jeff_Teague
108 0.640086 Andrew_Bogut
109 0.639766 Charlie_Villanueva
110 0.639096 Quincy_Pondexter
111 0.638314 Mirza_Teletovic
112 0.637041 Keith_Bogans
113 0.633792 Pero_Antic
114 0.63204 Jon_Leuer
115 0.624977 Seth_Curry
116 0.6204 C.J._Miles
117 0.618143 D.J._Augustin
118 0.61662 C.J._Watson
119 0.61233 Joe_Johnson
120 0.606756 Hilton_Armstrong
121 0.606603 Joakim_Noah
122 0.6018 Jarrett_Jack
123 0.600566 Tony_Snell
124 0.59596 Marc_Gasol
125 0.592705 Kobe_Bryant
126 0.592226 Ramon_Sessions
127 0.592216 Steve_Nash
128 0.591706 Kentavious_Caldwell-Pope
129 0.590601 Norris_Cole
130 0.589069 Robbie_Hummel
131 0.588968 Manny_Harris
132 0.585896 Ben_Gordon
133 0.581698 Earl_Clark
134 0.575448 Ricky_Ledo
135 0.571675 Carlos_Boozer
136 0.570409 Chandler_Parsons
137 0.568722 Ricky_Rubio
138 0.56349 Jimmy_Butler
139 0.563123 Bismack_Biyombo
140 0.559565 Jannero_Pargo
141 0.555172 Anthony_Randolph
142 0.552942 Brook_Lopez
143 0.551956 Chauncey_Billups
144 0.548984 O.J._Mayo
145 0.5464 MarShon_Brooks
146 0.542687 Elton_Brand
147 0.54234 Rasual_Butler
148 0.54229 JaVale_McGee
149 0.540295 Jordan_Hill
150 0.540212 Omer_Asik
151 0.538324 Aaron_Brooks
152 0.534813 Kirk_Hinrich
153 0.533252 James_Harden
154 0.518644 Andre_Miller
155 0.512575 Michael_Kidd-Gilchrist
156 0.51182 James_Nunnally
157 0.508811 Toney_Douglas
158 0.507772 A.J._Price
159 0.504102 Andrew_Bynum
160 0.502654 Anthony_Bennett
161 0.492847 Jordan_Farmar
162 0.49177 Randy_Foye
163 0.488197 Mike_Conley
164 0.482515 Peyton_Siva
165 0.476327 Tornike_Shengelia
166 0.470398 Chris_Paul
167 0.470119 Derrick_Rose
168 0.460266 Tristan_Thompson
169 0.4497 Zaza_Pachulia
170 0.439419 Jordan_Crawford
171 0.437908 Gary_Neal
172 0.43751 Nick_Young
173 0.436183 Antawn_Jamison
174 0.433116 Darius_Morris
175 0.432921 Evan_Fournier
176 0.429948 Larry_Sanders
177 0.429916 DeMarre_Carroll
178 0.429641 Jeremy_Lin
179 0.424422 Robert_Sacre
180 0.410324 Steve_Blake
181 0.408856 Zach_Randolph
182 0.403076 Devin_Harris
183 0.40069 Al_Horford
184 0.400513 J.J._Redick
185 0.397451 Mike_James
186 0.394895 Wilson_Chandler
187 0.39374 Greg_Smith
188 0.392744 Reggie_Evans
189 0.390127 Chris_Copeland
190 0.386755 Kyle_Singler
191 0.385409 Nate_Wolters
192 0.379089 Timofey_Mozgov
193 0.376072 Donald_Sloan
194 0.373097 Marreese_Speights
195 0.367256 Luol_Deng
196 0.367186 Kevin_Martin
197 0.361548 Joel_Anthony
198 0.360077 Isaiah_Canaan
199 0.358045 Josh_McRoberts
200 0.353536 Cartier_Martin
201 0.352817 Caron_Butler
202 0.352497 Mike_Miller
203 0.350985 Rodney_Stuckey
204 0.347788 Mason_Plumlee
205 0.343089 Chris_Kaman
206 0.342374 Rajon_Rondo
207 0.335644 Brandon_Knight
208 0.334991 Nemanja_Nedovic
209 0.329894 Marquis_Teague
210 0.323477 Klay_Thompson
211 0.322169 Luigi_Datome
212 0.306455 Vander_Blue
213 0.305174 Rashard_Lewis
214 0.300993 Pau_Gasol
215 0.298259 Mario_Chalmers
216 0.296954 Brandon_Bass
217 0.296387 Marquis_Teague
218 0.296376 Greg_Monroe
219 0.284895 Jodie_Meeks
220 0.280876 Lance_Stephenson
221 0.280734 Jordan_Hamilton
222 0.272136 Ognjen_Kuzmic
223 0.26551 Reggie_Bullock
224 0.256699 Matthew_Dellavedova
225 0.250219 Jared_Sullinger
226 0.24835 Byron_Mullens
227 0.245154 Ekpe_Udoh
228 0.232206 Sergey_Karasev
229 0.221427 Ersan_Ilyasova
230 0.216604 Tyshawn_Taylor
231 0.212775 Tyler_Zeller
232 0.212364 Shawn_Marion
233 0.194593 James_Southerland
234 0.193234 Kevin_Love
235 0.189509 John_Henson
236 0.182935 David_West
237 0.178424 Omri_Casspi
238 0.176318 Andrei_Kirilenko
239 0.169741 Udonis_Haslem
240 0.168358 Paul_Millsap
241 0.166846 Xavier_Henry
242 0.164919 Terrence_Jones
243 0.157956 Robert_Covington
244 0.154756 Shabazz_Muhammad
245 0.148124 Gustavo_Ayon
246 0.147698 LeBron_James
247 0.144434 Giannis_Antetokounmpo
248 0.14192 Tayshaun_Prince
249 0.138591 Orlando_Johnson
250 0.134076 Jose_Calderon
251 0.126396 Ed_Davis
252 0.125212 Draymond_Green
253 0.121833 Donatas_Motiejunas
254 0.118704 Dennis_Schroder
255 0.113648 Andre_Iguodala
256 0.102831 Luol_Deng
257 0.102165 Vince_Carter
258 0.100138 Jeff_Green
259 0.095394 Ronnie_Brewer
260 0.09402 Darren_Collison
261 0.088785 Kemba_Walker
262 0.087419 Kyle_Korver
263 0.086053 Kevin_Garnett
264 0.085779 Jordan_Crawford
265 0.0851 Shaun_Livingston
266 0.084951 Alan_Anderson
267 0.082974 Khris_Middleton
268 0.07386 Kris_Humphries
269 0.061023 Cody_Zeller
270 0.060315 Shane_Battier
271 0.055254 Darrell_Arthur
272 0.049476 Brandan_Wright
273 0.044082 Monta_Ellis
274 0.044002 Maalik_Wayns
275 0.043304 James_Johnson
276 0.042151 George_Hill
277 0.04198 Ian_Mahinmi
278 0.039462 Ryan_Hollins
279 0.038899 Jerryd_Bayless
280 0.035368 Michael_Beasley
281 0.034931 Nate_Robinson
282 0.02442 Shelvin_Mack
283 0.021607 Bernard_James
284 0.019075 Jermaine_O'Neal
285 0.016783 Al_Jefferson
286 0.013153 Ryan_Kelly
287 0.012034 Chase_Budinger
288 0.009441 Josh_Harrellson
289 0.00531 Stephen_Jackson
290 0.000563 Hedo_Turkoglu
291 0.00034 Deron_Williams
SAMPLING PROBLEMS
1. Selection bias occurs when each item in population does not have
same chance of being chosen in sample
§ In 2016 election many pollsters assumed electorate would look like 2012
electorate, but in 2016 more rural voters and fewer African Americans voted
compared to 2012.
2. Publication Bias occurs because drug studies with positive results are
more likely to be published than negative results. For example, in studies of
antidepressants 94% of studies with positive results were published but only
14% of studies with negative results were published.
xbar=(x1+x2+….,xn)/n
The sample mean is an unbiased estimate of µ. This means that if we take many samples
Xbar values we should get µ.
Since the sample mean is a random variable it has a variance. Suppose the var
has a variance σ2
To find the variance of xbar
is σ/sqrt(n)
xbar=(x1+x2+….,xn)/n
….,xn)/n
A B C D E F G H I J
1 Population is tossing a die Mean X = 3.5 Mean Xbar = Mu
2 take sample of size two: do previous formulas work? Variance X =2.91 Var Xbar= σ2/n
3 Meanxbar
4 Probability Die 1 Die 2 Xbar Squared dev
5 0.027777778 1 1 Variance xbar
6 0.027777778 1 2
7 0.027777778 1 3
8 0.027777778 1 4 Var X =2.91
9 0.027777778 1 5 Var Xbar=2.91/2
10 0.027777778 1 6
11 0.027777778 2 1
12 0.027777778 2 2
13 0.027777778 2 3
14 0.027777778 2 4
15 0.027777778 2 5
16 0.027777778 2 6
17 0.027777778 3 1
18 0.027777778 3 2
19 0.027777778 3 3
20 0.027777778 3 4
21 0.027777778 3 5
22 0.027777778 3 6
23 0.027777778 4 1
24 0.027777778 4 2
25 0.027777778 4 3
26 0.027777778 4 4
27 0.027777778 4 5
28 0.027777778 4 6
29 0.027777778 5 1
30 0.027777778 5 2
31 0.027777778 5 3
32 0.027777778 5 4
33 0.027777778 5 5
34 0.027777778 5 6
35 0.027777778 6 1
36 0.027777778 6 2
37 0.027777778 6 3
38 0.027777778 6 4
39 0.027777778 6 5
40 0.027777778 6 6
A B C D E F G H
1
2
3 Meanxbar
4 Probability Die 1 Die 2 Xbar Squared dev 3.5
5 0.027777778 1 1 1 6.25 Variance xbar
6 0.027777778 1 2 1.5 4 1.45833333333
7 0.027777778 1 3 2 2.25 Std Dev xbar
8 0.027777778 1 4 2.5 1 1.20761472885
9 0.027777778 1 5 3 0.25
10 0.027777778 1 6 3.5 0
11 0.027777778 2 1 1.5 4
12 0.027777778 2 2 2 2.25
13 0.027777778 2 3 2.5 1
14 0.027777778 2 4 3 0.25
15 0.027777778 2 5 3.5 0
16 0.027777778 2 6 4 0.25
17 0.027777778 3 1 2 2.25
18 0.027777778 3 2 2.5 1
19 0.027777778 3 3 3 0.25
20 0.027777778 3 4 3.5 0
21 0.027777778 3 5 4 0.25
22 0.027777778 3 6 4.5 1
23 0.027777778 4 1 2.5 1
24 0.027777778 4 2 3 0.25
25 0.027777778 4 3 3.5 0
26 0.027777778 4 4 4 0.25
27 0.027777778 4 5 4.5 1
28 0.027777778 4 6 5 2.25
29 0.027777778 5 1 3 0.25
30 0.027777778 5 2 3.5 0
31 0.027777778 5 3 4 0.25
32 0.027777778 5 4 4.5 1
33 0.027777778 5 5 5 2.25
34 0.027777778 5 6 5.5 4
35 0.027777778 6 1 3.5 0
36 0.027777778 6 2 4 0.25
37 0.027777778 6 3 4.5 1
38 0.027777778 6 4 5 2.25
39 0.027777778 6 5 5.5 4
40 0.027777778 6 6 6 6.25
Suppose we want to estimate an unknown population proportion p.
For example, let p be the fraction of registered voters in Seattle,
Washington who are Independents. To estimate p we might ask n
randomly chosen Seattle voters if they are independents and
estimate p by
SQRT(phat*(1-phat)/n)
Example
In a survey 600 of 1500 UK adults are in favor of driverless cars.
Then we estimate fraction
of UK adults in favor of driverless cars as 600/1500= 0.4
The standard deviation of phat in this case is estimated as
0.012649110640674
Our estimates of µ by xbar and p by phat are point estimates of population of parame
They will differ from sample to sample
so we need to discuss interval estimates of µ and p.
SQRT(p*(1-p)/n)
=SQRT(0.4*0.6/1500)
es of population of parameters.
A B C D E F G H I
1 STANDARD NORMAL
2
3
4 Z.025 2.5 %ile -1.959964 -1.959964 =NORM.INV(0.025,0,1) =NORM.S.INV(0.025)
5 Z.975 97.5%ile 1.959964 1.959964 =NORM.INV(0.975,0,1) =NORM.S.INV(0.975)
6 Z.95 95%ile 1.6448536 1.6448536 =NORM.INV(0.95,0,1) =NORM.S.INV(0.95)
7 Z.05 5th%ile -1.644854 -1.644854 =NORM.INV(0.05,0,1) =NORM.S.INV(0.05)
8 Standard Normal (often called Z)
9 is a normal random variable with mean =0
10 and standard deviation=1
A B C D E
1 Confidence Interval for Population Mean
samplemean 4500
3 Lower Limit Upper Limit popsigma 500
4 xbar-1.96*sigma/sqrt(n) xbar+1.96*sigma/sqrt(n) samplesize 100
5 z.025 -1.96
6 Sample size n>=30 95% Confidence Interval for unknown Population z.975 1.96
7 Mean µ
8 Lower Limit 4402
9 Upper Limit 4598
10 If σ unknown plug in s for sigma
Include 100 True Interpretation of 95% CI
97 Take 100 samples compute 100 95% CI
around 95 will contain the population mean
n 500
alpha 0.05
success=accident
0 successes
1-phat))/n).5
A B C D E F G
SIGMA $100.00
ERROR $20.00
7
of the population mean µ is accurate within an error amount E.
How large a sample size n is needed? Simply set the half-width of
the 95% Confidence Interval for µ equal to E.
13 .
A B C D E F G H