Quantitative & Qualitative Data Analysis

Chapter 5
Regression, Generalized Models and Multivariate Analysis

Doctorate in Information Technology
Quantitative & Qualitative Data Analysis   •   Doctorate

Chapter 5: Regression, Generalized Models and Multivariate Analysis

1. Introduction

Information technology produces data that are large, fast, heterogeneous, and often dependent on complex organizational and human processes. Examples include application response times, cybersecurity incidents, software-defect counts, cloud-resource consumption, user retention, help-desk outcomes, and sensor observations from distributed infrastructures. Descriptive statistics alone may reveal patterns, but doctoral-level inquiry generally requires methods that explain relationships, estimate effects, predict outcomes, and support defensible decisions.

Regression and multivariate analysis provide a principled framework for these purposes. Regression models relate one or more explanatory variables to an outcome. Generalized linear models extend ordinary regression to binary, count, proportion, and other non-normal outcomes. Analysis of variance and covariance compare groups while controlling for relevant variables. Multivariate methods examine several outcomes or predictors simultaneously, reduce dimensionality, identify hidden structures, classify observations, and discover groups.

These techniques are not merely computational procedures. They are ways of representing assumptions about measurement, causation, uncertainty, and decision-making. A statistically significant association is not automatically causal; a highly accurate classifier may reproduce historical discrimination; and a model with many variables may be less useful than a simpler, interpretable alternative. Consequently, analysis must combine statistical reasoning, substantive IT knowledge, diagnostic evaluation, ethical reflection, and transparent communication.

2. Learning Objectives

By the end of this chapter, the reader should be able to:

1. Explain the purposes, assumptions, and limitations of regression and multivariate techniques.

2. Formulate linear, generalized linear, mixed-effects, survival, and multivariate models for IT research problems.

3. Diagnose nonlinearity, heteroscedasticity, dependence, multicollinearity, influential observations, and model misspecification.

4. Select and interpret ANOVA, MANOVA, dimension-reduction, clustering, classification, and discriminant-analysis methods.

5. Design a reproducible analytical workflow involving validation, uncertainty quantification, and sensitivity analysis.

6. Critically evaluate fairness, privacy, governance, and managerial implications of quantitative models.

3. Meaning and Concept

Regression is a family of methods for estimating how an outcome changes in relation to explanatory variables. In a simple linear model, the conditional mean of an outcome is represented as a straight-line function of a predictor. Multiple regression permits several predictors and allows adjustment for confounding variables, interaction effects, and nonlinear transformations.

The distinction between prediction and explanation is fundamental. A predictive model seeks accurate performance on future or unseen cases. An explanatory model seeks interpretable estimates that are consistent with a theoretical or causal argument. The same variable can improve prediction without being a useful intervention target. For example, a user’s previous cancellation may predict future cancellation, but changing that historical event is impossible. Conversely, a service-quality variable may be strategically actionable even if its predictive contribution is modest.

Multivariate analysis refers broadly to methods involving multiple variables jointly. In a narrow sense, multivariate regression models several dependent variables at once. In a broader sense, it includes principal component analysis, factor analysis, clustering, classification, canonical correlation, multidimensional scaling, and related techniques. These methods address questions such as: Which dimensions summarize thousands of telemetry measures? Are there distinct customer or attack profiles? Can an incident be assigned to a severity class? Do several service outcomes differ across deployment architectures?

4. Fundamental Principles

4.1 Measurement and data-generating processes

The analysis begins with the measurement process. Variables must be defined operationally, and their scales must be understood. A nominal variable identifies categories; an ordinal variable expresses ordered levels; an interval variable has meaningful differences; and a ratio variable also has a meaningful zero. Treating categories as numerical values without justification can produce misleading results.

The analyst should identify the unit of analysis, such as a request, user, organization, device, project, or time period. A common error is pseudoreplication: treating repeated observations from the same device or user as independent. Dependence affects standard errors, confidence intervals, and significance tests.

4.2 Association, prediction, and causality

