Loyalty with structural equation modelling

TL;DR

Difficulty: Advanced

Structural equation modelling estimates a measurement model and a structural model together. The measurement model turns survey questions into latent constructs such as service, value and loyalty, which removes the measurement error that shrinks ordinary regression coefficients. The structural model regresses those constructs on each other. The total effect of a lever is its direct path plus every indirect route, each route being the product of its coefficients. Rank levers by total effect against current performance, check fit with CFI, RMSEA and SRMR against Hu and Bentler's cut offs, and link intention to real rebooking before you put a money figure on anything.

One hotel group, one budget, two proposals: a £180,000 breakfast concept or a £120,000 service programme. Both sides have a correlation with loyalty and neither settles it, because food, service, value and satisfaction are tangled together in a guest's head. Using the invented Chalkline Hotels in Brighton, I build a structural equation model step by step: the measurement and structural equations, the checks that the constructs are real, the table of direct, indirect and total effects, fit measures in plain words, and the translation of a standardised path into a money range with honest error bars. This is chapter 18 of 21 in my Marketing Analytics series.

The breakfast argument

Chalkline Hotels is the invented group of five small hotels in Brighton and along the Sussex coast from chapter 12. Every spring Anna, who runs it with her brother, sits down with her general managers to decide where next year's investment goes. This year the food and beverage lead wants £180,000 for a new breakfast concept across all five houses: regional produce, a live station and a longer service window. The operations lead wants £120,000 for reception staffing and a proper service training programme. Anna wants neither of them to win on charm. She wants to know which one brings guests back.

Both sides have a number. Food scores correlate with the loyalty questions at 0.39, service scores at 0.44. Neither number settles anything, because food, service, value and satisfaction are tangled together in a guest's head. A guest who loved the breakfast also rates the staff kindly and finds the price fair. A correlation tells you that two things move together. It does not tell you which one to push.

Structural equation modelling, SEM from here on, is the method for this situation: a survey, a theory about how the pieces connect, and a real budget decision hanging on it. You draw the theory as a diagram, fit it to the data, and read off how much each lever moves loyalty, directly and through everything in between. The Chalkline numbers are illustrative, every one of them computed so that they agree with each other. The reasoning is the part to keep.

Where this sits in the series

This is chapter 18 of 21 and belongs to part four, media and loyalty. The previous chapter, Loyalty: the three Rs, the spectrum, and designing earn and burn, is about what a loyalty programme is for and how to design its economics. This one is about the psychology underneath: which experiences create loyalty, and by how much. The next chapter, The customer loyalty journey: from segments to experiences, turns these drivers into a journey design per segment.

The constructs come straight from chapter 12, principal components and factor analysis for marketers, where Chalkline's 24 survey questions collapsed into four factors: service, room, food and value. This season's survey kept those questions and added nine more, three each for trust, overall satisfaction and loyalty. 1,140 guests answered all of them. If regression coefficients and standard errors are unfamiliar, read modelling demand and price elasticity with regression first.

Two models, estimated together

SEM is not one technique. It is two familiar techniques joined up and estimated at the same time.

The first is a measurement model. Loyalty, satisfaction, trust and perceived value cannot be observed. Nobody has a loyalty gland. What you observe are answers to questions: "I will stay at Chalkline again", "I would recommend Chalkline to a friend", "next time I will book direct rather than through a platform". Each question is a noisy indicator of the thing you care about. The measurement model says each answer is the latent construct plus its own error, exactly like the factor model in chapter 12. The difference is that in SEM you decide in advance which questions belong to which construct, because you have a theory, and the model then tests whether the data agrees. This is confirmatory factor analysis, where chapter 12 was exploratory.

The second is a structural model: plain regression, except that the variables being regressed on each other are the latent constructs rather than columns in a spreadsheet. Service drives satisfaction. Satisfaction drives loyalty. Trust drives loyalty too. Every arrow is a hypothesis and gets a coefficient.

The path diagram is the shared language. Ovals are latent constructs, rectangles are survey questions, a single headed arrow is a hypothesised causal path, and a double headed arrow is a correlation you allow without claiming a direction. Once you can read one, you can draw your own theory on a whiteboard before a single number exists, which is the most useful hour of the whole exercise.

Why not just average the questions

The obvious shortcut is to average the three loyalty questions, average the three service questions, and run an ordinary regression. The problem is measurement error. A guest who was tired when they filled in the form drags every answer down a little, and that noise does not cancel out. It shrinks every relationship you estimate. Charles Spearman described the effect in 1904 for correlations:1

rxyobs=rxytrueρxx ρyyr_{xy}^{\text{obs}} = r_{xy}^{\text{true}} \sqrt{\rho_{xx}\,\rho_{yy}}

