1/146
TB-1 Uni Bristol MSc Medical Statistics
Outcome for iTH observation
Yi
Variable for the iTH observation
Xi
Correlates both with the independent predictor variable and the dependent outcome variable
Confounder variable
Equation for sum of least squares
(yi-(B0 + B1xi))^2
Intercept parameter (the average value of your when x=0)
B0
Slope of the line
B1
Equation for slope of the line
y=mx+b
the average change in y for a one-unit increase in x
Slope of the line
RCT
Randomised Controls Trials
Discrete
Take particular numerical values
Continuous
Takes numbers from a range
Binary
Yes or No (0:1) variables
Unordered (nominal)
A number where no set order is implied
Ordered (ordinal)
Has a natural ordering (stages of condition, etc.)
Numerical
Contains Discrete or Continuous numbers
Categorical
Contains Binary, Unordered, or Ordered numbers
Marginal probability
The number is irrespective of the outcome of a separate trial
Conditional probability
Is dependent on another property
Sample space
denoted by omega; set of all possible outcomes
Variance
The range of all possible values (focuses on mean, median, min, max, and quantiles)
Additive rule
Subsections of data that can be added to fulfil our standard
Joint probability
The probability that two trials result in a particular combination of outcomes
Multiplicative rule
The probability is given by the product of a conditional and corresponding marginal property
Bayes' rule
Theorem to calculate the probability of an event occurring given that we have observed some evidence
The probability of A given B
P(A|B)
The probability of B given A
P(B|A)
Bayes' rule equation
P(A|B) = P(B|A)*P(A)/P(B)
The probability of A and B
P(A ი B)
Equation for P(A ი B)
P(A|B)/P(B)
Binomial distribution
n!/(n-x)!x!
Standard error
SD/sqrt(N)
Degrees of freedom
(n1-1) + (n0+1)
Weak evidence against null hypothesis
0.1
Increasing evidence against null hypothesis
0.01
Strong evidence against null hypothesis
0.001
The Bernoulli equation
E[X] = π
Var[X] = π(1-π)
Binomial distribution
X~Bin(n, π)
P (X = k) = (n choose k)n^k(1-π)^n-k
In a binomial distribution, what do n, π and k represent?
n = number of trials
π = probability of success
k = desired outcome
Normal distribution: probability density function
f(x) = 1/sqr(π
In deriving the variance of the binomial random variable, what is step 1?
See Image

In deriving the variance of the binomial random variable, what is step 2?
See image

In deriving the variance of the binomial random variable, what is step 3?
See image

Disease derives from
lack of ease
Cohort study
a type of observational study that follows a group of individuals over time to measure outcomes, typically comparing those with a certain exposure to those without.
Case-controlled study
A type of observational study where two groups differ in outcome but share similar backgrounds, used to identify factors associated with a specific outcome.
Cross-sectional study
A type of observational study that analyzes data from a population at a specific point in time, providing a snapshot of variables and outcomes.
Ecological study
A type of observational study that examines data at the population or group level rather than individual level, often used to assess associations between exposure and outcome among different populations.
Advantages for cohort studies
Clarity of temporal relationships, ability to measure multiple outcomes from an exposure, and typically less bias compared to other studies.
Disadvantages for cohort studies
Possible loss to follow-up, higher costs and time commitment, and challenges in controlling for confounding variables.
Advantages for case-controlled studies
Cost-effectiveness, quick to conduct, and suitable for studying rare diseases or outcomes.
Disadvantages for case-controlled studies
Potential recall bias, difficulty in establishing temporal relationships, and limited ability to analyze multiple exposures.
Advantages to cross-sectional studies
They provide a snapshot of data at a single point in time, are relatively quick and inexpensive to conduct, and are useful for assessing prevalence and generating hypotheses.
Disadvantages to cross-sectional studies
They can show associations but not causation, may suffer from lack of follow-up and follow-up incentives and do not provide information on the temporal sequence of events.
Advantages to ecological studies
They allow researchers to analyze data at the population level, can utilize existing data sources, and are cost-effective for examining associations and trends across groups.
Disadvantages to ecological studies
They can be influenced by ecological fallacy, which occurs when associations observed at the group level do not apply to individuals. They also may lack individual-level data, limiting the ability to draw causal conclusions.
Outcome
The variable we are trying to understand.
Exposure
The variable factors that influence the occurrence of the outcome we want to understand.
Prognosis
Probability of future conditions.
Diagnosis
Probability of result of a current conclusion.
Marginal probability
A statistical measure that describes the relationship between a single variable and the overall distribution of that variable, often used in the context of probability and data analysis.
Conditional probability
The probability of an event occurring given that another event has already occurred. It is often represented as P(A∣B), indicating the likelihood of event A given event B.
Sample space
The set of all possible outcomes in a probability experiment. It encompasses every event that can result from the experiment.
Binomial distribution
A probability distribution that describes the number of successes in a fixed number of independent Bernoulli trials, each with the same probability of success. It is defined by the parameters n (number of trials) and p (probability of success).
Standard error difference calculation
The square root of the standard error of condition 1 (squared) + condition 2 (squared).
Degrees of freedom
(n1 - 1) + (n0-1)
One-tailed test
We would only accept deviations in one direction from null value (B0).
Two-tailed test
We would accept deviations from either direction of the null value (B0)
Priori
Pre-specified hypotheses and analyses
Dispersion
Range of how our data is spread
Tertiles
Our ordered data split into three sections
Quartiles
Our ordered data split into four sections
Probability mass function
A function that gives the probability that a discrete random variable is exactly equal to some value. It is defined for all possible values of the random variable.
Cumulative distribution function
A function that describes the probability that a random variable takes on a value less than or equal to a specific value, often denoted as F(x). It is the integral of the probability density function for continuous random variables.
In the probability mass function of X~Bin(n, 𝜋), the left side is
p(k) = P(X=k); The probability that you get exactly k successes.
In the probability mass function of X~Bin(n, 𝜋), the right side is
(n choose k) × π^k × (1 − π)^(n−k); the desired outcome (k) chosen from the number of trials (n) multiplied by the probability of success on each trial(π)…… and the probability of failure on each trial (1 − π). This equation calculates the probability of obtaining exactly k successes in n independent Bernoulli trials.
Incident cases
New diagnoses of the disease.
Incidence
The rate at which new events occur in a population/the rate at which people newly develop disease.
Incidence rate
Number of new cases/(number initially disease free * time interval).
Internal validity
Freedom from bias which depends on:
How good measurement are
How representative the studied sample is of our target population.
External validity
Relevance of target population to those we’re interested in. Asks are we studying the right group of people?
Central limit theorem
States that the distribution of the sample mean approaches a normal distribution as sample size increases, regardless of the population's distribution.
For the central limit theorem to apply
The sample size needs to be sufficiently large, typically greater than 30, to ensure that the sampling distribution of the mean is approximately normal.
Sampling mean
The mean of the sampling distribution is equal to the population proportion.
Interval estimates
Tell us about the range of likely values for a population parameter.
The number that sample numbers must be greater than to not be considered small
60
Normal distribution
is a probability distribution that is symmetric about the mean, showing that data near the mean are more frequent in occurrence than data far from the mean. It is characterized by its bell-shaped curve.
Standard normal distribution
is a normal distribution with a mean of 0 and a standard deviation of 1. It serves as a reference for normal distributions and is used in statistical calculations.
Log-normal distribution
is a probability distribution of a random variable whose logarithm is normally distributed. It is often used to model variables that are strictly positive and have a right-skewed distribution.
Poisson distribution
is a discrete probability distribution that expresses the probability of a given number of events occurring in a fixed interval of time or space, given that these events occur independently of each other at a constant rate.
Uniform distribution
is a type of probability distribution in which all outcomes are equally likely within a defined range. It is characterized by a constant probability density function.
Covariance
Measures the “joint variability” of two variables
cov(X,X) is equal to
var(X)
cov(X,Y) is equal to
cov(Y,X)
cov(X+a, Y+b) is equal to
cov(X,Y)
Correlation is equal to
Cov(X,Y)/sqr(var(x)var(y))
Correlation
Covariance rescaled by variance of X and Y