Regression coefficients describe conditional associations under the specified model. Causal interpretation requires additional assumptions concerning temporal ordering, confounding, selection, interference, and measurement. Randomized experiments provide strong protection against confounding, whereas observational IT data generally require design strategies such as matching, fixed effects, instrumental variables, regression discontinuity, difference-in-differences, or carefully justified adjustment sets.

4.3 Uncertainty

An estimate is incomplete without an indication of uncertainty. Standard errors, confidence intervals, prediction intervals, posterior distributions, bootstrap intervals, and cross-validation variability convey different forms of uncertainty. A confidence interval concerns a parameter under repeated sampling; a prediction interval concerns a future observation and is usually wider.

4.4 Parsimony and validation

A model should be sufficiently complex to represent important structure but not so complex that it memorizes noise. Overfitting occurs when a model performs well on training data but poorly on new data. Validation requires separation of training, validation, and test information, preferably through resampling that respects time, groups, or other dependencies.

4.5 Assumptions as diagnostic questions

Assumptions should not be treated as rituals. Instead, analysts should ask whether errors are independent, whether the functional form is appropriate, whether the outcome distribution is correctly represented, and whether influential cases dominate conclusions. Diagnostics should combine plots, statistical tests, subject-matter knowledge, and sensitivity analyses.

5. Major Components / Elements

5.1 Ordinary least-squares regression

The multiple linear model is commonly written as:

\[Y_i = \beta_0 + \beta_1X_{1i}+\cdots+\beta_pX_{pi}+\epsilon_i.\]

Here, \(Y_i\) is the outcome, the \(X\)'s are predictors, the \(\beta\)'s are parameters, and \(\epsilon_i\) is an error term. Ordinary least squares estimates coefficients by minimizing the sum of squared residuals. A coefficient represents the expected change in the outcome associated with a one-unit increase in a predictor, holding other included predictors constant.

Important extensions include polynomial terms, splines, logarithmic transformations, categorical predictors, and interaction terms. An interaction means that the effect of one predictor depends on the level of another. For example, the effect of automation on deployment time may differ between small and large development teams.

5.2 Generalized linear models

Generalized linear models (GLMs) contain a random component, a systematic component, and a link function. Logistic regression models the log-odds of a binary outcome, such as whether an intrusion alert is a true incident. Poisson or negative-binomial regression models event counts, such as the number of software defects. Gamma models can represent positive, right-skewed durations or costs. Binomial models can represent successes out of a known number of trials.

In logistic regression,

\[\log\left(\frac{p_i}{1-p_i}\right)=\beta_0+\beta_1X_{1i}+\cdots+\beta_pX_{pi}.\]

The exponential of a coefficient is an odds ratio. Interpretation requires care: odds are not probabilities, and an odds ratio can exaggerate the apparent effect when the outcome is common.

5.3 Mixed-effects and hierarchical models

IT data frequently have nested structures: requests within servers, employees within departments, projects within firms, or daily observations within applications. Mixed-effects models include fixed effects for population-level relationships and random effects for group-specific deviations. They can model correlated observations and estimate variation between groups. Multilevel logistic, count, and survival models extend this logic to non-normal outcomes.

5.4 Time-to-event and survival models

Survival analysis concerns the time until an event, such as system failure, customer churn, or vulnerability remediation. Censoring occurs when the event has not been observed by the end of follow-up. The Kaplan–Meier estimator describes survival over time, while the Cox proportional-hazards model relates predictors to the hazard of an event. Proportional hazards must be assessed rather than assumed.

5.5 ANOVA, ANCOVA, and MANOVA

Analysis of variance (ANOVA) compares group means by partitioning variability into between-group and within-group components. Factorial ANOVA evaluates several categorical factors and their interactions. ANCOVA adds continuous covariates, potentially improving precision. MANOVA evaluates group differences across multiple correlated outcomes, such as latency, availability, and energy consumption simultaneously. Significant multivariate results should be followed by interpretable univariate analyses, effect sizes, and multiplicity control.

5.6 Dimension reduction