Here rxytruer_{xy}^{\text{true}} is the correlation between the two constructs themselves, rxyobsr_{xy}^{\text{obs}} is the correlation you see between the averaged scores, and ρxx\rho_{xx} and ρyy\rho_{yy} (rho) are the reliabilities of the two scores, the share of each score's variance that is signal rather than noise. Reliabilities are below one, so the observed correlation is always weaker than the true one. Foundations: correlation

Worked example: how much a noisy score hides

Suppose service really correlates with loyalty at 0.50, the averaged service score has a reliability of 0.80 and the averaged loyalty score 0.85. The correlation you observe is 0.50×0.80×0.85=0.50×0.825=0.410.50 \times \sqrt{0.80 \times 0.85} = 0.50 \times 0.825 = 0.41. Almost a fifth of the relationship has disappeared into noise. Worse, the construct measured most badly looks weakest, regardless of how much it matters. SEM estimates how much of each question is signal and runs the regressions on the signal, which removes this bias instead of baking it into the budget.

The measurement model in symbols

In matrix form the measurement model is two lines, one for the questions behind the levers and one for the questions behind the outcomes:

x=Λx ξ+δ,y=Λy η+εx = \Lambda_x\,\xi + \delta, \qquad y = \Lambda_y\,\eta + \varepsilon

Here xx is the vector of answers to the lever questions (service, food, room), ξ\xi (xi) is the vector of lever constructs, yy is the vector of answers to the outcome questions (value, trust, satisfaction, loyalty) and η\eta (eta) is the vector of outcome constructs. Λx\Lambda_x and Λy\Lambda_y (lambda) are matrices of loadings, mostly zeros, with one non zero entry where a question belongs to a construct. δ\delta (delta) and ε\varepsilon (epsilon) are the error terms: mood, wording, the guest who misread the scale. Foundations: matrices

For a single standardised question ii this reads xi=λi ξ+δix_i = \lambda_i\,\xi + \delta_i. The squared loading λi2\lambda_i^2 is the share of that question's variance the construct explains, so a loading of 0.85 means the construct explains 0.852=0.720.85^2 = 0.72, or 72%, of the answers to that question. The notation, with ξ\xi for levers and η\eta for outcomes, is the LISREL convention most textbooks and software still use.

The structural model in symbols

The structural model is a set of regressions among the constructs, again written as one matrix line:

η=B η+Γ ξ+ζ\eta = B\,\eta + \Gamma\,\xi + \zeta

Here η\eta is the vector of outcome constructs and ξ\xi the vector of lever constructs, as above. Γ\Gamma (gamma) holds the paths from levers to outcomes, BB (beta) holds the paths from one outcome to another, and ζ\zeta (zeta) is the part of each outcome the model does not explain. The levers are called exogenous, because nothing in the model explains them. The outcomes are endogenous. Foundations: regression and Foundations: matrices

For Chalkline the matrix line unpacks into four equations, one per outcome, with every construct standardised:

ηValue=γ1 ξFood+γ2 ξRoom+ζ1ηTrust=γ3 ξService+ζ2ηSat=γ4 ξService+γ5 ξFood+β1 ηValue+ζ3ηLoy=β2 ηSat+β3 ηTrust+β4 ηValue+ζ4\begin{aligned} \eta_{\text{Value}} &= \gamma_{1}\,\xi_{\text{Food}} + \gamma_{2}\,\xi_{\text{Room}} + \zeta_{1} \\ \eta_{\text{Trust}} &= \gamma_{3}\,\xi_{\text{Service}} + \zeta_{2} \\ \eta_{\text{Sat}} &= \gamma_{4}\,\xi_{\text{Service}} + \gamma_{5}\,\xi_{\text{Food}} + \beta_{1}\,\eta_{\text{Value}} + \zeta_{3} \\ \eta_{\text{Loy}} &= \beta_{2}\,\eta_{\text{Sat}} + \beta_{3}\,\eta_{\text{Trust}} + \beta_{4}\,\eta_{\text{Value}} + \zeta_{4} \end{aligned}

Each γ\gamma is a path from a lever to an outcome, each β\beta a path from one outcome to another, and each ζ\zeta the unexplained rest of that outcome. Because everything is standardised, a coefficient reads as "one standard deviation more of this gives so many standard deviations more of that, holding the other arrows fixed". Service has no direct arrow into loyalty. It works through satisfaction and trust, which is not a weakness of the model: it says how the experience turns into the behaviour. Foundations: spread

Where the loyalty constructs come from

None of these constructs is my invention, and the theory behind the arrows has a literature worth knowing before you draw your own.

The best known satisfaction model in marketing is the American Customer Satisfaction Index, set out by Claes Fornell and four co authors in 1996. It is itself a latent variable model: customer expectations, perceived quality and perceived value drive satisfaction, and satisfaction drives complaints and loyalty.2 The Chalkline model borrows its spine, quality and value into satisfaction into loyalty, and adds trust.

