SEM, inference and prediction

PLSpredict in QuickPLS Pro: test a loyalty model on customers left out of fitting

You fitted a customer model and Loyalty has a high R². Before telling the marketing team that the model will predict new customers well, ask what you will know about a customer at the moment of prediction. If you measure Quality and Trust now but Satisfaction and Loyalty only later, the held-out Satisfaction responses cannot be used as prediction inputs. The aim here is to design a fair test, then compare the size of the errors against simpler predictions.

Set up the model and its information rule

Download research-workshop.csv from the official PLSpredict and CVPAT guide. In QuickPLS Pro, build reflective Quality, Trust, Satisfaction and Loyalty constructs from their three corresponding indicators. Draw Quality → Satisfaction, Trust → Satisfaction and Satisfaction → Loyalty. Leave group, weight, case ID and supplied arithmetic means out of the indicator blocks. Save the model.

Write this statement before calculating: Quality and Trust are available for a new customer, but Satisfaction and Loyalty answers aren't available. The calculation must therefore estimate intermediate Satisfaction rather than treat its held-out measurements as known. Choose Earliest antecedents. If a team needs a separate prediction at a later time, when Satisfaction is already recorded, that is a different information rule. Evaluate and describe it separately.

Run and preserve the split plan

  1. Choose Calculate… → PLSpredict / CVPAT with the saved model and intended dataset. For this practice file enter five cross-validation folds, two repetitions and seed 20261105. Set Predictor information to Earliest antecedents. The official practice design uses a 95% CVPAT confidence level; record the weighting and result-data settings too.
  2. For this complete teaching file choose Missing data → Casewise deletion. In an exercise with missing values, assess the supported strategies deliberately. Filling blanks using the entire file's average before cross-validation can leak information from held-out cases into training. Keep any necessary training-only preparation inside the validation procedure.
  3. Review Readiness, start the calculation and open the correct completed run in Results. Find Model fit → Indicator prediction summary. Inspect each Loyalty and Satisfaction indicator, the number of eligible observations and benchmark availability.
  4. Under Model and data, find Prediction validation plan. Keep the seed, folds, repetitions, analysed sample and source row order with the output. Reordering the same records may change assignments to folds even though the seed has not changed.

Each fold observes a different division between training and testing. Repeating the split does not produce independent new customers. The simpler comparison predictions must face the same held-out cases under the same information rule, or their apparent advantage is hard to interpret.

Interpret a row before describing the entire model

IA is the indicator-average baseline, using the training-fold mean. LM is the linear-model benchmark using the information allowed by the chosen task. Compare PLS to both separately. RMSE gives larger mistakes relatively more weight; MAE is the mean of absolute errors. Lower values are better only when you are comparing the same indicator, measure and cases.

Suppose, as an illustration, that the held-out RMSE for loyalty_1 is 0.72 for PLS, 0.91 for IA and 0.68 for LM. PLS improves on the training-fold mean by 0.19 error units but is 0.04 worse than the linear benchmark. Report that limited finding: “For loyalty_1, the PLS predictions improved RMSE over the mean-only reference but not over the linear benchmark.” It doesn't follow that the other Loyalty indicators show the same pattern. These descriptive errors also do not tell you whether a paired improvement is well supported statistically; that is the CVPAT question.

Compare RMSE and MAE rather than assuming they will always agree. A few unusually large errors can affect RMSE more. If a benchmark is unavailable, check the status and retain that omission; do not count it as a win. If a fitted R² looks strong but held-out error is poor, report both and investigate whether the model works only in the data used to fit it.

Practice: May you add actual Satisfaction responses for the holdout customers because the model includes Satisfaction → Loyalty? Answer: Not for this task. Those responses will not be known when the prediction is made. Only a real later decision point with those responses available would justify a separate evaluation.

Related articles