|
111 | 111 | "cell_type": "markdown", |
112 | 112 | "metadata": {}, |
113 | 113 | "source": [ |
114 | | - "<h2>Sampling Rows of a Table</h2>\n", |
| 114 | + "**Sampling Rows of a Table**\n", |
115 | 115 | "\n", |
116 | 116 | "Each row of a data table represents an individual; in `top`, each individual is a movie. Sampling individuals can thus be achieved by sampling the rows of a table.\n", |
117 | 117 | "\n", |
|
122 | 122 | "cell_type": "markdown", |
123 | 123 | "metadata": {}, |
124 | 124 | "source": [ |
125 | | - "<h2>Deterministic Samples</h2>\n", |
| 125 | + "**Deterministic Samples**\n", |
126 | 126 | "\n", |
127 | 127 | "When you simply specify which elements of a set you want to choose, without any chances involved, you create a *deterministic sample*.\n", |
128 | 128 | "\n", |
|
249 | 249 | "cell_type": "markdown", |
250 | 250 | "metadata": {}, |
251 | 251 | "source": [ |
252 | | - "<h2>Probability Samples</h2>" |
| 252 | + "**Probability Samples**" |
253 | 253 | ] |
254 | 254 | }, |
255 | 255 | { |
|
264 | 264 | "\n", |
265 | 265 | "In a probability sample, all elements need not have the same chance of being chosen. \n", |
266 | 266 | "\n", |
267 | | - "<h2>A Random Sampling Scheme</h2>\n", |
| 267 | + "**A Random Sampling Scheme**\n", |
268 | 268 | "\n", |
269 | 269 | "For example, suppose you choose two people from a population that consists of three people A, B, and C, according to the following scheme:\n", |
270 | 270 | "\n", |
|
288 | 288 | "cell_type": "markdown", |
289 | 289 | "metadata": {}, |
290 | 290 | "source": [ |
291 | | - "<h2>A Systematic Sample</h2>\n", |
| 291 | + "**A Systematic Sample**\n", |
292 | 292 | "\n", |
293 | 293 | "Imagine all the elements of the population listed in a sequence. One method of sampling starts by choosing a random position early in the list, and then evenly spaced positions after that. The sample consists of the elements in those positions. Such a sample is called a *systematic sample*. \n", |
294 | 294 | "\n", |
|
387 | 387 | "cell_type": "markdown", |
388 | 388 | "metadata": {}, |
389 | 389 | "source": [ |
390 | | - "<h2>Random Samples Drawn With or Without Replacement</h2>\n", |
| 390 | + "**Random Samples Drawn With or Without Replacement**\n", |
391 | 391 | " \n", |
392 | 392 | "In this course, we will mostly deal with the two most straightforward methods of sampling. \n", |
393 | 393 | "\n", |
|
404 | 404 | "collapsed": true |
405 | 405 | }, |
406 | 406 | "source": [ |
407 | | - "<h2>Convenience Samples</h2>\n", |
| 407 | + "**Convenience Samples**\n", |
408 | 408 | "Drawing a random sample requires care and precision. It is not haphazard even though that is a colloquial meaning of the word \"random\". If you stand at a street corner and take as your sample the first ten people who pass by, you might think you're sampling at random because you didn't choose who walked by. But it's not a random sample – it's a *sample of convenience*. You didn't know ahead of time the probability of each person entering the sample; perhaps you hadn't even specified exactly who was in the population." |
409 | 409 | ] |
410 | 410 | }, |
|
0 commit comments