Richard Oliver argued in 1999 that loyalty develops in four phases: cognitive (the facts say this hotel is better), affective (I like it), conative (I intend to come back) and action (I actually book, even when a platform shows me something else). His central point is that satisfaction is necessary for loyalty but matters less once loyalty has set through other mechanisms.3 The three Chalkline loyalty questions measure the conative phase, intention. That is why the money section further down needs a separate link from intention to actual rebooking.

Alan Dick and Kunal Basu defined loyalty in 1994 as the combination of relative attitude and repeat patronage, which gives four cases: loyalty (both high), latent loyalty (high attitude, low repeat), spurious loyalty (low attitude, high repeat, often habit or convenience) and no loyalty.4 A survey only sees attitude. A guest who rebooks every year out of habit and rates you lukewarm is spurious loyalty, and SEM on survey answers alone will not find her.

The Chalkline path model

I drew the structure before looking at a single coefficient. The theory is hotel common sense: room and food shape whether the price feels fair, service and food and that sense of fairness shape overall satisfaction, service builds trust, and satisfaction, trust and fairness together decide whether a guest comes back and books direct.

Tap or click to open full screen and move around

Read the arrows as levers. One standard deviation more perceived service gives 0.38 standard deviations more satisfaction and 0.44 more trust. Satisfaction is the strongest single arrow into loyalty at 0.52. Value has a route through satisfaction and a small direct route of 0.14, the guests who feel the price is fair and would rebook even after a middling stay. The model explains 51% of the variance in loyalty and 47% of the variance in satisfaction.

Reading the measurement model first

Before anyone trusts the arrows, check that the constructs are real. The table shows three of the seven. Every loading is standardised, so it runs from 0 to 1.

ConstructQuestionLoadingComposite reliabilityAVE
ServiceStaff were warm and attentive0.840.880.71
ServiceProblems were solved quickly0.86
ServiceReception knew who I was0.82
ValueThe price was fair for what I got0.810.850.66
ValueI would pay this rate again0.83
ValueNo surprises on the bill0.79
LoyaltyI will stay at Chalkline again0.880.900.75
LoyaltyI would recommend Chalkline0.87
LoyaltyNext time I will book direct0.85

The two summary columns come from Fornell and Larcker's 1981 paper:5

AVE=1k∑i=1kλi2,CR=(∑i=1kλi)2(∑i=1kλi)2+∑i=1k(1−λi2)\text{AVE} = \frac{1}{k}\sum_{i=1}^{k}\lambda_i^2, \qquad \text{CR} = \frac{\left(\sum_{i=1}^{k}\lambda_i\right)^2}{\left(\sum_{i=1}^{k}\lambda_i\right)^2 + \sum_{i=1}^{k}\left(1-\lambda_i^2\right)}

Here kk is the number of questions behind the construct, λi\lambda_i is the standardised loading of question ii, and 1−λi21-\lambda_i^2 is that question's error variance. AVE, the average variance extracted, is the mean share of each question's variance the construct explains. CR, composite reliability, is the share of the summed score that is signal. Foundations: spread and Foundations: correlation

Worked example: the service construct

The three service loadings sum to 0.84+0.86+0.82=2.520.84 + 0.86 + 0.82 = 2.52. Their squares are 0.706, 0.740 and 0.672, which average to AVE=2.118/3=0.71\text{AVE} = 2.118 / 3 = 0.71. The error variances sum to 3−2.118=0.8823 - 2.118 = 0.882, so CR=2.522/(2.522+0.882)=6.350/7.232=0.88\text{CR} = 2.52^2 / (2.52^2 + 0.882) = 6.350 / 7.232 = 0.88. The same arithmetic gives the value and loyalty rows.

The usual thresholds, as summarised by Hair and co authors, are loadings of roughly 0.7 or more, composite reliability above 0.7 and AVE of at least 0.5, meaning the construct explains more of its questions than error does.6 Every row passes. "No surprises on the bill" is the weakest item at 0.79, still comfortably fine.

The last check is that the constructs are genuinely different from each other. Fornell and Larcker's criterion is that the square root of each construct's AVE should exceed its correlation with any other construct.5 For loyalty, 0.75=0.87\sqrt{0.75} = 0.87, and its highest correlation, with satisfaction, is 0.65. Distinct. If "next time I will book direct" had loaded at 0.4, direct booking would have been a different animal from loyalty and would need its own construct. It loaded at 0.85, which is itself a useful finding for a hotel paying platform commission.

Direct, indirect and total effects

Now the part that ends the breakfast argument. The total effect of a lever on loyalty is its direct arrow plus every indirect route, and each route is the product of the coefficients along it. In matrix form all total effects of the levers come out at once:

Tξ→η=(I−B)−1 ΓT_{\xi \to \eta} = (I - B)^{-1}\,\Gamma

