Mediator and moderator
Open question 7.3: network contacts are the mediator (indirect effect), firm type is the moderator (interaction effect).
Odds, level and the reason for every topic.
No topics at this level in this module.
Open question 7.3: network contacts are the mediator (indirect effect), firm type is the moderator (interaction effect).
Practice exam 1.1 asks which statement about causal relationships is correct; a strong correlation does not prove causation.
Open question 7.3 asks you to name the role of variables in the causal relationship scheme.
Open question 7.3: formulate a testable hypothesis and the corresponding null hypothesis.
Practice exam 1.3 tests nominal, ordinal and quantitative (continuous and discrete); 1.2 asks about the ordering of nominal categories.
Open question 7.3 part 3: without hypotheses in advance you find relationships by chance (data dredging) and nothing guides data collection.
Practice exam 1.4: probability of a delivery time above 8 days with mean 5 and standard deviation 1.5 (z = 2, about 2.5%).
Practice exam 1.1 option C: the assumed effect variable influences the assumed cause.
Practice exam 1.2: a model is a simplified representation of reality; a construct need not be directly observable.
Function 1 on the list of 18 R functions: summary() or describe(); mean above median points to right skew. Quiz 2.1 asks this.
Background on distributions for binary outcomes or counts; not in the practice exam.
No topics at this level in this module.
The exam does not ask for R code but does ask you to interpret R output; 18 R functions are on the list. Learn to read summary, cor, t.test, aov, chisq.test, lm, glm.
Practice exam 2.4: volunteers at a workshop give a convenience sample and selection bias. Open question 7.2 asks for concerns about bias and representativeness.
Open question 7.2 part 4 (3 points) asks how internal and external validity affect the conclusions. Quiz 2.1 asks for a situation with low external validity.
Practice exam 2.1: first dividing by department and then sampling within each is stratified sampling.
Practice exam 2.2: for a rising but non-linear relationship Spearman's rank correlation fits.
Practice exam 2.3 statement 2: a third variable affecting X and Y produces a spurious correlation; controlling can reduce the correlation.
Practice exam 2.3 statement 1: partial correlation measures the association between X and Y after controlling for Z.
On the formula sheet (t* or z*) and returns in the t.test output of practice exam 3.3; quiz 2.1 asks the correct interpretation.
Both formulas are on the formula sheet; quiz 2.2 and the module 2 final quiz have you compute r from Cov and standard deviations (120 / (20 x 10) = 0.6).
Underpins confidence intervals and tests; appears in quiz 2.1 and the module 2 final quiz.
No topics at this level in this module.
Practice exam 3.1: p = 0.01 means a 1% chance of an outcome at least as extreme if H0 is true. Open question 7.2 asks you to interpret p-values.
Practice exam 3.3: reads a paired t.test output (t = 1.95, p = 0.0661, CI contains 0) and draws the conclusion at alpha 0.05.
Practice exam 3.4: one-way ANOVA over three stores (F = 5.32, p = 0.0066); conclusion is that at least two stores differ, not which.
Practice exam 3.5: an equal split over 7 weekdays calls for the goodness-of-fit test; chi-square is also on the formula sheet.
Practice exam 3.2: rejecting H0 when there is no effect is a Type I error (false positive).
Practice exam 3.6: a Likert scale consists of several items that together measure a construct and are combined into a composite score.
Practice exam 3.3: p = 0.0661 at alpha 0.05 means maintaining H0, which does not prove there is no effect.
The formula is on the formula sheet; the module 3 final quiz asks you to interpret alpha from psych::alpha.
The z formulas (one-sample, two-sample, proportion) are on the formula sheet and are thus computed; quiz 3.2 has you compute z.
Function 11 on the list of 18 R functions; note that pt() gives the left tail by default, so 1 - pt() for a right-tail p-value.
No topics at this level in this module.
Practice exam 4.1: converting to numeric without checking turns text values like 18C into NA.
Practice exam 4.2: outliers must be investigated; removing them does not always improve a model.
Practice exam 4.1 correct answer: the inconsistencies were not resolved before the conversion.
Practice exam 4.2 statement 3: a log transformation can reduce the influence of extreme values.
Module 4 names three routes, each with a risk: imputation can introduce bias, deletion only for a small fraction.
Practical R material from the Divvy assignment; not in the practice exam.
Normalization scales to [0, 1], standardization to z-scores; not in the practice exam.
No topics at this level in this module.
Practice exam 5.3: -4.100 in thousands of euros means EUR 4,100 lower sales per extra competitor, other variables equal. Open question 7.2 asks this too.
Practice exam 5.4: R-squared = 0.4712 means 47% of the variance in sales between stores, not 47% of sales. Open question 7.2 asks about model fit.
Practice exam 6.1 (Urban) and 7.1 (Home owner) ask dummy coefficients relative to the reference category. The module 5 quiz asks the gender dummy.
Practice exam 5.2: OLS minimizes the sum of squared residuals (SSR on the formula sheet).
Practice exam 5.6: an omitted variable related to Y and to an included X biases that X's coefficient.
Practice exam 5.1: the error term holds unobserved factors, which OLS assumes uncorrelated with the predictors.
Practice exam 5.5: raw coefficients depend on measurement units and p-values say nothing about effect size; compare standardized coefficients.
Practice exam 5.7: positive Age and negative Age-squared give an inverted U; both terms are significant.
The formula is on the formula sheet; practice exam 5.4 option D mentions R-squared falling with an extra predictor (only adjusted R-squared can fall).
Function 7 on the list of 18 R functions and a question in the module 5 quiz: H0 is that all betas in the block are zero.
The summary(lm) output in practice exam 5.3-5.5 shows the F-statistic; H0 is that all coefficients except the intercept are zero.
The module 5 quiz asks what rooms*region includes in a formula (both main effects plus the product).
The module 5 quiz asks ACME and the proportion mediated; total effect is direct plus indirect effect.
The module 5 quiz asks for a multicollinearity situation; the dummy trap (including all categories) gives perfect multicollinearity.
No topics at this level in this module.
Practice exam 6.1 and open question 7.1 (9 points) give glm output to interpret in business language, including significance.
Open question 7.1 part 2: from TP 30, FP 20, FN 50, TN 700 follow accuracy 730/800 = 91.25% and sensitivity 30/80 = 37.5%.
Open question 7.1 part 3: 91% accuracy hides that the model finds only 37.5% of the acceptors (50 of 80 missed).
Practice exam 6.2: 0.5 is not 0.5 percentage points; it is a change in log-odds. For glm you read only sign and significance directly.
Practice exam 6.1: per EUR 1,000 extra income the odds are multiplied by e^0.015, about 1.015. In 7.1 e^1.0986 = 3 for KoophuisJa.
Practice exam 6.6: a test set shows how well the model generalizes and detects overfitting.
Practice exam 6.7: of all predicted churners the share that really churn is precision (TP / (TP + FP)).
Practice exam 6.3: the model with the highest AUC on the same test set separates the classes best; a lower AUC is not overfitting.
Practice exam 6.6 asks why you split; judge the model on data it has not seen.
Practice exam 6.5: the link to the probability is non-linear and the error variance depends on the predicted probability.
Practice exam 6.4: the properties hold as the sample grows, not in small samples; the log-likelihood is on the formula sheet.
AIC = 2k - 2 ln(L) is on the formula sheet and the glm output of 7.1 shows AIC 486.33; lower is better when comparing models.
The formula is on the formula sheet; with the deviances from 7.1, 1 - 478.33 / 520.61 = 0.081.
Practice exam 7.1 uses threshold 0.5 for the confusion matrix; another threshold shifts sensitivity and precision.
A more flexible model fits the training data better (less bias) but generalizes less stably (more variance); not in the practice exam.