Search the School
27 results for «Average causal effect»
Lessons (7)
- Interventions, the do-Operator and AdjustmentObservation versus intervention P(Y \mid X = x): P(Y \mid do(X = x)): (0,0) 0.1, (0,1) 0.5, (1,0) 0.3, (1,1) 0.7. Average causal effect \mathrm{ATE} = \mathbb E[Y \mid do(X = 1)] -…
- Causal Graphs, Confounding and Simpson's ParadoxCorrelation does not imply causation: No: A/B tests Randomization cuts every arrow into the treatment, removing confounding, which is why it is the gold standard. Out-of-distribution general…
- CorrelationPearson's correlation coefficient is a normalized covariance between −1 and 1 that measures the strength and direction of a linear relationship; we discuss its limits and the difference betw…
- Random Walks and DiffusionA random walk is a sum of independent steps; its mean grows linearly with n and its variance also grows linearly, so its standard deviation grows like √n, and its continuous limit is Brownia…
- Expected ValueThe expected value is a probability-weighted average, and its linearity makes it a powerful tool; the loss we train on is an empirical estimate of an expected value. The expected value of a…
- Loss FunctionsRegression Predicting prices or temperatures with an MSE or Huber loss. Classification Classifying images and text with cross-entropy after Softmax. Language models They are trained on the c…
- Descriptive StatisticsMeasures of central tendency Arithmetic mean: \bar x = \frac{1}{n}\sum_i x_i. Median: The middle value after sorting, or the average of the two middle values if n is even. Mode: The most…
Concepts (5)
- Average Treatment EffectThe difference in expected outcome between imposing the treatment on everyone and not imposing it. 0.5 − 0.3 = 0.2
- MeanThe sum of the values divided by their count; it is sensitive to outliers. (2, 4, 9) → 5
- Causal GraphA directed acyclic graph whose arrows represent direct causal relationships. X ← Z → Y
- Mean Squared ErrorThe average of the squared differences between the true and predicted values. MSE = 0.375 in the example
- Mean Absolute ErrorThe average of the absolute differences; it is less affected by outliers. MAE = 0.5 in the example
Tracks (1)
Labs (1)
Terminology (5)
- Average Treatment EffectThe expected difference in outcome between treatment and no treatment.
- MeanThe sum of the values divided by their count.
- Causal GraphA directed acyclic graph representing causal relationships.
- Matrix TraceThe sum of the main diagonal entries; it equals the sum of the eigenvalues. tr [[2,1],[1,2]] = 4
- Mean Squared ErrorThe average of the squared differences between the true and predicted values.
Questions (8)
- In the example, what is the average treatment effect (ATE)?In the example, what is the average treatment effect (ATE)?
- Approximately what fraction of values lies within two standard deviations of the mean in the normal distribution? (decimal with two places)Approximately what fraction of values lies within two standard deviations of the mean in the normal distribution? (decimal with two places)
- A batch of shape \((32, 10)\). How many elements are in the result of the mean over axis 0 (the batch axis)?A batch of shape (32, 10). How many elements are in the result of the mean over axis 0 (the batch axis)?
- Bagging 10 completely independent models, each with variance 0.2, by averaging them. What is the variance of the average?Bagging 10 completely independent models, each with variance 0.2, by averaging them. What is the variance of the average?
- What is the mean of the data \((4, 8, 6, 5, 3, 7, 9, 6)\)?What is the mean of the data (4, 8, 6, 5, 3, 7, 9, 6)?
- What is the mean of the data \((2, 3, 3, 5, 7, 8, 9, 30)\)?What is the mean of the data (2, 3, 3, 5, 7, 8, 9, 30)?
- The median is more robust to outliers than the mean.The median is more robust to outliers than the mean.
- What happens to the median and the mean if the largest value in the data is multiplied by 100?What happens to the median and the mean if the largest value in the data is multiplied by 100?