Here Tξ→ηT_{\xi \to \eta} is the matrix of total effects of each lever on each outcome, II is the identity matrix, and BB and Γ\Gamma are the path matrices from the structural model. Inverting I−BI - B adds up every chain of arrows of every length, so nothing is missed when the diagram gets busy. Foundations: matrices

For service the matrix boils down to two routes:

TotalService→Loy=0⏟direct+γ4 β2⏟via Sat+γ3 β3⏟via Trust\text{Total}_{\text{Service} \to \text{Loy}} = \underbrace{0}_{\text{direct}} + \underbrace{\gamma_{4}\,\beta_{2}}_{\text{via Sat}} + \underbrace{\gamma_{3}\,\beta_{3}}_{\text{via Trust}}

Here γ4\gamma_4 is the service to satisfaction path, β2\beta_2 satisfaction to loyalty, γ3\gamma_3 service to trust and β3\beta_3 trust to loyalty, as in the four equations above. With the Chalkline numbers that is 0.38×0.52+0.44×0.27=0.198+0.119=0.320.38 \times 0.52 + 0.44 \times 0.27 = 0.198 + 0.119 = 0.32. Foundations: regression

DriverDirect effectIndirect effectTotal effectMain indirect routes
Satisfaction0.520.000.52none, it is the mediator
Service0.000.320.32via satisfaction 0.20, via trust 0.12
Value0.140.150.29via satisfaction 0.15
Trust0.270.000.27none
Food0.000.200.20via satisfaction 0.11, via value 0.09
Room0.000.100.10via value directly 0.05, via value then satisfaction 0.05

Line by line. Satisfaction is the biggest number and the least useful one: you cannot buy satisfaction directly, you buy the things that create it. Service totals 0.32, none of it direct. Value totals 0.14+0.29×0.52=0.290.14 + 0.29 \times 0.52 = 0.29. Food, the star of the £180,000 proposal, totals 0.20: 0.22×0.52=0.110.22 \times 0.52 = 0.11 through satisfaction, and 0.31×0.29=0.090.31 \times 0.29 = 0.09 through value, where 0.29 is value's own total effect. Room comes last at 0.35×0.29=0.100.35 \times 0.29 = 0.10, working only through the sense of fair value.

Two things to notice. First, food's effect on loyalty is real but only about two thirds of service's, and almost half of it runs through perceived value rather than pleasure. Guests do not come back for the breakfast. They come back because the breakfast made the room rate feel fair. Second, the simple correlations had food and service close together, 0.39 against 0.44. Food's correlation was borrowing strength from service, because the houses with the best kitchens also have the longest serving staff, and service and food correlate at 0.45 with each other.

An indirect effect is a product of two estimates, and products of estimates are not normally distributed. Preacher and Hayes showed that bootstrapping, refitting the model on a few thousand resamples of the respondents, gives honest confidence intervals for them.7 For Chalkline the 95% bootstrap interval for service's total effect runs from 0.26 to 0.38 and for food's from 0.14 to 0.26. They do not overlap, so the gap is not noise. Service at 0.32 and value at 0.29, on the other hand, sit inside each other's intervals and should be read as a tie.

Which driver matters most

Total standardised effect on loyalty: service 0.32, value 0.29, trust 0.27, food 0.20, room 0.10. Satisfaction is left out because it is the mediator, not a lever. Tap or click to open full screen and move around

Importance alone is still not the decision. The other half is current performance. On the survey's 1 to 10 scale, Chalkline's mean scores are:

LeverTotal effect on loyaltyMean score out of 10Reading
Service0.327.8high importance, low performance
Value0.297.6high importance, lowest performance
Trust0.278.1built by service, not bought on its own
Food0.208.7already the best rated thing the group does
Room0.108.3small lever, decent score

High importance with low performance is where money earns the most. Service and value both sit there. Food is already the best rated experience, and improvements at the top of a scale are hard to buy. It is the importance against performance logic of chapter 12, only now the importance numbers are total effects in a model that corrects for measurement error, rather than coefficients on averaged scores.

One honest note on consistency. In chapter 12 value came out as the strongest lever against the single recommendation question. Here, against a three question loyalty construct that includes booking direct, and with trust in the model, service edges ahead. The two are within each other's error bars. That is exactly why the decision below rests on performance and cost as well as importance.

Does the model fit, in plain words

There are dozens of fit statistics and every paper reports a different subset. Four are enough for a business decision, and they all start from the same counting exercise:

df=p (p+1)2−qdf = \frac{p\,(p+1)}{2} - q

Here pp is the number of survey questions in the model, p(p+1)2\frac{p(p+1)}{2} is the number of distinct variances and covariances among them, which is what the model has to reproduce, and qq is the number of free parameters the model estimates. The degrees of freedom dfdf are how many ways the data could disagree with the model. Foundations: matrices

Worked example: the Chalkline degrees of freedom

