Tutorials › Exam PA - Predictive Analytics › Screen Correlated Telematics Features

Exam PA · End-to-End Case Analysis · Tutorial 880 of 966

Screen Correlated Telematics Features

Use redundancy checks and correlation summaries to screen telematics predictors without mistaking association for causation.

Advanced 12 min read

What You'll Learn

  • Check telematics variables for duplicate information and unsuitable measurements before comparing correlations.
  • Calculate and interpret Pearson correlation for two numeric features.
  • Use an absolute-correlation threshold as a review flag, not an automatic deletion rule.
  • Choose between correlated predictors using measurement quality, meaning, and intended use.
  • Recognize how missingness, exposure, and changing data periods can affect correlation summaries.
  • Explain why predictor association does not establish a causal effect on claims.

Why Screen Correlated Telematics Features?

A telematics file can contain many measurements of closely related driving behavior: distance driven, trip count, average trip length, average speed, time above a speed threshold, and a vendor-generated driving score. Including every available feature may add little new information, make a model harder to explain, or cause coefficient estimates to be unstable in some model types. Screening asks whether predictors carry overlapping information and which one is most defensible to retain.

The objective is not to make every pair of predictors uncorrelated. Correlation is a summary of a particular form of association, not a complete description of a relationship and not evidence that one feature causes another. Screening is a reasoned feature-review step: it identifies possible redundancy, then uses context and data quality to guide a choice. It does not by itself establish which feature will predict best on new data.

Definition: For two numeric features \(X\) and \(Z\), their Pearson sample correlation \(r_{XZ}\) measures the direction and strength of their linear association in the observed sample. It ranges from \(-1\) to \(1\). Values near \(1\) indicate a strong positive linear association, values near \(-1\) a strong negative linear association, and values near \(0\) little linear association. A value near \(0\) does not rule out a nonlinear relationship.

Prepare the Feature Set Before Comparing Correlations

First define the modeling row and the time window for each feature. For example, if the row represents one policy-year and the target is claim count during that policy-year, a feature should be calculated from an appropriate, consistently defined observation period. A telematics measurement recorded after the prediction date is not a suitable predictor for a prediction made at that date. Also check units, duplicated columns, constant or nearly constant features, and how each measure was calculated.

A correlation matrix is useful only when its entries compare the intended observations. If one column is kilometers and another is miles, their correlation can still be calculated, but the units matter for interpretation and operational use. If missing values differ by feature, pairwise-complete correlations may use different subsets of rows for different pairs. This can make the matrix harder to compare: record the sample size for each pair, or use a consistent set of rows when that is appropriate for the analysis.

Correlation is unchanged by converting a feature from one unit to another using a positive linear rescaling. It is also unchanged if both the scale and direction are reversed for one feature, except that the correlation's sign reverses. Thus miles and kilometers have correlation \(1\) when measured on the same observations, while a score coded so that larger values mean safer driving may be strongly negatively correlated with a measure where larger values mean riskier driving.

Calculate and Read a Correlation

For \(n\) paired observations with sample means \(\bar{x}\) and \(\bar{z}\), Pearson correlation is the sum of cross-products of centered values divided by the product of the two centered sums of squares' square roots. Each feature must vary in the observed sample; if a feature is constant, its correlation is undefined.

$$ r_{XZ}= \frac{\sum_{j=1}^{n}(x_j-\bar{x})(z_j-\bar{z})} {\sqrt{\sum_{j=1}^{n}(x_j-\bar{x})^2 \sum_{j=1}^{n}(z_j-\bar{z})^2}} $$

The numerator is positive when above-average values of one feature tend to occur with above-average values of the other, and negative when above-average values tend to occur with below-average values. The denominator scales the numerator by the spread of each feature, so the result is unitless and lies between \(-1\) and \(1\).

Why the formula has this form: Center each observed feature by subtracting its sample mean. The numerator is the inner product of the two centered data vectors. Dividing each vector by its own length gives unit-length vectors; their inner product is the cosine of the angle between them. By the Cauchy–Schwarz inequality, the absolute value of that inner product cannot exceed \(1\). This explains the correlation's range and why it summarizes aligned linear variation.

Worked Example: Check Whether Two Driving Measures Overlap

In a hypothetical pilot extract, four policy-years have the following mean-speed index \(X\) and high-speed-event count \(Z\). Assume the same four policy-years have complete measurements and equal observation windows. Calculate their Pearson correlation and state what the result supports.

