notes/education/statistics/Sampling.md
2024-01-25 14:10:30 -07:00

4.0 KiB

(Ch 19, stat 1040)

Term Definition
Qualitative A descriptive value (red, blue, high, low)
Quantitative A numerical value (7, 8, 9)
Population The entire set of existing units that investigators wish to study
Sample A portion or subset of the population
Parameter A number that describes a characteristic of an entire population (10% of US senators voted for something)
Statistic A number that describes a sample characteristic (71% of Americans feel that ...)

A global consumer survey reported that 6% of US taxpayers used or owned cryptocurrency in 2020. The US government is interested in knowing if this percentage has increased. The University of Chicago surveys 1,004 taxpayers and finds that 13% have used or owned crypto in the past year (2021)

In the above example:

  • The population was US taxpayers
  • The parameter was 6%
  • The sample was 1004 taxpayers
  • The statistic was 13%

An ideal sample will represent the whole population.

Sampling

Sample Type Description
Simple random Advantages:
- Procedure is impartial
- Law of Averages
Disadvantages
- Not always possible
- Can be very expensive
Quota Sampling Attempts to get certain proportions based on key characteristics. Quota sampling doesn't guarantee that the selection is an accurate representation.
Cluster Sampling Divide population into subgroups, randomly select a subgroup, and sample all of the subjects in that group
Convenience Sampling done near to the researcher because it's easier.

Simple Random Samples

Bias

Bias Type Description
Selection When the procedure that selects the sample is biased
Non-Response Those that don't respond to a survey may have different characteristics than those that do respond
Response When the question is worded in a leading way to elicit a certain response.
Volunteer response Self selecting, individuals volunteer to answer
Measurement Interviewing method influences the response, uses loaded words or ambiguities.

Percentages

(Ch 20, stat 1040)

Throughout this chapter, percentages are often represented by referencing a box model of 1s and 0s, where 1s are datapoints that are counted, and 0s are datapoints that are not counted.

The expected value for a sample percentage equals the population percentage. The standard error for that percentage = (SE_sum/sample_size) * 100%.

To determine by how much the standard error is affected, if n is the proportion that the population changed by, the standard error will change by \frac{1}{\sqrt{n}}. For example, if a population changed from 20 to 40, that change was by a proportion of 2, and so you would say the standard error decreased by \frac{1}{\sqrt{2}}.

Accuracy in statistics refers to how small the standard error is. A smaller standard error means your data is more accurate. As the sample size increases, the percentage standard error decreases.

You can use the below equation to find the percentage standard error of a box model that has ones and zeros. the % of ones and zeros should be represented as a proportion (EG: 60% = 0.6).

 SE_\% =  \sqrt{\frac{(\%\space of\space 1s)(\%\space of\space 0s)}{num_{draws}}} 

If asked if an observed % is reasonable, you can calculate the z score, and if the z score is more than 2-3 standard deviations away.

Sampling Distributions

(Ch 23, stat 1040) Take a sample, find the average, plot it and repeat. After many many samples, the observed probability histogram for sample averages looks like the predicted probability histogram.

As with SE_\%, as the sample size increase, the standard error decreases.

The central limit theorem still applies here, so the probability histogram for the average of the draws follows the normal curve with a large number of draws, even if the contents of the box do not.

Term Definition
EV_{ave} The expected value for the average
SE_{ave} The standard error