Seven constructs with three questions each make p=21p = 21, so there are 21×22/2=23121 \times 22 / 2 = 231 variances and covariances. The model estimates 21 loadings, 21 error variances, 9 structural paths and 3 correlations among the three levers, q=54q = 54. That leaves df=231−54=177df = 231 - 54 = 177.

The model's chi square statistic, 500 on 177 degrees of freedom here, measures how far the correlations the model implies sit from the observed ones. With 1,140 responses it is significant, p well below 0.001, and it would be for almost any real model. David Kenny's widely used guide puts it plainly: with 400 or more cases the chi square is almost always statistically significant, which is why alternative measures were developed.8 The three indices people actually read are built from it.

RMSEA=max⁡(χ2−df, 0)df (N−1)\text{RMSEA} = \sqrt{\frac{\max\left(\chi^2 - df,\ 0\right)}{df\,(N-1)}}

Here χ2\chi^2 is the model's chi square statistic, dfdf its degrees of freedom and NN the number of respondents. RMSEA, the root mean square error of approximation, is the misfit per degree of freedom, adjusted for sample size, so a model does not look better simply because it has more parameters. Zero is perfect.8 Foundations: hypothesis tests

CFI=1−max⁡(χM2−dfM, 0)max⁡(χ02−df0, χM2−dfM, 0)\text{CFI} = 1 - \frac{\max\left(\chi^2_M - df_M,\ 0\right)}{\max\left(\chi^2_0 - df_0,\ \chi^2_M - df_M,\ 0\right)}

Here χM2\chi^2_M and dfMdf_M belong to your model, and χ02\chi^2_0 and df0df_0 to the null model in which no question correlates with any other. CFI, Peter Bentler's comparative fit index, says how much of the null model's misfit your model removes. One is perfect.9 Foundations: hypothesis tests

Worked example: RMSEA and CFI for Chalkline

RMSEA: (500−177)/(177×1,139)=323/201,603=0.040\sqrt{(500 - 177) / (177 \times 1{,}139)} = \sqrt{323 / 201{,}603} = 0.040. For CFI the null model has 21 variances only, so df0=231−21=210df_0 = 231 - 21 = 210, and its chi square came out at 6,670. CFI is 1−323/(6,670−210)=1−323/6,460=0.951 - 323 / (6{,}670 - 210) = 1 - 323 / 6{,}460 = 0.95.

SRMR, the standardised root mean square residual, is simpler: the average gap between observed and model implied correlations. It has no penalty for complexity.8

The cut offs almost everyone quotes come from a single simulation study by Hu and Bentler in 1999: a CFI close to 0.95 or above, an RMSEA close to 0.06 or below and an SRMR close to 0.08 or below indicate relatively good fit, ideally reported as SRMR plus one other index rather than one index alone. They also found RMSEA tends to reject true models at small sample sizes.10

MeasureChalklineWhat it says in plain wordsHu and Bentler cut off
Chi square500 on 177 dfthe model is not a perfect copy of the data, as no model is at this sample sizenone useful at 1,140 responses
CFI0.95removes 95% of the misfit of a model where nothing correlatesclose to 0.95 or above
RMSEA0.040small misfit per degree of freedomclose to 0.06 or below
SRMR0.041observed and implied correlations differ by about 0.04 on averageclose to 0.08 or below

Chalkline passes all three. That means the structure drawn on the whiteboard reproduces the survey correlations well enough that no arrow is obviously missing. It does not mean the arrows are true. MacCallum and co authors showed in 1993 that many models have equivalent alternatives that fit exactly as well with some arrows reversed or replaced by correlations.11 Fit says the model is consistent with the data. It never says it is the only model that is.

The investment decision

Here is the memo for Anna, condensed. Each department head gave me their own estimate of what the money buys, and I treat those as inputs to test, not facts. The operations lead expects the service programme to lift perceived service by about 0.3 standard deviations within a year. The food and beverage lead expects the new breakfast to lift food perception by 0.4, which is ambitious for a score already at 8.7.

The money translation in one line:

ΔR=Δs×T×k×S×r\Delta R = \Delta s \times T \times k \times S \times r

Here Δs\Delta s is the expected lift in the lever in standard deviations, TT its total effect on loyalty, kk the change in the rebooking rate per standard deviation of loyalty, SS the number of stays a year and rr the revenue of a returning stay. ΔR\Delta R is the extra revenue a year. Foundations: percentages and Foundations: regression

The link from intention to behaviour, kk, comes from linking last season's respondents to the booking system, which I only do where the survey's privacy notice told guests their answers would be matched to their bookings. Guests one standard deviation higher on the loyalty construct rebooked within 18 months at a rate about 7 percentage points higher, with a 95% interval of 4 to 10 points, against a base rate of 31%. Chalkline sells about 29,000 stays a year, and a returning stay brings about £420: 2.2 nights at £165 plus £57 at breakfast and the bar.

Worked example: service against breakfast

