Smoking_Status | Frequency |
---|---|
FALSE | 742 |
TRUE | 484 |
Total | 1226 |
STAT 218 - Week 2, Lecture 1
January 16th, 2024
In this lecture, we have
anectodal evidence | environment pane | observational study | sampling error |
climate change | experimental study | observational unit | simple random sampling |
clustered random sampling | life | output pane | squirrel |
coding | missing data | population | stratified random sampling |
console pane | nonresponse bias | randomness | sustainable development goals |
data | nonsampling error | RStudio | uncertainty |
data frame | object assignment operator | sample | variability |
histogram | bar chart | dotplot | bar chart |
Variable: It is a characteristics of an observational unit that can be assigned a number or a category.
Warning
The boundary between continuous and discrete variables is not fixed or inflexible.
Parameter: A number represents the entire population (e.g., population mean).
Statistic: A number calculated from sample data (e.g., sample mean).
Descriptive Statistics: Statistics used for describing and summarizing our data.
Inferential Statistics: Statistics used for making predictions and draw conclusions.
Generally, we used descriptive statistics to understand the shape, center, and dispersion in our data set.
Descriptive statistics might be reported either as in a tabular or a visual format.
In this section, you will see two examples for summarizing a single categorical variable.
Smoking_Status | Frequency |
---|---|
FALSE | 742 |
TRUE | 484 |
Total | 1226 |
A visual representation of categorical data that illustrates the quantity of observations within each category.
Likert_Response | Frequency |
---|---|
Strongly Disagree | 13 |
Disagree | 21 |
Neutral | 18 |
Agree | 23 |
Strongly Agree | 25 |
Total | 100 |
No Gaps between Bars: Unlike a bar chart, there are no gaps between the bars in a histogram because the bins are contiguous.