Data 8 Midterm 1 Review Session

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/26

flashcard set

Earn XP

Description and Tags

Vocabulary practice flashcards created from the Data 8 Midterm 1 review session notes covering experimental design, array operations, table methods, data visualizations, and functions.

Last updated 9:41 PM on 9/20/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

27 Terms

1
New cards

Association

Any relation observed between a treatment and an outcome.

2
New cards

Causation

Occurs when an association is observed between a treatment and an outcome, and the treatment directly causes the outcome.

3
New cards

Observational Study

A study in which researchers observe outcomes without directly assigning treatments, making it difficult to establish causality due to potential confounding factors.

4
New cards

Confounding Factor

An underlying variable or difference between treatment and control groups (other than the treatment itself) that can confuse or distort conclusions about causality.

5
New cards

Randomized Control Trial (RCT)

An experimental setup where individuals are randomly assigned into control and treatment groups to minimize confounding factors and test for causality.

6
New cards

Placebo

A neutral treatment (such as a sugar pill) given to a control group to prevent psychological effects from influencing experimental outcomes.

7
New cards

Assignment Statement

A Python statement where a variable name is assigned to the value of the expression on the right side of the == symbol.

8
New cards

np.arange(start, stop, step)

A NumPy function that returns an array starting at start (inclusive), incrementing by step size, and ending before stop (exclusive).

9
New cards

tbl.where(column, condition)

A table method that filters and returns rows from a table where values in the specified column satisfy a given predicate or condition.

10
New cards

are.between(x, y)

A Table.where predicate that filters for values greater than or equal to xx and strictly less than yy.

11
New cards

tbl.sort(column, descending)

A table method that sorts table rows by the values in a specified column in ascending order by default, or descending order if descending=True.

12
New cards

tbl.select

A table method that creates and returns a new table containing only the specified column names or column indices. (column. only)

13
New cards

tbl.column

A table method that selects a single column by name or index and returns its values as an array. (one column only)

14
New cards

tbl.take

A table method that returns a new table containing only the rows specified by a given array of row indices.(Row only)

15
New cards

tbl.row(row_index)

A table method that returns an entire single Row object at the specified row index.

16
New cards

tbl.apply(func, col1, col2, …)

A table method that calls a specified function on every value (or combination of values across rows) of the specified column(s) and returns an array of results.

17
New cards

Categorical Variable

A variable whose values represent discrete categories or labels (e.g., zip codes) for which taking a numerical average is not meaningful.

18
New cards

Numerical Variable

A quantitative variable representing measurements or counts for which arithmetic operations like calculating an average are meaningful.

19
New cards
<p>Scatter Plot</p>

Scatter Plot

A visualization that displays the relationship between two numerical variables, where each point represents an individual observation.

20
New cards
<p>Line Plot </p>

Line Plot

A visualization displaying the relationship between two numerical variables, typically used for tracking chronological trends or sequential data over time.

21
New cards
<p>Bar Chart</p>

Bar Chart

A visualization used for categorical data that displays categories on the y-axis, numerical counts on the x-axis, equal bar widths, and spaces between bars.

22
New cards

Histogram Bin Area

In a density histogram, the area of a bin is calculated as width×height\text{width} \times \text{height} and represents the percentage of data points in that bin.

23
New cards

Histogram Density Units

The unit of measurement on the y-axis of a density histogram, defined as percent per unit of the x-axis numerical variable.

24
New cards

Histogram Bin Bounds

The convention where histogram bins include their lower bound and exclude their upper bound [L,R)[L, R), with the exception of the last bin which includes both bounds.

25
New cards
<p>Overlaid Histogram</p>

Overlaid Histogram

A plot that overlays multiple histograms to compare the distribution of a numerical variable across different categories.

26
New cards

Return Statement

A statement inside a Python function that outputs a usable value back to the caller, distinct from a print statement which only displays output.

27
New cards

Local Scope

The rule stating that variables defined inside a Python function exist and can only be accessed from within that function.