Service: 0.3×0.32=0.0960.3 \times 0.32 = 0.096 standard deviations of loyalty. At 7 points per standard deviation that is 0.096×7=0.6720.096 \times 7 = 0.672 points more rebooking, 0.00672×29,000=1950.00672 \times 29{,}000 = 195 extra returning stays and 195×£420≈£81,900195 \times £420 \approx £81{,}900 a year. Across the interval of 4 to 10 points the range is about £47,000 to £117,000.

Breakfast: 0.4×0.20=0.080.4 \times 0.20 = 0.08 standard deviations, 0.08×7=0.560.08 \times 7 = 0.56 points, 0.0056×29,000=1620.0056 \times 29{,}000 = 162 extra stays and 162×£420≈£68,000162 \times £420 \approx £68{,}000 a year. The range is about £39,000 to £97,000.

At the central estimate the service programme pays back its £120,000 in revenue in about a year and a half, the breakfast its £180,000 in about two years and eight months. That is revenue, not profit. With the group's own margin on an extra stay both paybacks stretch, and that margin adjusted figure is the one the programme should be held to. Service wins on effect and on cost, even with the more cautious assumption.

The risk I named: run per house, the service effect is carried mostly by two of the five hotels, the two with the highest reception turnover. If the programme does not fix turnover, the coefficient will not move. Value, the worst rated lever and a near tie for importance, needs no budget at all: chapter 12 already found that the extras, parking, spa access and the minibar, are the sore point, and that is a pricing decision. The recommendation was the extras pricing now, service this year, breakfast reconsidered next year, and the same survey again in twelve months to see whether the arrows moved.

Running it yourself

You need a survey with at least three questions per construct, five to ten point scales, a theory drawn before the estimation, and enough responses. The commonly quoted rules of thumb are ten responses per free parameter or a flat minimum of 200. A Monte Carlo study by Wolf and co authors found the real requirement ranged from 30 to 460 cases depending on the number of factors, the strength of the loadings and the amount of missing data, and that the rules of thumb do not hold up.12 Chalkline's 54 parameters and 1,140 responses are comfortable on any reading. For a new model with weak loadings, simulate before you survey. Foundations: sample size

The workflow in R with lavaan, which is free and open source:13

library(lavaan)

model <- '
  # measurement model
  Service =~ svc1 + svc2 + svc3
  Food    =~ food1 + food2 + food3
  Room    =~ room1 + room2 + room3
  Value   =~ val1 + val2 + val3
  Trust   =~ tru1 + tru2 + tru3
  Sat     =~ sat1 + sat2 + sat3
  Loyalty =~ loy1 + loy2 + loy3

  # structural model, with labelled paths
  Value   ~ g1*Food + g2*Room
  Trust   ~ g3*Service
  Sat     ~ g4*Service + g5*Food + b1*Value
  Loyalty ~ b2*Sat + b3*Trust + b4*Value

  # total effects on loyalty
  service_total := g4*b2 + g3*b3
  food_total    := g5*b2 + g1*(b4 + b1*b2)
'

fit <- sem(model, data = survey, estimator = "MLR", std.lv = TRUE)
summary(fit, standardized = TRUE, fit.measures = TRUE)

# bootstrap intervals for the indirect and total effects
fit_boot <- sem(model, data = survey, std.lv = TRUE, se = "bootstrap", bootstrap = 2000)
parameterEstimates(fit_boot, boot.ci.type = "perc", standardized = TRUE)

The MLR estimator gives maximum likelihood estimates with robust standard errors and a scaled test statistic, which matters because survey scales are never truly normal.14 std.lv = TRUE fixes each construct's variance, or residual variance for an outcome, at one, so every loading is estimated and comparable.15 The := lines define new parameters from labelled paths, which is how lavaan reports indirect and total effects, and se = "bootstrap" gives the resampled intervals.16 The labelled totals are in the model's raw units, so read their standardised values in the std.all column.

From clean survey data to a defensible model is about a week of work: two days on the measurement model, a day fitting and checking the structural model, a day on the effects and the money translation, a day writing it up. The checks before I trust it: every loading at roughly 0.7 or more, every AVE above 0.5, the Fornell and Larcker criterion met for every pair of constructs, CFI, RMSEA and SRMR within the Hu and Bentler ranges, and the same structure fitting acceptably in each house separately. If the model only works pooled, one house is doing all the talking.

When the sample is small: PLS

Covariance based SEM, which is everything above, wants a few hundred responses and behaves badly below that. A Leeds law firm with 85 client survey responses, or a Manchester software company with 140 trial users, cannot run it honestly. For them the alternative is partial least squares SEM.

PLS builds each construct as a weighted composite of its questions and runs ordinary regressions among the composites, iterating until the weights stop changing. It copes with small samples and makes no normality assumption, and it handles constructs that are formed by their indicators rather than reflected in them, such as an "onboarding effort" construct made of time to first invoice, support tickets and the number of settings changed. Hair and co authors' 2019 guide is the standard reference for when to use it and how to report it.6 Fornell's own satisfaction index was estimated this way.2

