SEM, inference and prediction

Fit a weighted PLS model without confusing case weights and indicator weights

Imagine that responses from one customer segment are underrepresented in your survey. You have a documented adjustment based on known segment shares. When you fit a weighted model, a case with a larger weight contributes more to the estimation. That is different from giving a survey question more importance in a construct. The case weight belongs to the respondent’s row; an indicator weight belongs to the model.

This tutorial isolates the effect of the case weights first. It then uses a separate file to show why weighted fitting and weighted imputation are not the same thing.

Keep the model fixed for the first comparison

Download research-workshop.csv. Create four reflective constructs, assigning quality_1 to quality_3 to Quality, trust_1 to trust_3 to Trust, satisfaction_1 to satisfaction_3 to Satisfaction and loyalty_1 to loyalty_3 to Loyalty. Draw Quality → Satisfaction, Trust → Satisfaction and Satisfaction → Loyalty. The practice library explains the dataset and the role of its extra columns.

Leave the weight column outside the constructs. These synthetic weights demonstrate unequal case influence; they do not make this sample representative of a population. In your own project, write down where the weights came from and what they are intended to correct before choosing them. A weight of 2 is not automatically a record of two participants. Selecting a column in Weighted PLS does not turn its values into frequencies. Whole-number weights still need a documented interpretation.

  1. Keep an unweighted baseline. Fit the ordinary PLS-SEM Algorithm with Casewise deletion, then save the result. Record the settings and included case count for comparison.
  2. Select the weight for the same model. Under Calculate…, find Weighted PLS. Set Case-weight variable to weight, select Path weighting, and keep Casewise deletion. This Weighted PLS setup uses standardised data and has no separate Result data selector. Record the settings under Advanced settings and check Readiness before starting. Weighted PLS controls
  3. Check the weights before the coefficients. In the completed weighted result, open Diagnostics and warnings → WPLS case-weight diagnostics. Verify the selected column, analysed rows and the convention attached to the weight totals and effective size. The method requires finite, positive weights. If the column does not appear in the picker, check its numeric type on the selected dataset. If it appears but is rejected, inspect its values; filling missing indicators will not repair a missing weight.

Use three different numbers to describe one sample

The complete teaching file has 360 rows. The weights range from approximately 0.5002 to 1.9993 and sum to 446.4428. The total is not the number of respondents. Using the concentration formula (sum of weights)² ÷ sum of squared weights, the file gives an effective size of approximately 322.3. These are independent checks from the published CSV; when comparing with the app, use the same included rows and check the definition shown in the saved result.

Why look at effective size at all? If many of the rows have small weights and a few have large ones, a sizeable part of the fit may depend on those few cases. The concentration diagnostic lets you see that before reading the paths. It is not the degrees of freedom, and a case-weighted bootstrap does not by itself account for a survey’s clusters or strata. Statistics Canada on unequal weighting and design effects

Now locate the weighted Path coefficients or Direct effects, plus Outer loadings and R-square. Compare the named rows against the ordinary result. If the Quality → Satisfaction coefficient moves, first check that only weighting changed. Then explain which observations the rule gives more influence and why. A larger coefficient alone is no evidence that weighting was a better choice.

Verify what gets imputed before the weighted model is fitted

For a separate experiment, import research-workshop-missing.csv and link an equivalent model to it. It has the same 360 cases but 24 blank cells across the 12 required indicators, on 24 separate rows. With casewise deletion, 336 rows are complete on the model indicators. Switch to Weighted PLS → Missing data → Mean replacement on the model linked to this file, and select weight again. Use Point estimates first so you can check the preparation without interpreting an interval at the same time.

The missing quality_2 values provide a useful check. The ordinary mean of its 354 observed values is 4.02528. Weight those same observed values first and the average is 4.01182. The documented mean-replacement route uses the first value to fill that indicator. It applies the case weights during the weighted standardisation and fitting that follow. The two averages differ because they answer different questions. Mean-replacement sequence

If you need intervals for this route, choose Inference → Bootstrap under the mean-replacement settings. Record the interval method, confidence level, test direction, draws and seed. Each raw-case resample repeats the ordinary-mean preparation, and each sampled row carries its original weight. Read Inference → Weighted bootstrap estimates alongside the usable-draw information in Diagnostics and warnings. Do not prefill the dataset yourself and describe that bootstrap as the same procedure. The published weighted benchmark checks this sequence on separate historical test models; its coefficients and intervals are not the workshop answer key.

Write it up. Explain what the weight measures, how you checked it, the cases analysed and any exclusions, the saved definition of effective size and the missing-data preparation. If you retained the unweighted result, state that it is a comparison on the same model and identify any other settings that differ. This gives readers a way to tell whether the result moved because of the weights or because you changed the data going into the model.

Related articles