Principal component analysis (PCA) transforms correlated variables into orthogonal components that maximize explained variance. It is useful for visualization, compression, noise reduction, and creating composite predictors. Components are mathematical combinations, not automatically substantive constructs. Factor analysis instead models observed correlations as arising from latent factors plus unique error and is more directly connected to measurement theory. Standardization is often necessary when variables use different units.

5.7 Clustering

Clustering is an unsupervised process for grouping observations according to similarity. K-means partitions observations around centroids and is appropriate mainly for continuous variables with a meaningful distance metric. Hierarchical clustering creates a tree of nested groups. Density-based methods can identify irregular clusters and noise. Cluster labels are not natural facts; they depend on variables, scaling, distance, algorithm, and selected number of clusters. Stability and substantive usefulness should therefore be examined.

5.8 Classification and discriminant analysis

Classification assigns observations to known categories. Logistic regression, decision trees, random forests, gradient boosting, support-vector machines, and neural networks are common approaches. Linear discriminant analysis assumes class-specific multivariate normal distributions with a common covariance matrix; quadratic discriminant analysis allows class-specific covariance matrices. Performance should be evaluated with a confusion matrix, sensitivity, specificity, precision, recall, F1 score, calibration, and—where appropriate—ROC or precision–recall curves.

6. Process / Framework / Methodology

A defensible analysis follows a sequence, although iteration is expected.

First, formulate the research or decision question. Specify the outcome, target population, time horizon, unit of analysis, and whether the goal is explanation, estimation, prediction, description, or discovery.

Second, design the data structure. Establish variable definitions, measurement timing, inclusion criteria, missing-data rules, and links across systems. Prevent leakage: information unavailable at the time of prediction must not enter the model.

Third, explore the data. Examine distributions, missingness, outliers, dependence, group imbalance, correlations, and temporal patterns. Use visualizations such as residual plots, scatterplots, heat maps, empirical survival curves, and dimensionality-reduction maps.

Fourth, specify candidate models. Use theory and operational knowledge rather than automated selection alone. Define transformations, interactions, random effects, offsets for count models, and clinically or operationally meaningful thresholds before examining outcomes where possible.

Fifth, estimate and diagnose. Assess residual behavior, calibration, discrimination, goodness of fit, multicollinearity, influential observations, proportional-hazards assumptions, and cluster stability. Variance-inflation factors can signal collinearity, but they do not replace substantive judgment.

Sixth, validate. Use holdout data or cross-validation. For time-dependent data, use rolling-origin or forward-chaining validation. For grouped data, split by group to prevent records from the same entity appearing in both training and test sets.

Seventh, quantify uncertainty and sensitivity. Report intervals, alternative specifications, missing-data analyses, threshold sensitivity, subgroup performance, and robustness to influential cases.

Eighth, communicate and govern. Translate results into operational implications without overstating causality. Document data provenance, code, model versions, assumptions, limitations, and approval responsibilities.

7. Important Theories and Models

The classical linear model relies on linearity in parameters, independent errors, appropriate variance assumptions, and adequate measurement. Normality of errors is mainly important for small-sample inferential procedures, not for the unbiasedness of least-squares coefficients itself. Heteroscedasticity can be addressed through transformations, weighted least squares, robust standard errors, or a distributional model that represents changing variance.

The bias–variance framework explains the trade-off between systematic error and sensitivity to sample-specific noise. Regularization methods address this trade-off. Ridge regression shrinks correlated coefficients toward zero; lasso can set some coefficients exactly to zero; and elastic net combines both penalties. Shrinkage can improve prediction but changes coefficient interpretation.

Generalized estimating equations focus on population-average effects for correlated data, whereas mixed-effects models emphasize subject- or group-specific variation. The choice depends on the research question.

Bayesian models combine prior information with a likelihood to produce a posterior distribution. They are valuable when data are sparse, hierarchical, or sequential, provided priors and computational procedures are transparent. Causal graphical models use directed acyclic graphs to represent assumptions about confounding and adjustment. They help distinguish mediators, confounders, colliders, and predictors that should not be controlled for in a particular causal analysis.