The price is that PLS has no global fit test worth the name, and with reflective constructs like the ones in this article its estimates are inconsistent: loadings come out too high and paths too low. Dijkstra and Henseler's consistent PLS corrects this.17 I use PLS to rank levers when the sample is small, and say so in the memo. I do not use it to claim a theory is confirmed.

Pitfalls

Cross sectional causality. Every arrow in the Chalkline model comes from one survey at one moment. The arrow from satisfaction to loyalty could partly run the other way: guests who already feel loyal rate their stay kindly. SEM cannot rescue you from that. Only time can. Two survey waves, or a survey linked to actual rebooking twelve months later, turn a plausible model into a defensible one.

Fitting the model to the data. Software will print modification indices telling you which extra arrow would improve fit most. Adding them one at a time until CFI looks nice is the SEM version of p hacking. MacCallum and co authors showed in 1992 that such data driven modifications capitalise on chance and often fail to replicate in a new sample.18 If you change the structure after seeing the data, say so, and treat the result as a hypothesis for the next survey.

Too many constructs for the sample. Each construct adds loadings, error variances and paths. A twelve construct model on 250 responses will estimate, but its standard errors will be wide and it will fit the noise. Fewer constructs, measured well, beat many constructs measured once each.

Everything from one questionnaire. When the same guest answers every question in the same mood on the same afternoon, part of every correlation is that mood. This is common method variance, and Podsakoff and co authors' review of it is the standard reference on both the problem and the remedies.19 Using behavioural data, actual rebooking or actual spend, for at least one construct is the cleanest fix.

Reading standardised paths as pounds. A path of 0.32 is not 32% of anything. It is a ratio of standard deviations. The translation to money needs a separate, honest link from the loyalty construct to observed behaviour, with its own uncertainty. That step is where most SEM decks go quiet, and it is the step the owner cares about.

Skipping the measurement model. If two of your constructs are really one, or one is really two, every structural coefficient is wrong. Twenty minutes with the loadings and the AVE table saves a week of arguing about arrows that do not mean what you think.

How I do this for clients

It starts with the free workshop, where I want three things on the table: the survey you have or want, the business decision hanging on it, and any behavioural data that can be tied to respondents, even if it is only whether they bought again. If the survey does not exist yet, we design it there: three questions per construct, and the theory drawn on a whiteboard before anyone writes a question.

Then two weeks of real work on me, before you commit to anything. In that time I clean the responses, build and test the measurement model, fit the structural model, run it per segment or per location, and translate the total effects into a money range with error bars. You get the path diagram with coefficients, the effects table, the fit summary in plain words and a two page decision memo: which lever, the expected impact as a range, the main risk, and what to measure to know whether it worked. Your raw data stays yours, and the terms for code and models are in the analytics and data science terms.

If you want the drivers monitored rather than measured once, the model can run every quarter on your ongoing survey and booking or order data and answer one question: which experience is moving loyalty this quarter. That belongs with my Data Science work, and where the answer turns into campaigns or a retention programme, my Performance Marketing side picks it up. Costs are on the pricing page: a fixed scope for the model and memo, a monthly figure if you want it kept alive.

Questions to ask before you spend

  • Which survey questions measure which construct, and was that decided before or after looking at the data?
  • What are the loadings, the composite reliability and the AVE for each construct, and was any question dropped or moved?
  • What does one standard deviation of service actually look like in our operation?
  • What is the total effect of each lever, not just the direct arrow, and how wide is its bootstrap interval?
  • Where does our current performance sit against each driver?
  • How was loyalty intention linked to observed behaviour, and how wide is the error bar on that link?
  • Does the same structure hold in each location or segment, or only in the pooled sample?
  • When do we survey again to see whether the arrows moved?

The series is inspired by Mike Grigsby's Marketing Analytics.20 The explanations, examples and numbers here are my own.

Sources

If you have a customer survey and a budget argument nobody can settle, bring the questionnaire and the decision to the free workshop. Then I put the first two weeks of work in, on me: whether the constructs hold up, whether the sample is big enough for a full model or needs the lighter PLS route, and a memo with a number and a risk.