Method. Use the centered-sum formula. The values are \(X=(10,20,30,40)\) and \(Z=(2,4,5,9)\). The means are \(\bar{x}=(10+20+30+40)/4=25\) and \(\bar{z}=(2+4+5+9)/4=5\).

The centered values are \(X-\bar{x}=(-15,-5,5,15)\) and \(Z-\bar{z}=(-3,-1,0,4)\). The cross-products are \(45,5,0,60\), so their sum is \(110\). The squared centered values sum to \(225+25+25+225=500\) for \(X\), and \(9+1+0+16=26\) for \(Z\).

Therefore \(r_{XZ}=110/\sqrt{500\times26}=110/\sqrt{13{,}000}=110/114.0175\ldots=0.9648\), rounded to four decimal places. The two measures have a strong positive linear association in this tiny hypothetical extract. That is a prompt to investigate possible redundancy, not enough evidence by itself to delete either feature or conclude that speed causes high-speed events.

Check. The correlation is positive because the centered cross-products sum to a positive number, and \(0.9648\) is within the required range from \(-1\) to \(1\). A common mistake is to report \(110\) as the correlation; that is the unscaled cross-product sum, not the unitless correlation.

Use a Correlation Summary as a Review Tool

For a large set of numeric telematics features, a correlation matrix organizes many pairwise comparisons. A practical review often flags pairs with a large absolute correlation, such as \(|r|\geq0.85\), for closer examination. This is a screening convention, not a universal statistical boundary: the appropriate flag depends on the purpose, the features, and the modeling approach. A pair just below a chosen threshold is not automatically safe, and a pair above it is not automatically redundant.

In R, a basic summary can be created with cor(), for example by applying it to a data frame of numeric predictors. Specify the missing-value treatment deliberately. The option for pairwise complete observations allows each pair to use the rows where both values are present, but pairwise results can have different sample sizes. Whatever approach is used, inspect the underlying variable definitions and the number of observations supporting important correlations.

Review sets or blocks of related features, not just isolated pairs. A feature may be moderately correlated with several others that jointly represent much the same driving pattern. Conversely, two highly correlated features may serve different operational roles: one may be a direct sensor measure and another a derived summary. A sensible review records why a feature is retained or removed.

Worked Example: Choose a Representative From a Redundant Pair

A hypothetical insurer screens four numeric features for a renewal-risk model. The relevant correlation summary is shown below. All features are computed over the same prior 90-day window, and the reported correlations use the same 8,000 policy-years. The insurer uses \(|r|\geq0.85\) as a review flag, not as an automatic deletion rule.

Feature pairCorrelation
Trip count and total distance0.92
Mean speed and speed variability-0.78
Harsh braking and night-driving share0.21

Step 1: Apply the stated flag. For trip count and total distance, \(|0.92|=0.92\geq0.85\), so the pair is flagged for review. For mean speed and speed variability, \(|-0.78|=0.78<0.85\), so it is not flagged by this rule. For harsh braking and night-driving share, \(|0.21|=0.21<0.85\), so it is not flagged either.

Step 2: Compare meaning and use. Trip count and total distance both reflect how much a policyholder drives, but they are not identical: trip count may distinguish many short trips from fewer long ones. Suppose the model is intended to rank policy-years by risk and the distance measure is consistently recorded in the required time window, while trip-count coverage is incomplete for one device type. In that situation, total distance is the more defensible representative for the primary feature set. Trip count can be set aside for this specification or retained for a separately justified comparison.

Step 3: Preserve the conclusion's limits. The correlation indicates strong overlap in this sample; it does not prove that trip count is unnecessary for every model or population. The result also does not imply that distance causes renewal risk. A common mistake is to remove the feature with the larger name or to remove every pair whose absolute correlation exceeds the flag. The correction is to use the flag to prompt a documented choice based on measurement quality, relevance, and intended use.

Check. The absolute-correlation comparisons are \(0.92\), \(0.78\), and \(0.21\). Only the first pair meets the stated flag. The selected representative is total distance under the stated coverage and modeling considerations.

Make the Selection Defensible

When a pair is flagged, consider the following questions before deciding what to do:

  • Are the features genuinely different? Check whether one is an exact duplicate, a unit conversion, or a deterministic transformation of the other.
  • Which is better measured? Compare missingness, sensor coverage, known device differences, and consistency of definitions across policy-years.
  • Which is easier to explain and maintain? A direct measure may be preferable to an opaque score, but only if its quality and intended meaning are adequate.
  • What question is the model meant to answer? Two correlated features can represent distinct patterns that matter for separate business uses.
  • Could the association be an artifact of exposure or the observation window? For example, total event counts can rise simply because a vehicle is driven more. Check whether feature definitions make comparisons meaningful.

