BIOS 600 Exam 1

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/83

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 10:05 PM on 9/21/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

84 Terms

1
New cards

View()

allows you to view dataframes in a spreadsheet format

2
New cards

glimpse()

shows you an overview of the dataframe - the columns and first few rows

3
New cards

names()

returns a list of variable/column names

4
New cards

getwd()

returns the path for your working directory

5
New cards

YAML

sets the document details -> name, format, date

6
New cards

install.packages()

installs a package to the first time onto your computer

7
New cards

library()

loads a package in your workspace

8
New cards

ggplot()

initializes data visualization object with ggplot2

9
New cards

tidyverse

collection of R packages that have common grammar and data structure

10
New cards

geom_point()

makes a scatterplot

11
New cards

geom_boxplot()

makes a boxplot

12
New cards

geom_bar()

makes a bar chart

13
New cards

geom_line()

makes a line graph

14
New cards

labs()

sets labels

15
New cards

size

sets the variable to determine size of points

16
New cards

color

sets the variable to determine color

17
New cards

alpha

sets the transparency

18
New cards

fill

sets the color

19
New cards

#| warning: false

suppresses warnings that result from code

20
New cards

#| message: false

suppresses messages that result from code

21
New cards

filter()

filters to rows matching certain criteria

22
New cards

slice()

pick rows using an index/range of indeces

23
New cards

distinct()

filters for unique rows

24
New cards

select()

chooses variables by name

25
New cards

arrange()

orders rows by a certain value, ascending is default--use desc() for descending

26
New cards

summarize()

creates a new variable and displays summary statistics

27
New cards

group_by()

groups observations by a variable

28
New cards

mutate()

creates a new variable

29
New cards

sample_n()

takes a random sample with n observations

30
New cards

sample_frac()

takes a random sample of a fraction of observations

31
New cards

case_when()

creates a set of conditions/formulas for defining new variables

32
New cards

|>

pipes the previous row into the next- used output of one row as input for next

33
New cards

na.rm = T

removes NA values

34
New cards

dibinom(______)

k, size=n, prob=p

35
New cards

dipois(_____)

x=k, lambda=λ

36
New cards

Representative Sample

characteristics of the sample are similar to that of the population

37
New cards

Generalizability

extent that results form a sample can be used to draw conclusions about a population

38
New cards

Probability Sample

all units have a known probability of being selected

39
New cards

Simple Random Sample

every individual has an exact, equal, and independent chance of being chosen

40
New cards

Stratified Sample

a sample drawn in such a way that known subgroups within a population are represented in proportion to their numbers in the general population

41
New cards

Cluster Sample

obtained by selecting all individuals within a randomly selected collection or group of individuals

42
New cards

Non-Probability Sample

some units can't be selected or there is no way of knowing the probability of selecting any individual

43
New cards

Quota Sample

selecting individuals until a specific number is met

44
New cards

Convenience Sample

only members of the population who are easily accessible are selected

45
New cards

Snowball Sample

a sample in which respondents are asked to identify additional members of a population

46
New cards

Experimental Studies

researchers control exposure/treatment

47
New cards

Observational Studies

exposures/treatments are not assigned by the researchers

48
New cards

Selection Bias

the sample is not representative of the population being studied

49
New cards

Reporting Bias

the tendency to under-report available info

50
New cards

Non-Response Bias

bias introduced to a sample when a large fraction of those sampled fails to respond

51
New cards

Attrition Bias

occurs when participants drop out of a long-term experiment or study

52
New cards

Falsified Data

Data that are fabricated, or made up, by researchers intentionally trying to pass off research results that are inaccurate. This is a serious ethical breach and can even be a criminal offense.

53
New cards

Why is transparency important in research?

to uphold integrity, promote trust, and prevent harm

54
New cards

Reproducibility

being able to use the original data and methods/code to get the same results

55
New cards

Replicability

being able to independently repeat a study with the same methods with new data

56
New cards

Exploratory Data Analysis

summarizes a dataset main characteristics to help you get familiar with the data and identify and data quality issues

57
New cards

Nominal Categorical Data

named categories with no numeric meaning

58
New cards

Ordinal Categorical Data

ordered categories with relative comparisons

59
New cards

Count or Rank Numerical Data

e.g. number of drinks consumed

60
New cards

Continuous Data

measurable quantities that can take on any value

61
New cards

Parameters

describe a population

62
New cards

Statistics

describe a sample

63
New cards

Frequentist

probability is defined by the frequency of an event

64
New cards

Bayesian

probability as a measure of certainty about an event, updates as information becomes available

65
New cards

Probability Space

models random experiments or real world random events

66
New cards

Sample Space

set of all possible outcomes

67
New cards

Event

any possible number of outcomes (subset of sample space)

68
New cards

Disjoint/Mutually Exclusive

P(A or B) = P(A) + P(B)

69
New cards

Complement Rule

P(Ac) = 1 - P(A)

70
New cards

Komolgorov Axioms

1. Probability of any event occurring in the sample space is between 0 and 1

2. Probability of the whole sample space is 1

3. If A and B are disjoint, P(A or B) = P(A) + P(B)

71
New cards

Independence

P(A and B) = P(A) x P(B)

72
New cards

Prevalence

% of people with a condition

73
New cards

Sensitivity

true positive rate

74
New cards

Specificity

true negative rate (1 - false positive rate)

75
New cards

Positive Predictive Value

The probability that subjects with a positive test truly have the disease.

76
New cards

Negative Predictive Value

The probability that a person with a negative test result is truly disease free

77
New cards

Discrete Probability Distributions

1. outcomes are disjoint

2. probability of each outcome is between 0 and 1

3. sum of probabilities of all outcomes is 1

78
New cards

Bernoulli Distribution

binary outcomes with probability of success = p

79
New cards

Binomial Distribution

1. fixed number of Bernoulli trials

2. outcomes are independent

3. probability of success p is the same for each trial

80
New cards

Poisson Distribution

1. within any interval, k can take on any value 0,1,2...infinity

2. each event occurs independently

3. the average rate that events occur in an interval is constant

4. two events can't occur simultaneously

81
New cards

Expected Value

weighted avg of possible outcomes

Bernoulli: p

Binomial: np

Poisson: lambda

82
New cards

Variance

expected spread of values around the expected value

Bernoulli: p(1-p)

Binomial: np(1-p)

Poisson: lambda

83
New cards

Continuous Probability Distributions

given by a probability density function with are under the curve = 1 -- described for ranged or values

84
New cards

z-score

z=(x-mu)/sigma --> tells us how many population standard deviations an observation is away from the population mean