Sources

  1. 1.

    Charles Spearman, The Proof and Measurement of Association between Two Things, The American Journal of Psychology, volume 15, issue 1, 1904, pages 72 to 101, https://doi.org/10.2307/1412159

  2. 2.

    Claes Fornell, Michael D. Johnson, Eugene W. Anderson, Jaesung Cha and Barbara Everitt Bryant, The American Customer Satisfaction Index: Nature, Purpose, and Findings, Journal of Marketing, volume 60, issue 4, 1996, pages 7 to 18, https://doi.org/10.1177/002224299606000403

  3. 3.

    Richard L. Oliver, Whence Consumer Loyalty?, Journal of Marketing, volume 63, special issue, 1999, pages 33 to 44, https://doi.org/10.1177/00222429990634s105

  4. 4.

    Alan S. Dick and Kunal Basu, Customer Loyalty: Toward an Integrated Conceptual Framework, Journal of the Academy of Marketing Science, volume 22, issue 2, 1994, pages 99 to 113, https://doi.org/10.1177/0092070394222001

  5. 5.

    Claes Fornell and David F. Larcker, Evaluating Structural Equation Models with Unobservable Variables and Measurement Error, Journal of Marketing Research, volume 18, issue 1, 1981, pages 39 to 50, https://doi.org/10.1177/002224378101800104

  6. 6.

    Joseph F. Hair, Jeffrey J. Risher, Marko Sarstedt and Christian M. Ringle, When to use and how to report the results of PLS-SEM, European Business Review, volume 31, issue 1, 2019, pages 2 to 24, https://doi.org/10.1108/EBR-11-2018-0203

  7. 7.

    Kristopher J. Preacher and Andrew F. Hayes, Asymptotic and resampling strategies for assessing and comparing indirect effects in multiple mediator models, Behavior Research Methods, volume 40, issue 3, 2008, pages 879 to 891, https://doi.org/10.3758/BRM.40.3.879

  8. 8.

    David A. Kenny, Measuring Model Fit (chi square and sample size, RMSEA, CFI and SRMR formulas), https://davidakenny.net/cm/fit.htm

  9. 9.

    Peter M. Bentler, Comparative fit indexes in structural models, Psychological Bulletin, volume 107, issue 2, 1990, pages 238 to 246, https://doi.org/10.1037/0033-2909.107.2.238

  10. 10.

    Hu and Bentler, Cutoff criteria for fit indexes in covariance structure analysis: Conventional criteria versus new alternatives, Structural Equation Modeling: A Multidisciplinary Journal, volume 6, issue 1, 1999, pages 1 to 55, https://doi.org/10.1080/10705519909540118

  11. 11.

    Robert C. MacCallum, Duane T. Wegener, Bert N. Uchino and Leandre R. Fabrigar, The problem of equivalent models in applications of covariance structure analysis, Psychological Bulletin, volume 114, issue 1, 1993, pages 185 to 199, https://doi.org/10.1037/0033-2909.114.1.185

  12. 12.

    Erika J. Wolf, Kelly M. Harrington, Shaunna L. Clark and Mark W. Miller, Sample Size Requirements for Structural Equation Models: An Evaluation of Power, Bias, and Solution Propriety, Educational and Psychological Measurement, volume 73, issue 6, 2013, pages 913 to 934, https://doi.org/10.1177/0013164413495237

  13. 13.

    Yves Rosseel, lavaan: An R Package for Structural Equation Modeling, Journal of Statistical Software, volume 48, issue 2, 2012, https://doi.org/10.18637/jss.v048.i02

  14. 14.

    lavaan project, Estimators (ML, MLM, MLR and others), lavaan tutorial, https://lavaan.ugent.be/tutorial/est.html

  15. 15.

    lavaan, lavOptions reference (std.lv), CRAN reference manual, https://search.r-project.org/CRAN/refmans/lavaan/html/lavOptions.html

  16. 16.

    lavaan project, Mediation (defined parameters with := and bootstrap standard errors), lavaan tutorial, https://lavaan.ugent.be/tutorial/mediation.html

  17. 17.

    Theo K. Dijkstra and Jörg Henseler, Consistent Partial Least Squares Path Modeling, MIS Quarterly, volume 39, issue 2, 2015, pages 297 to 316, https://doi.org/10.25300/MISQ/2015/39.2.02

  18. 18.

    Robert C. MacCallum, Mary Roznowski and Lawrence B. Necowitz, Model modifications in covariance structure analysis: The problem of capitalization on chance, Psychological Bulletin, volume 111, issue 3, 1992, pages 490 to 504, https://doi.org/10.1037/0033-2909.111.3.490

  19. 19.

    Podsakoff and others, Common Method Biases in Behavioral Research: A Critical Review of the Literature and Recommended Remedies, Journal of Applied Psychology, volume 88, issue 5, 2003, pages 879 to 903, https://doi.org/10.1037/0021-9010.88.5.879

  20. 20.

    Mike Grigsby, Marketing Analytics: A Practical Guide to Improving Consumer Insights Using Data Techniques, Kogan Page, 2022, ISBN 9781398608191, https://www.netgalley.co.uk/catalog/book/267990

Shelter

I’m running the London Marathon for Shelter. Sunday 25 April 2027

My personal fundraiser. Shelter, the National Campaign for Homeless People Limited, registered charity 263710 (England and Wales) and SC002327 (Scotland), registered with the Fundraising Regulator.