For multivariate outcomes, canonical correlation examines relationships between two sets of variables. Partial least squares is useful when predictors are numerous and highly collinear. Correspondence analysis represents associations among categorical variables. These methods should be selected because they answer a substantive question, not because they are technically sophisticated.

8. Practical Applications

Regression can estimate how cloud workload, memory allocation, and network traffic relate to response time. Logistic regression can estimate the probability that an alert is malicious. Count models can predict daily support tickets or vulnerabilities per release. Survival models can estimate time to service failure. ANOVA can compare deployment architectures, while MANOVA can compare them across several performance and cost outcomes.

PCA can summarize hundreds of monitoring indicators into a smaller set of operational dimensions. Clustering can segment customers by usage behavior or identify families of cyberattacks. Classification can prioritize incidents or predict whether a software change will require rollback. Discriminant analysis can classify organizations into maturity categories using multiple standardized indicators.

The choice of method must reflect the decision context. A security operations center may value high sensitivity, accepting more false positives. A scarce human-review process may instead prioritize precision. A safety-critical environment may require calibrated probabilities and conservative thresholds rather than the highest aggregate accuracy.

9. Examples

Suppose an organization studies application response time using CPU utilization, memory pressure, request complexity, and deployment type. A linear model may be appropriate after examining residuals and transformations. If observations are repeated hourly within applications, a mixed-effects model is preferable. If response time is strongly right-skewed, modeling its logarithm or using a suitable positive distribution may be justified.

Consider a defect dataset in which each release has a number of defects and a number of lines of code. A Poisson model with a log exposure offset can model defect rates; if the variance substantially exceeds the mean, a negative-binomial model may be better. Comparing only raw defect counts could unfairly penalize large releases.

For a binary phishing-detection outcome, a model should be assessed on unseen messages. Accuracy alone can be misleading when phishing is rare. Precision, recall, calibration, and subgroup performance should be reported, and threshold selection should reflect the cost of missed attacks and unnecessary investigation.

10. Technology and Digital Applications

Modern analytics platforms support reproducible statistical workflows through languages such as R and Python and libraries for modeling, visualization, and machine learning. SQL and distributed-processing systems enable feature construction from large event stores, while notebooks facilitate exploration. Containerization and workflow orchestration can make model environments repeatable.

Model registries and experiment-tracking systems record data versions, parameters, metrics, and artifacts. Monitoring systems can detect data drift, concept drift, calibration deterioration, and changes in subgroup performance. Explainability tools such as partial-dependence summaries, permutation importance, and local explanation methods can support review, but explanations are approximations and should not be mistaken for causal proof.

Technology does not remove methodological responsibility. Automated pipelines can reproduce an invalid target, leak future information, or institutionalize biased labels at scale.

11. Strategic / Managerial Importance

Regression and multivariate analysis support capacity planning, reliability engineering, product design, risk prioritization, workforce planning, and investment evaluation. Managers can compare alternatives while accounting for uncertainty rather than relying on isolated averages. Models also clarify trade-offs: reducing latency may increase infrastructure cost; tightening fraud thresholds may increase customer friction; and maximizing detection may overwhelm analysts.

However, managers should distinguish statistical significance from operational significance. A small but precisely estimated improvement may be irrelevant if implementation costs are high. Conversely, a practically important effect may have a wide interval because the available data are limited. Decision memos should therefore combine effect sizes, uncertainty, costs, constraints, and scenario analysis.

12. Detailed Case Study

The following is a fictional illustrative case.

Background

Northstar Digital Services operates a cloud platform for medium-sized retailers. It records request latency, infrastructure metrics, release information, customer support events, and service outages. Senior management wants to reduce outages without excessively increasing computing expenditure.

Problem

The operations team observes that outages appear more frequent after large releases. It is unclear whether release size itself is responsible, whether the pattern reflects traffic and architectural complexity, or whether a small number of applications dominate the result. Management requests a model to identify high-risk releases and recommend resource allocation.

Analysis

