Regression, NCA and PCA

Build an observed-variable mediation model and bootstrap its indirect effect

If x is related to y through an intermediate measure m, you need two linked equations to describe the pathway. The product of two fitted slopes gives the indirect point estimate. It does not give its confidence interval.

Use the 120-case observed-variable workshop. These are synthetic observed scores, not latent variables. In a real study, justify the proposed order x, m, y and explain why the control belongs in the equations. The arrows alone do not establish timing or eliminate omitted influences.

Draw the graph and check the implied equations

Under Analyze… → Regression, choose Graph-defined Path Analysis / PROCESS. Set Outcome to y and Focal predictor to x. Use Add path to enter x → m, m → y and x → y. Select z under Controls; the documented editor enters it in every equation. Do not assign the identifier, binary outcome or weight.

The graph estimates m from x and z, and y from x, m and z. The x → y path remains in the second equation. Confirm the shared complete cases, calculate and read Directed paths and Equation coefficients. Check the named equation and its predictors before looking at the indirect effect. QuickPLS Pro PROCESS instructions.

Reproduce the point estimate

The independent teaching reference gives a = 0.627017 for x → m, b = 0.688776 for m → y and c′ = 0.291620 for the direct path. The indirect product is about 0.431874, and the sum of direct and indirect is 0.723494. The latter agrees with the coefficient for x in the corresponding total-outcome regression that includes z. These are independent calculations, not results from a new desktop run.

A useful check is to follow the units. If a is in m units per unit of x and b is in y units per unit of m, the m units cancel. The indirect estimate is in y units per unit of x. It can be compared to the fitted direct path on that scale; neither is automatically a causal effect.

Bootstrap the whole system, not the two paths separately

Set Bootstrap inference to Case-resampling bootstrap. Record Bootstrap samples, Parallel workers and Seed. Under Configure PROCESS inference, choose the confidence level and test direction before interpreting results. Use 1,000 outer draws as a teaching setting, not as an assurance that 1,000 fits will be usable.

Each draw resamples cases and refits the required equations together on the selected rows. The recalculated products retain how a and b vary together. Resampling only the outcome equation misses the uncertainty of x → m. Multiplying endpoints of separate intervals does not reproduce the distribution of the product either.

Open Bootstrap summary to check requested, usable and failed outer fits, then find the correctly named effect in the inference tables. Keep percentile, eligible BCa and requested studentized intervals distinct. If you request nested studentization under Configure groups, data metrics, scores and copulas, the documented settings call for at least 999 outer samples and an odd inner count from 99 to 999. The inner refits estimate uncertainty within outer fits; they are not extra usable outer fits. If a named interval is unavailable, retain the reason.

Try it: Would fitting two separate bootstrap analyses with unrelated row draws preserve the estimated joint variation correctly? No. The pathways were estimated from the same cases and the product depends on both, so they must be refitted together in each draw.

Example reporting: “After accounting for z in both equations, the independent point estimate for the x-through-m pathway was 0.432 y units per unit of x. We report the [named interval and bounds] from the complete-system case bootstrap, based on [usable] of [requested] outer refits.” Fill the brackets from the saved result. Describe imprecision if the interval covers zero instead of claiming the path is absent.

Related articles