Retaining both features can be reasonable in some predictive settings, but it may complicate interpretation. In regression models, strongly correlated predictors can make individual coefficient estimates sensitive to small data changes, even when predictions remain similar. Correlation screening identifies this potential issue; it does not determine a model's final specification or replace an evaluation of its predictive performance.

Worked Example: Separate Predictive Association From Causal Evidence

An analyst reviews a hypothetical policy-year sample and finds that harsh-braking event count has a positive correlation of \(0.31\) with claim count. Total distance driven is also available and is positively associated with both measures. The analyst proposes the statement, “Harsh braking causes more claims, so removing harsh-braking events would reduce claims.” Assess the evidence and give a defensible screening conclusion.

Step 1: Identify what the correlation says. The value \(0.31\) is a positive linear association between the observed harsh-braking count and observed claim count in this sample. It is not a causal effect, and it does not account for other features such as distance driven.

Step 2: Identify a plausible alternative explanation. Policy-years with more distance may have more opportunities both to record harsh-braking events and to incur claims. Thus distance could contribute to the observed association. The correlation alone does not show whether harsh braking, distance, other characteristics, or some combination explains the pattern.

Step 3: State a screening conclusion that the evidence supports. Keep harsh-braking count as a candidate predictor if it is measured consistently and available at the prediction time. Review its redundancy with other behavior measures, and assess its usefulness in a properly specified predictive analysis. Do not claim from this correlation that changing driving behavior would cause a reduction in claims.

Check. The conclusion distinguishes an observed association from a causal claim and leaves prediction performance to be assessed separately. A common mistake is to interpret a positive correlation as an intervention effect; the correction is to describe only the association established by the data and analysis.

Common Traps in Correlation Screening

  • Using the sign instead of the magnitude. A correlation of \(-0.94\) is just as strong in linear magnitude as \(0.94\). For redundancy flags, compare \(|r|\) with the chosen threshold.
  • Treating zero correlation as no relationship. Pearson correlation can be near zero even when the relationship is strongly curved or otherwise nonlinear.
  • Ignoring the data behind the matrix. Different missing-data patterns, observation windows, or units can make pairwise summaries misleading or incomparable.
  • Applying a cutoff mechanically. A threshold is a review aid, not a proof of redundancy or a command to drop a predictor.
  • Reading association as cause. A correlation between driving behavior and claims does not establish what would happen if that behavior were changed.
Key takeaway: Screen correlated telematics features by combining correlation summaries with checks of definitions, coverage, timing, and intended use. Treat a large absolute correlation as a reason to investigate overlapping information—not as an automatic feature deletion rule or causal conclusion. This approach is aligned with the SOA Exam PA (Predictive Analytics) syllabus.

Check Your Understanding

For each item, identify the screening conclusion supported by the stated information.

  1. A hypothetical sample gives \(r=-0.90\) for two sensor-derived features, based on the same 2,400 policy-years. A review flag is \(|r|\geq0.85\). Does the pair meet the flag? (Answer: Yes; \(|-0.90|=0.90\geq0.85\), so review the pair.)
  2. Two features have correlation \(0.04\). Can you conclude that they have no relationship of any kind? (Answer: No; the result indicates little linear association in that sample, but does not rule out a nonlinear relationship.)
  3. Trip count and total distance have correlation \(0.88\). Distance has substantially better coverage, but trip count may distinguish driving patterns with different trip lengths. Is it mandatory to delete trip count? (Answer: No; the pair merits review, but the choice depends on the intended use and whether the additional distinction is useful and reliable.)
  4. Harsh-braking count and claim count have correlation \(0.27\), and both tend to be higher for policy-years with more miles. Does this establish that harsh braking causes claims? (Answer: No; the correlation is an association and may be affected by distance or other factors.)
  5. In a matrix, one correlation uses 5,000 complete pairs and another uses 1,100 complete pairs because of differing missingness. What should be checked before comparing them as if they were equally reliable summaries? (Answer: Check the pair-specific sample sizes, missingness patterns, and whether the pairs represent comparable observations; consider a consistent analysis set where appropriate.)
Clinical Biostats