The research team defines a release as the unit of prediction and records whether an outage occurs within seven days. Predictors include changed-code volume, deployment frequency, automated-test coverage, recent incident history, peak traffic, service dependencies, and team experience. The data comprise repeated releases from the same applications, so random release-level splitting would cause leakage. The team instead uses application-level and time-aware validation.

Exploration reveals severe class imbalance and missing test-coverage values concentrated in older teams. A missingness indicator and multiple-imputation sensitivity analysis are considered. A mixed-effects logistic model is developed to account for application-level variation. A gradient-boosting model is also trained for prediction, with probability calibration assessed on a held-out period. Feature importance is interpreted cautiously because correlated predictors distribute importance across variables.

Diagnostics show that changed-code volume has a nonlinear association with risk. An interaction indicates that large changes are especially risky when dependency counts are high. The mixed model provides interpretable estimates and between-application variation; the boosting model improves recall but is less transparent. Neither model is used to claim that code volume causes outages, because release size may be related to unobserved project difficulty.

Strategy / Solution

Northstar adopts a two-stage policy. The interpretable model produces a risk score and explanation for release managers. A calibrated predictive model flags additional releases for review. The organization introduces staged deployment, additional integration testing, and temporary observability capacity for high-risk releases. It does not automatically block releases solely on the basis of a model score.

The governance plan requires quarterly recalibration, monitoring of false-negative rates across application types, review of proxy variables, and documentation of overrides. A quasi-experimental evaluation compares outage rates before and after the policy while adjusting for seasonal traffic and application fixed effects.

Outcome

After two quarters, the organization reports fewer severe outages and improved review prioritization. Infrastructure costs rise modestly during high-risk deployments, but the reduction in outage-related service credits exceeds the additional cost. Results remain uncertain because the intervention occurred alongside other reliability initiatives. Management therefore treats the findings as evidence of operational value, not as definitive proof that the model alone caused the improvement.

Learning Points

1. The unit of analysis and validation design must reflect repeated organizational data.

2. Prediction and causal explanation require different claims and evidence.

3. Class imbalance requires metrics beyond accuracy.

4. A simpler model may be preferable when decisions require explanation and contestability.

5. Monitoring and governance continue after deployment.

13. Advantages / Benefits

These methods can estimate adjusted relationships, improve forecasts, compare interventions, summarize high-dimensional data, identify heterogeneous groups, and support resource prioritization. They permit uncertainty quantification and can incorporate interactions, hierarchy, time, and non-normal outcomes. Multivariate techniques can reveal structure that would be invisible in one-variable-at-a-time analysis.

14. Limitations / Challenges

Results are vulnerable to poor measurement, missing data, selection bias, confounding, leakage, dependence, nonlinearity, class imbalance, and distribution shift. High-dimensional models may be unstable or difficult to interpret. Clusters can be artifacts of scaling or algorithmic choices. Multiple testing increases false discoveries. Complex models may create an appearance of precision while concealing weak assumptions. Computational power cannot compensate for a poorly defined research question.

15. Ethical and Governance Considerations

Analysts must examine whether data were collected lawfully and proportionately, whether individuals understood relevant uses, and whether sensitive attributes or proxies create discriminatory outcomes. Access controls, minimization, retention limits, encryption, and de-identification are important but do not eliminate re-identification risk.

Model governance should assign ownership, document intended use, define prohibited uses, preserve audit trails, and establish appeal and human-review procedures. Fairness should be evaluated using context-appropriate measures such as error-rate parity, calibration, equal opportunity, or subgroup utility. These criteria can conflict; selecting among them is a normative decision, not merely a technical one. Models should not be used to automate consequential decisions without impact assessment, monitoring, and a route for correction.

16. Current and Emerging Trends

Important developments include causal machine learning, Bayesian hierarchical modeling, conformal prediction, federated analytics, privacy-preserving computation, graph-based learning, and multimodal analysis combining logs, text, network structure, and sensor data. Automated machine-learning systems can accelerate model comparison, but human oversight remains necessary for target definition, validation, and governance.

Digital twins and streaming analytics increasingly connect statistical models to operational systems. Distribution-shift detection and continuous calibration are becoming essential as software, users, threats, and infrastructures change. There is also growing emphasis on uncertainty-aware artificial intelligence, interpretable modeling, and documentation standards for datasets and models.

17. Best Practices

1. Begin with a precise question and an explicit data-generating framework.

2. Define the unit of analysis, time point, outcome, and estimand before modeling.

3. Use theory and domain knowledge to select variables and plausible interactions.

4. Explore missingness, dependence, imbalance, outliers, and temporal structure.

5. Match the outcome distribution and link function to the measurement process.

6. Separate training, validation, and test information, respecting time and groups.

7. Report effect sizes, uncertainty, calibration, discrimination, and practical impact.

8. Use diagnostics and sensitivity analyses rather than relying on a single test.

9. Prefer interpretable models when decisions are consequential and explanations matter.

10. Document data, code, versions, assumptions, exclusions, and model changes.

11. Evaluate subgroup performance and potential harms before deployment.

12. Monitor models after implementation and define conditions for retraining or withdrawal.

18. Future Scope

Future research will increasingly combine causal inference with machine learning, enabling heterogeneous treatment-effect estimation while preserving design-based reasoning. Privacy-preserving federated methods may allow organizations to learn from distributed data without centralizing raw records. Real-time models will require stronger methods for sequential dependence, feedback, and concept drift. Research is also needed on uncertainty communication, human–AI decision teams, fairness under changing populations, and the governance of foundation models applied to quantitative analysis.

19. Chapter Summary

Regression and multivariate analysis provide tools for explanation, prediction, comparison, reduction, grouping, and classification in complex IT datasets. Linear regression is useful when its functional and variance assumptions are defensible; generalized models accommodate binary, count, proportion, and skewed outcomes; mixed-effects and survival models represent hierarchy and time-to-event processes. ANOVA and MANOVA compare groups, while PCA, factor analysis, clustering, classification, and discriminant analysis address structure and assignment.

Sound analysis depends on measurement quality, appropriate design, diagnostics, validation, uncertainty, and ethical governance. No algorithm can substitute for a clearly defined question or justify causal claims unsupported by the research design. The most valuable models are those that are statistically credible, operationally useful, transparent about limitations, and monitored throughout their life cycle.

20. Key Terms

1. Regression: A method for relating an outcome to one or more explanatory variables.

2. Ordinary least squares: Estimation that minimizes the sum of squared residuals.

3. Generalized linear model: A model combining a probability distribution, linear predictor, and link function.

4. Logistic regression: A GLM for binary outcomes using the logit link.

5. Odds ratio: The multiplicative change in odds associated with a predictor change.

6. Multicollinearity: Strong association among predictors that can destabilize coefficient estimates.

7. Interaction: A relationship in which one predictor’s effect depends on another predictor.

8. Heteroscedasticity: Nonconstant variance of model errors.

9. Mixed-effects model: A hierarchical model containing fixed and random effects.

10. Survival analysis: Analysis of time until an event, including censored observations.

11. ANOVA: Analysis comparing group means through variance decomposition.

12. MANOVA: Analysis comparing groups across multiple dependent outcomes.

13. Principal component analysis: Transformation of correlated variables into variance-maximizing components.

14. Factor analysis: A latent-variable model explaining correlations among observed measures.

15. Clustering: Unsupervised grouping of observations by similarity.

16. Classification: Assignment of observations to known categories.

17. Calibration: Agreement between predicted probabilities and observed frequencies.

18. Overfitting: Learning sample-specific noise that harms generalization.

19. Data leakage: Use of information unavailable at prediction time.

20. Concept drift: Change over time in the relationship between predictors and outcomes.

21. Review Questions

Short Answer Questions

1. Distinguish prediction from explanation in regression analysis.

2. Why might a negative-binomial model be preferred to a Poisson model?

3. What is the purpose of random effects in a mixed-effects model?

4. Explain why accuracy can be misleading for a rare cybersecurity event.

5. What does PCA accomplish, and why should components not automatically be treated as substantive factors?

Long Answer Questions

1. Explain the assumptions of multiple linear regression and describe a diagnostic strategy for assessing them in an IT dataset.

2. Compare logistic regression, decision trees, and discriminant analysis for classifying security incidents.

3. Describe a complete workflow for developing and validating a model that predicts cloud-service failure.

4. Discuss the conceptual and practical differences between ANOVA, ANCOVA, and MANOVA.

5. Critically evaluate the ethical and governance requirements for deploying a predictive model in employee or customer decision-making.

Analytical / Application Questions

1. A service team models daily support tickets using Poisson regression, but the variance is four times the mean and ticket counts vary substantially by customer organization. Diagnose the problem and propose a revised modeling strategy.

2. A phishing classifier has 98% accuracy, 20% precision, and 95% recall. Explain what these results imply and recommend an evaluation and threshold strategy for a security operations center.

3. An organization clusters applications using latency, CPU usage, memory usage, and cost, measured on different scales. Explain the preprocessing, clustering, validation, and managerial interpretation steps you would undertake.

22. Multiple Choice Questions with Answers

Question 1

Which situation most directly calls for a mixed-effects model?

A. A single cross-sectional survey with independent respondents

B. Repeated latency measurements nested within applications

C. A binary outcome with no grouping structure

D. Reducing ten correlated variables to two components

Correct Answer: B. Repeated latency measurements nested within applications

Question 2

In logistic regression, exponentiating a coefficient generally produces a(n):

A. Residual variance

B. Odds ratio

C. R-squared value

D. Principal component loading

Correct Answer: B. Odds ratio

Question 3

Why is accuracy often inadequate for evaluating a rare-event classifier?

A. It cannot be calculated for binary outcomes

B. It ignores the possibility of class imbalance

C. It always penalizes false positives more than false negatives

D. It measures calibration rather than classification

Correct Answer: B. It ignores the possibility of class imbalance

Question 4

Which method is primarily designed to summarize correlated variables into fewer components?

A. Principal component analysis

B. Poisson regression

C. Kaplan–Meier analysis

D. Logistic discrimination

Correct Answer: A. Principal component analysis

Question 5

A count model shows variance substantially greater than its mean. Which response is most appropriate?

A. Automatically delete all large counts

B. Consider a negative-binomial model and investigate sources of overdispersion

C. Use ordinary least squares without diagnostics

D. Convert every count into a binary variable

Correct Answer: B. Consider a negative-binomial model and investigate sources of overdispersion

Question 6

What is data leakage in predictive modeling?

A. Random variation in the dependent variable

B. Use of information that would not be available when the prediction is made

C. A model with too few predictors

D. Missing values occurring completely at random

Correct Answer: B. Use of information that would not be available when the prediction is made

Question 7

What is the principal purpose of MANOVA?

A. To compare groups across several related dependent outcomes jointly

B. To estimate only one binary outcome

C. To create random clusters without variables

D. To calculate a survival curve

Correct Answer: A. To compare groups across several related dependent outcomes jointly

Question 8

Which statement best describes overfitting?

A. A model performs poorly on both training and test data because it is too simple

B. A model captures sample-specific noise and generalizes poorly to new data

C. A model has statistically significant coefficients

D. A model uses a probability distribution

Correct Answer: B. A model captures sample-specific noise and generalizes poorly to new data

Question 9

Why should cluster solutions be assessed for stability?

A. Cluster labels are always causal variables

B. Clusters can depend strongly on scaling, variables, algorithm, and selected number of groups

C. Clustering requires a known outcome label

D. Stable clusters necessarily have equal sizes

Correct Answer: B. Clusters can depend strongly on scaling, variables, algorithm, and selected number of groups

Question 10

Which practice best supports responsible deployment of a consequential predictive model?

A. Optimize aggregate accuracy and omit subgroup analysis

B. Deploy once and never recalibrate

C. Document intended use, monitor subgroup performance, and provide human review or appeal

D. Use the most complex available algorithm regardless of interpretability

Correct Answer: C. Document intended use, monitor subgroup performance, and provide human review or appeal

Quantitative & Qualitative Data Analysis
Chapter 5 of 15