betaFeedback

WorksMathematics

Mediation and moderation in distance-based regression with triangular fuzzy data: simulation evidence and an application to academic performance

Abstract

We study mediation and moderation in the distance-based regression model for triangular fuzzy responses, in which the center and transformed spreads of the response are linear in the components of fuzzy and crisp covariates. With a common design, componentwise least squares minimizes the unconstrained quadratic extension of the Yang–Ko distance on the transformed scale, for any choice of its shape parameters. Direct, indirect and total effects are defined separately for the center and the spreads of the response as plug-in contrasts on the fitted equations; when the mediator spreads are transformed and carry part of the indirect association, the product-of-coefficients rule no longer holds for the center. Moderation is modeled through triangular interaction regressors and tested with a Freedman–Lane permutation test. In simulations calibrated on real data, percentile bootstrap intervals for the indirect effects had coverage between 0.905 and 0.975, the empirical size of the indirect-effect tests did not exceed 0.085, and ignoring the paths through the mediator spreads biased the indirect effect on the center by 16 to 20% at every sample size. The fuzzy model predicted better than a centers-only model only from n=250n=250. In data on 91 university students collected in 2014, the indirect contrast through a course indicator accounted for about half of the model-based association between prior knowledge and the center of academic performance, the interactions of prior knowledge with sex and with motivation remained after a Holm adjustment, and the spreads of the covariates did not improve leave-one-out prediction.

Introduction

Classical statistical modeling is traditionally grounded on the assumption that observations are precisely measured and that variables can be represented by single numerical values. In many real empirical contexts, however, this assumption is hardly tenable. Imprecision, vagueness and partial knowledge often affect the measurement process, the data collection phase, or even the conceptual definition of the variables under study. When such features are ignored and imprecise data are forcibly reduced to crisp values, a non negligible loss of information may occur, leading to models that provide a simplified and sometimes misleading representation of the underlying phenomena.

The mathematical foundations for dealing with vagueness were laid by Zadeh [1], who introduced fuzzy sets as a generalization of classical set theory, while the analytic formalism of the operations on fuzzy sets was studied by Bellman and Giertz [2]. Subsequent contributions by Zadeh [3] and Zadeh [4] further developed the formal apparatus of fuzzy logic, introducing fuzzy algorithms and linguistic variables as key tools for approximate reasoning. These works established fuzzy logic as a coherent mathematical framework for representing gradual concepts and imprecise information.

A conceptual distinction within this framework concerns the difference between fuzziness and probability. As emphasized by Kosko [5] and further discussed in Kosko [6], probability theory models randomness and stochastic uncertainty, while fuzzy theory addresses vagueness as an intrinsic property of information. This distinction has been systematically analyzed within generalized information theory, see for instance Klir and Yuan [7] and Klir [8]. In this perspective, fuzziness is not interpreted as epistemic uncertainty but as structural imprecision, which persists even in the presence of complete information.

Within fuzzy set theory, fuzzy numbers represent imprecise numerical quantities. Comprehensive treatments of fuzzy sets and fuzzy numbers are provided in the classical monographs by Dubois and Prade [9], Zimmermann [10] and Klir and Yuan [7]. These contributions show how fuzzy numbers allow one to represent central tendency and dispersion simultaneously, preserving information that would otherwise be lost through crisp approximation. Alternative representations and operations for fuzzy numbers, including bell shaped fuzzy numbers associated with classical distributions, have been proposed and discussed in applied statistical contexts, see Maturo and Fortuna [11].

The presence of fuzzy valued data motivates the extension of classical statistical models to accommodate imprecision. In the context of regression analysis, early contributions include fuzzy least squares approaches such as those proposed by Celmins [12] and Diamond [13], which extend the least squares criterion to fuzzy vector data. These ideas were later formalized within a probabilistic framework through the concept of fuzzy random variables introduced by Puri and Ralescu [14], and further developed in regression settings by Näther [15]. Inferential aspects for fuzzy random variables, including variance based testing procedures, are discussed in Ramos-Guajardo et al. [16].

A parallel line of research developed fuzzy regression models based on possibilistic semantics and inclusion constraints, as in Peters [17] and in the monograph by Tanaka and Guo [18]. Although these approaches played an important historical role, they interpret fuzziness mainly through possibility theory and model uncertainty, which is not always appropriate when fuzziness characterizes the observed data themselves rather than the underlying data generating process.

Distance-based fuzzy regression models depart from possibilistic interpretations: in them, fuzzy responses and predictors are treated as primitive data objects. In this framework, estimation is performed by minimizing suitable distance measures between observed and fitted fuzzy quantities, leading to a descriptive statistical interpretation of fuzziness. Coppi et al. [19] proposed a least squares regression model for LR fuzzy responses based on the distance of Yang and Ko [20]. Foundational contributions in this direction are provided by González-Rodríguez et al. [21], who propose estimation procedures for linear regression models with fuzzy random variables, and by Ferraro et al. [22], who introduce a linear regression model for imprecise responses in which the center and suitable invertible transformations of the spreads are modeled separately, so that fitted spreads are positive by construction. A determination coefficient for such models is subsequently developed in Ferraro et al. [23], and fuzzy explanatory variables are accommodated in the multiple regression model of Ferraro and Giordani [24]. Asymptotic properties of least squares estimators in regression models with vague concepts are investigated by Krätschmer [25, 26]. Comparative analyses between fuzzy and classical statistical regression models are discussed in Kim et al. [27] and Wang and Tsaur [28].

The present work belongs to the distance-based and descriptive tradition of fuzzy regression, in which fuzziness is interpreted as a structural property of the observed data rather than as epistemic uncertainty. This perspective has been adopted in economic and social sciences, where fuzzy regression models and alternative fuzzy operations have been proposed to address complex empirical phenomena involving vagueness, heterogeneity and partial observability, see for instance Maturo and Maturo [29], Maturo and Hošková-Mayerová [30]. In the same descriptive spirit, fuzzy extensions have been proposed for other statistical tools, such as centrality measures for social networks in which the strength of the relations is a fuzzy quantity, with an application to a university department [31]. A broader methodological discussion on the joint treatment of randomness and vagueness in applied sciences is provided in Maturo [32].

Mediation and moderation are central in the analysis of relational structures [33, 34, 35]. Recent contributions have started to address them for fuzzy data. Yoon [36] introduced fuzzy moderation and moderated mediation models estimated by fuzzy least squares, with an L2L_2-type metric defined through support functions, fuzzy-valued coefficients and indirect effects obtained as products of path coefficients. Shin et al. [37] extended this line to multiple moderators with L1L_1 and L2L_2 metrics, estimated by evolutionary algorithms and neural networks, and Kang et al. [38] combined fuzzy least squares and fuzzy least absolute deviations with bootstrap inference for fuzzy mediation. These approaches rely on fuzzy arithmetic for the coefficients and estimate the model with optimization algorithms. They differ from the componentwise model of Coppi et al. [19] and Ferraro et al. [22], in which the coefficients are real numbers, the spreads are modeled on a transformed scale and the estimator has a closed form. To our knowledge, mediation and moderation effects have not yet been formally defined within this componentwise model. In this model the product-of-coefficients rule for indirect effects no longer holds in general once the spreads are transformed.

The contribution of this paper is fivefold.

  1. We show that, with a common design for the three component equations, componentwise least squares exactly minimizes the unconstrained quadratic extension of the Yang–Ko distance between observed and fitted fuzzy responses on the transformed scale, whatever its shape parameters (Proposition 1). This clarifies which distance the estimator minimizes and yields closed-form leave-one-out validation.

  1. We define direct, indirect and total effects separately for the center and the spreads of the fuzzy response as plug-in contrasts on the fitted structural equations (Definition 1). We characterize when they reduce to the product-of-coefficients rule (Proposition 2) and treat fuzzy, crisp quantitative and crisp categorical predictors and mediators.

  1. We define moderation through interaction regressors that remain triangular fuzzy numbers. We derive the corresponding conditional effects and propose a Freedman–Lane permutation test for the interaction block that uses the same distance as the estimator.

  1. We assess finite-sample behavior through a Monte Carlo experiment calibrated on the empirical estimates and a plasmode experiment that resamples the observed covariates, reporting bias, root mean squared error, interval coverage, empirical size and power together with their Monte Carlo standard errors, and we isolate the bias of crisp analyses that omit some or all of the spreads.

  1. We illustrate the methodology on data on university students collected in 2014 with a questionnaire based on triangular fuzzy assessments, and provide a single reproducible R pipeline.

The paper is organized as follows. § 2 introduces fuzzy numbers, the operations used in the paper and the Yang–Ko distance. § 3 presents the regression model, the estimator and the tools for model assessment and inference. § 4 defines mediation effects, and § 5 defines moderation effects. § 6 reports the simulation studies, § 7 the empirical application, and § 8 discusses limitations and future research.

Preliminaries on fuzzy sets and fuzzy numbers

Classical logic and classical set theory are based on the assumption that the membership of an element to a set is a binary property. An element either belongs to a set or it does not, and no intermediate states are allowed. While this framework is mathematically rigorous and computationally efficient, it proves inadequate for representing many concepts arising in real data. analysis, where boundaries are often vague and gradual transitions are more realistic than sharp thresholds.

Fuzzy logic, introduced by Zadeh [1], extends classical logic by allowing degrees of membership ranging continuously in the unit interval. This extension is particularly suitable for modeling linguistic concepts, subjective evaluations and imprecise measurements, which cannot be adequately captured by crisp categories. Fuzziness should not be confused with randomness: membership functions do not represent probabilities and do not satisfy the axioms of probability theory [5, 8]. In the statistical framework adopted in this paper, the two notions coexist: the statistical units are randomly sampled, while the value observed on each unit is a fuzzy number [14, 22].

Fuzzy sets

Let X\mathcal{X} be a non empty universe of discourse. A fuzzy set AA in X\mathcal{X} is defined by a membership function μA:X→[0,1]\mu_A : \mathcal{X} \to[0,1], where μA(x)\mu_A(x) represents the degree to which x∈Xx \in\mathcal{X} belongs to AA. When μA\mu_A takes only the values 0 and 1, the fuzzy set reduces to a crisp set. Union, intersection and complement are commonly defined as μA∪B(x)=max⁡{μA(x),μB(x)}\mu_{A\cup B}(x) = \max\{\mu_A(x),\mu_B(x)\}, μA∩B(x)=min⁡{μA(x),μB(x)}\mu_{A\cap B}(x) = \min\{\mu_A(x),\mu_B(x)\} and μAc(x)=1−μA(x)\mu_{A^c}(x) = 1-\mu_A(x).

Triangular fuzzy numbers

A fuzzy number A~\widetilde{A} is a fuzzy set on R\mathbb{R} whose membership function is normal, convex, upper semicontinuous and has bounded support [9, 10]; its α\alpha-cuts A~α={x:μA~(x)≥α}\widetilde{A}_{\alpha} = \{x : \mu_{\widetilde{A}}(x) \ge\alpha\}, α∈(0,1]\alpha\in(0,1], are closed intervals. An LR fuzzy number is written A~=(am,al,ar)LR\widetilde{A} = (a_m,a_l,a_r)_{LR}, where ama_m is the center and al,ar≥0a_l,a_r \ge0 are the left and right spreads, and μA~(x)=L((am−x)/al)\mu_{\widetilde{A}}(x) = L((a_m-x)/a_l) for x≤amx \le a_m and R((x−am)/ar)R((x-a_m)/a_r) for x≥amx \ge a_m, with LL and RR non-increasing shape functions such that L(0)=R(0)=1L(0) = R(0) = 1 [9]. Triangular fuzzy numbers (TFNs) correspond to L(z)=R(z)=max⁡{0,1−z}L(z) = R(z) = \max\{0,1-z\}. For al,ar>0a_l,a_r > 0 the membership function is

μA~(x)={1−am−xal,am−al≤x≤am,1−x−amar,am≤x≤am+ar,0,otherwise,(1)\mu_{\widetilde{A}}(x) = \begin{cases} 1-\dfrac{a_m-x}{a_l}, & a_m-a_l \le x \le a_m,\\ 1-\dfrac{x-a_m}{a_r}, & a_m \le x \le a_m+a_r,\\ 0, & \text{otherwise}, \end{cases} \tag*{(1)}

with α\alpha-cuts

A~α=[am−(1−α)al, am+(1−α)ar],α∈(0,1].(2)\widetilde{A}_{\alpha} = \left[a_m-(1-\alpha)a_l,\ a_m+(1-\alpha)a_r\right], \qquad\alpha\in(0,1]. \tag*{(2)}

Since the spreads may be zero in the application, we take (2) as the definition of a TFN: it is valid for all al,ar≥0a_l,a_r \ge0, and a zero spread corresponds to a vertical side of the triangle, where (1) is not defined. The center ama_m is the most plausible value, and the spreads quantify the imprecision on each side of it. The support is [am−al,am+ar][a_m-a_l,a_m+a_r]. Throughout the paper, fuzzy quantities are written as triples (center, left spread, right spread). A crisp value xx is the degenerate TFN (x,0,0)(x,0,0).

Trapezoidal fuzzy numbers generalize TFNs by allowing a flat core interval, while bell shaped fuzzy numbers provide smoother membership functions. In the present work, TFNs are adopted for both theoretical developments and empirical analysis, as they offer a convenient balance between flexibility and analytical tractability.

Operations and distance

For TFNs A~=(am,al,ar)\tilde{A}=(a_m,a_l,a_r) and B~=(bm,bl,br)\tilde{B}=(b_m,b_l,b_r) and a real number cc, the extension principle gives

A~⊕B~=(am+bm,al+bl,ar+br),c⊙A~={(cam,cal,car),c≥0,(cam,∣c∣ar,∣c∣al),c<0,(3)\tilde{A}\oplus\tilde{B}=(a_m+b_m,a_l+b_l,a_r+b_r),\qquad c\odot\tilde{A}= \begin{cases} (ca_m,ca_l,ca_r), & c\ge0,\\ (ca_m,\lvert c\rvert a_r,\lvert c\rvert a_l), & c<0, \end{cases} \tag*{(3)}

so that sums and crisp multiples of TFNs are TFNs. The product of two TFNs is not triangular. For positive TFNs (am−al≥0,bm−bl≥0)(a_m-a_l\ge0,b_m-b_l\ge0), the α\alpha-cuts of the exact product are

[(am−(1−α)al)(bm−(1−α)bl), (am+(1−α)ar)(bm+(1−α)br)]\left[(a_m-(1-\alpha)a_l)(b_m-(1-\alpha)b_l),\ (a_m+(1-\alpha)a_r)(b_m+(1-\alpha)b_r)\right]

whose endpoints are quadratic in α\alpha. Dropping the quadratic terms gives the classical triangular approximation [9]

A~⊗B~≈(ambm,ambl+bmal,ambr+bmar)(4)\tilde{A}\otimes\tilde{B}\approx(a_mb_m,a_mb_l+b_ma_l,a_mb_r+b_ma_r) \tag*{(4)}

which preserves the core exactly. Relative to the exact product, the approximation overstates the left spread by albla_lb_l and understates the right spread by arbra_rb_r, so that both endpoints of its support lie below the exact ones by these amounts. In particular, the approximate product of two positive TFNs can have a partly negative support: for A~=B~=(1,0.8,0.8)\tilde{A}=\tilde{B}=(1,0.8,0.8) it is (1,1.6,1.6)(1,1.6,1.6), with support [−0.6,2.6][-0.6,2.6], whereas the exact support is [0.04,3.24][0.04,3.24].

Following Coppi et al. [19] and Ferraro et al. [22], the discrepancy between LR fuzzy numbers is measured by the distance of Yang and Ko [20],

Dλρ2(A~,B~)=(am−bm)2+[(am−λal)−(bm−λbl)]2+[(am+ρar)−(bm+ρbr)]2,(5)D_{\lambda\rho}^{2}(\tilde{A},\tilde{B})=(a_m-b_m)^2+\left[(a_m-\lambda a_l)-(b_m-\lambda b_l)\right]^2+\left[(a_m+\rho a_r)-(b_m+\rho b_r)\right]^2, \tag*{(5)}

where λ=∫01L−1(ω) dω\lambda=\int_{0}^{1}L^{-1}(\omega)\,\mathrm{d}\omega and ρ=∫01R−1(ω) dω\rho=\int_{0}^{1}R^{-1}(\omega)\,\mathrm{d}\omega account for the shape of the membership function. For TFNs, λ=ρ=1/2\lambda=\rho=1/2. With λ=ρ=1\lambda=\rho=1, (5) compares the three vertices of the triangles, as in the fuzzy least squares criterion of Diamond [13].

Distance based measures provide a natural way to quantify the discrepancy between observed and fitted fuzzy quantities and form the basis for fuzzy least squares estimation. Within this framework, fuzzy numbers are treated as data objects endowed with a metric structure, allowing the extension of classical statistical techniques to settings characterized by imprecision.

Distance-based fuzzy regression model

Regression analysis represents one of the most widely used tools in statistical modeling for studying the relationship between a response variable and one or more explanatory variables. In many empirical contexts, measurements may be affected by imprecision, aggregation, subjectivity or linguistic assessment, leading to observations that are more appropriately represented by fuzzy numbers rather than single values. In this work, we focus on fuzzy regression models in which fuzziness is treated as a structural property of the observed variables, rather than as uncertainty on the model parameters, consistently with the distance based framework of Coppi et al. [19], González-Rodríguez et al. [21], Ferraro et al. [22] and Ferraro et al. [23].

Model specification

Let Y~i=(Yim,Yil,Yir)\tilde{Y}_i=(Y_{im},Y_{il},Y_{ir}), i=1,…,ni=1,\ldots,n, be a triangular fuzzy response with Yil,Yir≥0Y_{il},Y_{ir}\ge0. Let X~ti=(Xtim,Xtil,Xtir)\tilde{X}_{ti}=(X_{tim},X_{til},X_{tir}), t=1,…,qt=1,\ldots,q, be fuzzy covariates and T1i,…,TsiT_{1i},\ldots,T_{si} crisp covariates. Collect the intercept, the centers and spreads of the fuzzy covariates and the crisp covariates in the row vector

xiT=(1,X1im,X1il,X1ir,…,Xqim,Xqil,Xqir,T1i,…,Tsi)∈Rp,p=1+3q+s,(6)\mathbf{x}_i^{\mathsf{T}}=\left(1,X_{1im},X_{1il},X_{1ir},\ldots,X_{qim},X_{qil},X_{qir},T_{1i},\ldots,T_{si}\right)\in\mathbb{R}^{p},\qquad p=1+3q+s, \tag*{(6)}

and let X\mathbf{X} be the n×pn\times p design matrix with rows xiT\mathbf{x}_i^{\mathsf{T}}. The model is

Yim=xiTam+εim,g(Yil)=xiTal+εil,h(Yir)=xiTar+εir,(7)Y_{im}=\mathbf{x}_i^{\mathsf{T}}\mathbf{a}_m+\varepsilon_{im},\qquad g(Y_{il})=\mathbf{x}_i^{\mathsf{T}}\mathbf{a}_l+\varepsilon_{il},\qquad h(Y_{ir})=\mathbf{x}_i^{\mathsf{T}}\mathbf{a}_r+\varepsilon_{ir}, \tag*{(7)}

where am\mathbf{a}_m, al\mathbf{a}_l, ar∈Rp\mathbf{a}_r \in\mathbb{R}^p are real coefficient vectors and g,h:[0,∞)→[0,∞)g,h:[0,\infty)\to[0,\infty) are invertible transformations. Ferraro et al. [22] use g=h=log⁡g=h=\log, which requires strictly positive spreads. Since some recorded spreads in the application are exactly zero, we use g=h=log⁡(1+⋅)g=h=\log(1+\cdot), which is finite at zero. Because the linear predictor of a transformed spread can be negative, the back-transformation is followed by a nonnegative projection, which produces admissible, possibly zero, fitted spreads. Predicted spreads are projected by π(η)=max⁡{0,exp⁡(η)−1}\pi(\eta)=\max\{0,\exp(\eta)-1\}. Componentwise least squares remains the exact minimizer of the quadratic transformed-scale objective before projection, but it need not minimize the original-scale Yang–Ko discrepancy after projection. Model (7) is the specification of Ferraro et al. [22] with fuzzy covariates entering through their centers and spreads, along the lines of Ferraro and Giordani [24]. Different components of a fuzzy covariate may therefore affect the center and the imprecision of the response in different ways. A crisp covariate enters with its value only, because its spreads are zero. In what follows, Φ(Y~i)=(Yim,g(Yil),h(Yir))\Phi(\widetilde{Y}_i)=(Y_{im},g(Y_{il}),h(Y_{ir})) denotes the transformed response and YΦ\mathbf{Y}_{\Phi} the n×3n\times3 matrix with rows Φ(Y~i)\Phi(\widetilde{Y}_i).

Assumption 1. (A1)(A1) The units (xi,Y~i)(\mathbf{x}_i,\widetilde{Y}_i) are independent and identically distributed.

(A2)(A2) E(ϵik∣xi)=0\mathbb{E}(\epsilon_{ik}\mid\mathbf{x}_i)=0 for k∈{m,l,r}k\in\{m,l,r\}, with finite second moments.

(A3)(A3) X\mathbf{X} has full column rank pp.

No distributional assumption is imposed on the residual discrepancies: normality and homoscedasticity are not required, and the three residuals of a unit may be correlated. Assumption (A1) refers to the sampling of units. It is the standard framework of fuzzy random variables [14, 15, 22], in which the fuzzy value observed on each unit is a data object and not a realization of a latent crisp quantity. Assumption (A1) is what justifies the bootstrap inference of § 3.5. Assumption (A3) ensures identifiability. It fails, for instance, when a covariate is an exact linear function of another one.

Estimation

Let A=[am,al,ar]\mathbf{A}=[\mathbf{a}_m,\mathbf{a}_l,\mathbf{a}_r] be the p×3p\times3 coefficient matrix. The estimator minimizes the sum of Yang–Ko discrepancies between the observed and fitted transformed responses,

S(A)=∑i=1nDλρ2(Φ(Y~i),xiTA),(8)S(\mathbf{A})=\sum_{i=1}^{n}D_{\lambda\rho}^{2}\left(\Phi(\widetilde{Y}_i),\mathbf{x}_i^{\mathsf{T}}\mathbf{A}\right), \tag*{(8)}

where the expression (5) is applied to the triples formed by the center and the transformed left and right spreads. Formula (5) is a quadratic form in the differences of the three coordinates and is defined for any pair of real triples. The minimization in (8) is over all A∈Rp×3\mathbf{A} \in\mathbb{R}^{p \times3}, without constraints: a fitted transformed spread xiTal\mathbf{x}_i^{\mathsf{T}}\mathbf{a}_l may be negative and is then not the image under gg of an admissible spread. Criterion (8) is therefore the unconstrained quadratic extension of the Yang–Ko distance to R3\mathbb{R}^{3}, and it coincides with a distance between triangular fuzzy numbers only when all fitted transformed spreads are nonnegative.

Proposition 1. Under (A3), for any λ,ρ>0\lambda, \rho> 0 the criterion (8) has the unique unconstrained minimizer

A^=(XTX)−1XTYΦ,\widehat{\mathbf{A}} = \left(\mathbf{X}^{\mathsf{T}}\mathbf{X}\right)^{-1}\mathbf{X}^{\mathsf{T}}\mathbf{Y}_{\Phi},

that is, ordinary least squares applied separately to YmY_m, g(Yl)g(Y_l) and h(Yr)h(Y_r).

Proof. Let ei=Φ(Y~i)T−ATxi=(eim,eil,eir)T\mathbf{e}_i = \Phi(\widetilde{\mathbf{Y}}_i)^{\mathsf{T}} - \mathbf{A}^{\mathsf{T}}\mathbf{x}_i = (e_{im}, e_{il}, e_{ir})^{\mathsf{T}}. Expanding (5),

Dλρ2=eim2+(eim−λeil)2+(eim+ρeir)2=eiTWei,W=(3−λρ−λλ20ρ0ρ2).D_{\lambda\rho}^{2} = e_{im}^{2} + (e_{im} - \lambda e_{il})^{2} + (e_{im} + \rho e_{ir})^{2} = \mathbf{e}_i^{\mathsf{T}}\mathbf{W}\mathbf{e}_i,\qquad\mathbf{W} = \begin{pmatrix} 3 & -\lambda& \rho\\ -\lambda& \lambda^{2} & 0 \\ \rho& 0 & \rho^{2} \end{pmatrix}.

The leading principal minors of W\mathbf{W} are 33, 2λ22\lambda^{2} and det⁡W=λ2ρ2\det\mathbf{W} = \lambda^{2}\rho^{2}, all positive, so W\mathbf{W} is positive definite. With E=YΦ−XA\mathbf{E} = \mathbf{Y}_{\Phi} - \mathbf{X}\mathbf{A}, S(A)=tr⁡(EWET)S(\mathbf{A}) = \operatorname{tr}(\mathbf{E}\mathbf{W}\mathbf{E}^{\mathsf{T}}), a quadratic function of A\mathbf{A} with Hessian 2(W⊗XTX)2(\mathbf{W} \otimes\mathbf{X}^{\mathsf{T}}\mathbf{X}), which is positive definite under (A3) of Assumption 1. The unique stationary point solves XT(YΦ−XA)W=0\mathbf{X}^{\mathsf{T}}(\mathbf{Y}_{\Phi} - \mathbf{X}\mathbf{A})\mathbf{W} = 0, and since W\mathbf{W} is non-singular this is equivalent to XT(YΦ−XA)=0\mathbf{X}^{\mathsf{T}}(\mathbf{Y}_{\Phi} - \mathbf{X}\mathbf{A}) = 0. □\square

Proposition 1 is the identical-regressors case of seemingly unrelated regressions [39], and the proof uses only the positive definiteness of W\mathbf{W}. The same estimator therefore minimizes ∑ieiTMei\sum_i \mathbf{e}_i^{\mathsf{T}}\mathbf{M}\mathbf{e}_i for every positive definite weight matrix M\mathbf{M}, of which the Yang–Ko distance is one case. Two consequences follow. The estimates, and all effects derived from them in § 4 and § 5, do not depend on λ\lambda and ρ\rho, which affect only the goodness-of-fit and validation measures of § 3.4. The common design is essential: if the three components had different regressors, minimizing (8) would require a weighted joint fit that depends on M\mathbf{M}. The minimized criterion is defined on the transformed scale. The back-transformed projected fitted spreads Y^il=π(xiTa^l)\widehat{Y}_{il} = \pi(x_i^{\mathsf{T}}\widehat{a}_l) and Y^ir=π(xiTa^r)\widehat{Y}_{ir} = \pi(x_i^{\mathsf{T}}\widehat{a}_r) are nonnegative by projection but are not necessarily the minimizers of the distance on the original scale. With g=log⁡(1+⋅)g = \log(1 + \cdot) the regression is specified for the transformed spreads and the fitted values are projected onto the nonnegative half-line. The fitted fuzzy response is

Y^i=(xiTa^m, π(xiTa^l), π(xiTa^r)).(9)\widehat{Y}_i = \left(x_i^{\mathsf{T}}\widehat{a}_m,\ \pi(x_i^{\mathsf{T}}\widehat{a}_l),\ \pi(x_i^{\mathsf{T}}\widehat{a}_r)\right). \tag*{(9)}

Under Assumption 1, A^\widehat{A} is consistent by standard least squares arguments; see Ferraro et al. [22] for crisp covariates and Krätschmer [25, 26] for related results.

Remark 1. If all spreads of a fuzzy covariate are multiplied by c>0c > 0, the fitted values in (9) are unchanged and the corresponding coefficients are divided by cc. This is the usual invariance of least squares fits to the rescaling of a regressor. The fit, the effects of § 4 and § 5 and their precision depend on the variability of the covariate spreads across units and on the size of the residual discrepancies, not on the overall scale of the spreads. For this reason the simulation study of § 6 varies the residual scale.

Interpretation on the original scale

The interpretation of coefficients in the center equation follows the usual linear logic. For instance, the coefficient am,Xtma_{m,X_{tm}} of the center component XtmX_{tm} quantifies the change in the center of the response associated with a one unit increase in XtmX_{tm}, conditional on the other covariate components. For the spread equations, interpretation is naturally expressed on the transformed scale. With g=h=log⁡(1+⋅)g = h = \log(1 + \cdot), a coefficient bb represents a change in log⁡(1+Yl)\log(1 + Y_l) for a unit increase of the corresponding regressor: in the absence of projection, one plus the fitted left spread is multiplied by exp⁡(b)\exp(b). An analogous interpretation applies to the right spread. Negative coefficients do not produce negative fitted spreads after projection: they indicate a reduction of the imprecision of the response, with multiplicative effects smaller than one on the original scale.

Goodness of fit and validation

Consistently with Proposition 1, goodness of fit is measured on the transformed scale by

RT2=1−∑i=1nDλρ2(Φ(Y~i),xiTA^)∑i=1nDλρ2(Φ(Y~i),Φ‾),Φ‾=1n∑i=1nΦ(Y~i).(10)R_{\mathcal{T}}^2 = 1 - \frac{\sum_{i=1}^{n} D_{\lambda_\rho}^2\left(\Phi(\widetilde{Y}_i),x_i^{\mathsf{T}}\widehat{A}\right)}{\sum_{i=1}^{n} D_{\lambda_\rho}^2\left(\Phi(\widetilde{Y}_i),\overline{\Phi}\right)}, \qquad\overline{\Phi} = \frac{1}{n}\sum_{i=1}^{n}\Phi(\widetilde{Y}_i). \tag*{(10)}

Since the intercept-only model is nested in every model with an intercept and the estimator minimizes the numerator, 0≤RT2≤10 \le R_T^2 \le1, and RT2R_T^2 cannot decrease when regressors are added. The index is analogous to the determination coefficient of Ferraro et al. [23]. It is not a measure of predictive ability: since it cannot decrease when regressors are added, an in-sample increase is not by itself evidence of a better model. We therefore also report the adjusted version 1−(1−RT2)(n−1)/(n−p)1-(1-R_T^2)(n-1)/(n-p) and leave-one-out cross-validated distances. Since the three equations share the hat matrix H=X(XTX)−1XT\mathbf{H}=\mathbf{X}(\mathbf{X}^{\mathsf{T}}\mathbf{X})^{-1}\mathbf{X}^{\mathsf{T}}, the leave-one-out prediction of Φ(Y~i)\Phi(\widetilde{Y}_i) has the closed form Φ(Y~i)−e^i/(1−hii)\Phi(\widetilde{Y}_i)-\widehat{\mathbf{e}}_i/(1-h_{ii}), with e^i\widehat{\mathbf{e}}_i the vector of residuals and hiih_{ii} the leverage. We define

CV⁡T=1n∑i=1nDλρ2(Φ(Y~i),Φ^(−i)),CV⁡O=1n∑i=1nDλρ2(Y~i,Y~^(−i)),(11)\operatorname{CV}_{T}=\frac{1}{n}\sum_{i=1}^{n}D_{\lambda\rho}^{2}\left(\Phi(\widetilde{Y}_i),\widehat{\Phi}_{(-i)}\right),\qquad\operatorname{CV}_{O}=\frac{1}{n}\sum_{i=1}^{n}D_{\lambda\rho}^{2}\left(\widetilde{Y}_i,\widehat{\widetilde{Y}}_{(-i)}\right), \tag*{(11)}

where Y~^(−i)\widehat{\widetilde{Y}}_{(-i)} is the back-transformed leave-one-out prediction. CV⁡O\operatorname{CV}_{O} is the out-of-sample discrepancy between observed and predicted triangles on the original scale.

Inference

Uncertainty about coefficients and derived effects is quantified by the nonparametric case bootstrap [40]. Units are resampled with replacement, which keeps the three components of each fuzzy observation together and preserves their dependence. We report 95% percentile intervals. To test whether a block of regressors, such as all interaction components in § 5, contributes to the model, we use the statistic

FD=(S0−S1)/(p1−p0)S1/(n−p1),(12)F_D=\frac{(S_0-S_1)/(p_1-p_0)}{S_1/(n-p_1)}, \tag*{(12)}

where S0S_0 and S1S_1 are the minimized criteria (8) of the reduced and full models, with p0<p1p_0<p_1 parameters per equation. Its null distribution is approximated by the permutation scheme of Freedman and Lane [41]. The rows of the residual matrix of the reduced model are permuted, the permuted residuals are added to the reduced-model fitted values, and FDF_D is recomputed. Permuting entire rows keeps the cross-component dependence of each unit. The test requires an assumption stronger than Assumption 1:

Assumption 2. (A4) Under the null hypothesis, the residual vectors (εim,εil,εir)(\varepsilon_{im},\varepsilon_{il},\varepsilon_{ir}) of the reduced model are exchangeable across units.

Assumption (A4) excludes, in particular, heteroscedasticity that depends on the covariates. Even under (A4) the test is not exact in finite samples, because the permuted quantities are estimated residuals; its size in a design that satisfies (A4) is assessed in Section 6.4. Under heteroscedasticity its level is not guaranteed. The coefficient intervals in the tables are marginal and not adjusted for multiplicity. The effects of main interest are the indirect effects and the interaction blocks; the remaining intervals are read descriptively.

Mediation effects in fuzzy regression

General structure and componentwise effects

Let Y~\widetilde{Y} denote a fuzzy response, let XX denote an explanatory variable and let ZZ denote a mediator. Depending on the application, XX and ZZ may be fuzzy numbers, crisp numerical variables or crisp qualitative variables, and CC denotes additional crisp covariates. In the classical formulation [33], mediation is described by a system of regression relations: a total relation of Y~\widetilde{Y} on XX, a mediator relation of ZZ on XX, and an outcome relation of Y~\widetilde{Y} on XX and ZZ. The outcome relation decomposes the association between XX and Y~\widetilde{Y} into a direct component and an indirect component through ZZ.

In the fuzzy setting, each relation is a model of the form (7). When Z~\widetilde{Z} is fuzzy, the mediator system is

Φ(Z~i)=wiTΓ+vi,Φ(Y~i)=wiTBW+ziTBZ+ui,(13)\Phi(\widetilde{Z}_i) = \mathbf{w}_i^{\mathsf{T}}\boldsymbol{\Gamma} + \mathbf{v}_i,\qquad\Phi(\widetilde{Y}_i) = \mathbf{w}_i^{\mathsf{T}}\mathbf{B}_{W} + \mathbf{z}_i^{\mathsf{T}}\mathbf{B}_{Z} + \mathbf{u}_i, \tag*{(13)}

where wi\mathbf{w}_i collects the intercept, the components of XX and CC, ziT=(Zim,Zil,Zir)\mathbf{z}_i^{\mathsf{T}} = (Z_{im}, Z_{il}, Z_{ir}) collects the components of the mediator on the original scale, and Γ\boldsymbol{\Gamma}, BW\mathbf{B}_{W}, BZ\mathbf{B}_{Z} are real coefficient matrices with three columns (center, transformed left spread, transformed right spread). The indirect association between XX and Y~\widetilde{Y} can pass through three channels of the mediator, its center and its two spreads, and each of them can affect the center and the imprecision of the response. A single product of two path coefficients cannot summarize these paths. Moreover, when the spreads are transformed, the change in the mediator induced by XX is not linear in Γ\boldsymbol{\Gamma}. We therefore define effects as contrasts between fitted values.

Definition 1. Let δ≠0\delta\ne0 be a change in one component of XX, here the center XmX_m, with the other components held fixed. For unit ii, let zi\mathbf{z}_i be the observed

mediator and zi(δ)\mathbf{z}_i(\delta), the mediator obtained by moving XimX_{im} to Xim+δX_{im}+\delta in the mediator equations while keeping the observed residual:

Zim(δ)=Zim+δΓXm,m,Zil(δ)=π(g(Zil)+δΓXm,l),Zir(δ)=π(h(Zir)+δΓXm,r).\begin{aligned} Z_{im}(\delta) &= Z_{im}+\delta\Gamma_{X_m,m},\\ Z_{il}(\delta) &= \pi\left(g(Z_{il})+\delta\Gamma_{X_m,l}\right),\\ Z_{ir}(\delta) &= \pi\left(h(Z_{ir})+\delta\Gamma_{X_m,r}\right). \end{aligned}

Let fk(w,z)f_k(\mathbf{w},\mathbf{z}), k∈{m,l,r}k\in\{m,l,r\}, be the kk-th component of the fitted response (9) on the original scale, and let wi(δ)\mathbf{w}_i(\delta) be wi\mathbf{w}_i with XimX_{im} replaced by Xim+δX_{im}+\delta. The model-based direct effect (NDE), indirect effect (NIE) and total effect (TE) on component kk are

NDE⁡k(δ)=1n∑i=1n[fk(wi(δ),zi)−fk(wi,zi)],NIE⁡k(δ)=1n∑i=1n[fk(wi(δ),zi(δ))−fk(wi(δ),zi)],TE⁡k(δ)=NDE⁡k(δ)+NIE⁡k(δ).\begin{aligned} \operatorname{NDE}_k(\delta) &= \frac{1}{n}\sum_{i=1}^{n}\left[f_k(\mathbf{w}_i(\delta),\mathbf{z}_i)-f_k(\mathbf{w}_i,\mathbf{z}_i)\right],\\ \operatorname{NIE}_k(\delta) &= \frac{1}{n}\sum_{i=1}^{n}\left[f_k(\mathbf{w}_i(\delta),\mathbf{z}_i(\delta))-f_k(\mathbf{w}_i(\delta),\mathbf{z}_i)\right],\\ \operatorname{TE}_k(\delta) &= \operatorname{NDE}_k(\delta)+\operatorname{NIE}_k(\delta). \end{aligned}

The contrasts are meaningful when the shifted covariate Xim+δX_{im}+\delta and the counterfactual mediator zi(δ)\mathbf{z}_i(\delta) remain in the domains of the corresponding scales. For bounded scales this restricts δ\delta, and the share of units for which the shifted values leave the domain should be reported together with the effects, as is done in § 7.

The effects are plug-in sample averages, estimated by replacing Γ\boldsymbol{\Gamma}, BW\mathbf{B}_W and BZ\mathbf{B}_Z with their estimators. The decomposition TE⁡k=NDE⁡k+NIE⁡k\operatorname{TE}_k=\operatorname{NDE}_k+\operatorname{NIE}_k holds by construction for every component. Effects on the spreads are expressed on the original scale of the spreads, which makes direct and indirect contributions to the imprecision of the response directly comparable. The next result relates Definition 1 to the product-of-coefficients rule.

Proposition 2. Consider the center component of the response.

(i) NDE⁡m(δ)=δBW;Xm,m\operatorname{NDE}_m(\delta)=\delta B_{W;X_m,m} and NIE⁡m(δ)=∑j∈{m,l,r}BZ;j,mΔZ‾j(δ)\operatorname{NIE}_m(\delta)=\sum_{j\in\{m,l,r\}}B_{Z;j,m}\overline{\Delta Z}_j(\delta), where ΔZ‾j(δ)=n−1∑i[Zij(δ)−Zij]\overline{\Delta Z}_j(\delta)=n^{-1}\sum_i[Z_{ij}(\delta)-Z_{ij}]. In particular, ΔZ‾m(δ)=δΓXm,m\overline{\Delta Z}_m(\delta)=\delta\Gamma_{X_m,m} and, for g=log⁡(1+⋅)g=\log(1+\mathord{\cdot}), ΔZ‾l(δ)=n−1∑i[π{log⁡(1+Zil)+δΓXm,l}−Zil]\overline{\Delta Z}_l(\delta)=n^{-1}\sum_i[\pi\{\log(1+Z_{il})+\delta\Gamma_{X_m,l}\}-Z_{il}], which reduces to n−1∑i(1+Zil){exp⁡(δΓXm,l)−1}n^{-1}\sum_i(1+Z_{il})\{\exp(\delta\Gamma_{X_m,l})-1\} when the projection is not active. The right spread is analogous.

(ii) If the mediator spreads are not transformed in the mediator equations, then NIE⁡m(δ)=δ∑jΓXm,jBZ;j,m\operatorname{NIE}_m(\delta)=\delta\sum_j\Gamma_{X_m,j}B_{Z;j,m}. If, in addition, the total relation Yim=wiTα+ϵiY_{im}=\mathbf{w}_i^{\mathsf{T}}\boldsymbol{\alpha}+\epsilon_i uses the same wi\mathbf{w}_i and all equations are fitted by least squares, then TE⁡mc(δ)=δα^Xm\operatorname{TE}^{c}_m(\delta)=\delta\widehat{\alpha}_{X_m} exactly.

Proof. Part (i) follows from the linearity of fmf_m in w\mathbf{w} and z\mathbf{z}. For (ii), the first claim follows from (i) with Zij(δ)−Zij=δΓXm,jZ_{ij}(\delta)-Z_{ij}=\delta\Gamma_{X_m,j}. For the second claim, let W0\mathbf{W}_0 and Z0\mathbf{Z}_0 be the matrices with rows wiT\mathbf{w}_i^{\mathsf{T}} and ziT\mathbf{z}_i^{\mathsf{T}}. Then Ym=W0b^W+Z0b^Z+u^Y_m=\mathbf{W}_0\widehat{\boldsymbol{b}}_W+\mathbf{Z}_0\widehat{\boldsymbol{b}}_Z+\widehat{\mathbf{u}} with u^\widehat{\mathbf{u}} orthogonal to the columns of W0\mathbf{W}_0. Hence α^=(W0TW0)−1W0TYm=b^W+Γ^b^Z\widehat{\boldsymbol{\alpha}}=(\mathbf{W}_0^{\mathsf{T}}\mathbf{W}_0)^{-1}\mathbf{W}_0^{\mathsf{T}}Y_m=\widehat{\boldsymbol{b}}_W+\widehat{\boldsymbol{\Gamma}}\widehat{\boldsymbol{b}}_Z, where Γ^=(W0TW0)−1W0TZ0\widehat{\boldsymbol{\Gamma}}=(\mathbf{W}_0^{\mathsf{T}}\mathbf{W}_0)^{-1}\mathbf{W}_0^{\mathsf{T}}\mathbf{Z}_0, and the row of XmX_m gives the result.

Proposition 2 gives a sufficient condition for the classical identity “total = direct + product of paths” on the center: the mediator spreads are modeled on their original scale. The identity also holds, trivially, when the paths through the mediator spreads are inactive, that is, when BZ;l,m=BZ;r,m=0B_{Z;l,m}=B_{Z;r,m}=0 or ΓXm,l=ΓXm,r=0\Gamma_{X_m,l}=\Gamma_{X_m,r}=0; then NIE⁡m(δ)=δΓXm,mBZ;m,m\operatorname{NIE}_m(\delta)=\delta\Gamma_{X_m,m}B_{Z;m,m}. When these paths are active and the mediator spreads are transformed, the indirect effect through the spreads depends on the observed spreads, and the plug-in total effect differs from the coefficient of the total relation. For the spread components of the response, flf_l and frf_r are nonlinear, and Definition 1 is the natural generalization.

Mediation is called total for component kk when NIE⁡k≠0\operatorname{NIE}_k\ne0 and NDE⁡k=0\operatorname{NDE}_k=0, and partial when both are different from zero. In finite samples these statements are assessed with bootstrap intervals. Failing to exclude zero for NDE⁡k\operatorname{NDE}_k is not evidence of total mediation. The acronyms NDE and NIE follow the natural direct and indirect effects of causal mediation analysis [35], but Definition 1 is a descriptive decomposition of associations. A causal reading of NDE and NIE would require sequential ignorability, namely no unmeasured confounding of the XX–ZZ, XX–YY and ZZ–YY relations and no mediator–outcome confounder affected by XX [42, 35]. These conditions are not assumed in this paper.

Fuzzy predictor and fuzzy mediator

When both the predictor XX and the mediator ZZ are represented as fuzzy numbers, mediation is modeled through (13) with $\mathbf{w}_i^{\mathsf{T}} (1,Xim,Xil,Xir,CiT)(1, X_{im}, X_{il}, X_{ir}, C_i^{\mathsf{T}}). In compact notation, the structure can be written as

Z~i=γ0+γ1X~i+u~Zi,Y~i=β0+β1X~i+β2Z~i+u~Yi,(14)\widetilde{Z}_i = \gamma_0 + \gamma_1 \widetilde{X}_i + \widetilde{u}_{Zi}, \qquad\widetilde{Y}_i = \beta_0 + \beta_1 \widetilde{X}_i + \beta_2 \widetilde{Z}_i + \widetilde{u}_{Yi}, \tag*{(14)}

where each product of a coefficient and a fuzzy variable is shorthand for a linear combination of its three components, with coefficients specific to each component equation of the left-hand side. The first relation describes the association between the fuzzy predictor and the fuzzy mediator, while the second decomposes the association between X~\widetilde{X} and Y~\widetilde{Y} into a direct component and an indirect component associated with Z~\widetilde{Z}. The conceptual structure is illustrated in Figure 1. The upper panel represents total mediation, with no direct path, and the lower panel partial mediation. Effects are computed componentwise with Definition 1.

Total and partial mediation with fuzzy predictor, fuzzy mediator and fuzzy response

Figure 1. Total (upper panel) and partial (lower panel) mediation with fuzzy predictor, fuzzy mediator and fuzzy response, all represented by triangular fuzzy numbers. Labels γ1\gamma_1, β1\beta_1, β2\beta_2 stand for the blocks of componentwise coefficients in (14); β1=0\beta_1 = 0 means that all coefficients of the components of X~\widetilde{X} in the outcome equations are zero, so that NDE⁡k=0\operatorname{NDE}_k = 0 for every kk.

Crisp predictor and fuzzy mediator

In several applications the explanatory variable is observed without imprecision and is therefore treated as crisp, while the mediator represents an intermediate construct that is more appropriately elicited in linguistic or approximate form and hence modeled as a fuzzy number. The crisp predictor may be quantitative, for instance age or a test score, or qualitative, for instance group membership, in which case it is introduced through dummy variables GihG_{ih}, h=1,…,H−1h = 1,\ldots,H-1. System (13) applies with wi\mathbf{w}_i containing XiX_i or the dummies. For a quantitative predictor, Definition 1 is applied with δ\delta equal to a change in XiX_i. For a qualitative predictor, the contrast is between category hh and the reference category, that is, wi(δ)\mathbf{w}_i(\delta) sets Gih=1G_{ih}=1 and wi\mathbf{w}_i sets all dummies to zero, which gives category-specific direct and indirect effects. Figure A.1a in Appendix A illustrates total and partial mediation in the quantitative case.

Fuzzy predictor and crisp mediator

When the predictor is modeled as a fuzzy number while the mediator is observed without imprecision, the mediator may be quantitative or qualitative. For a quantitative mediator ZiZ_i, the mediator equation is the ordinary regression Zi=wi⊤γ+viZ_i=\mathbf{w}_i^\top\boldsymbol{\gamma}+v_i, with wi\mathbf{w}_i containing the three components of X~i\widetilde{X}_i. The outcome equations contain ZiZ_i as a crisp regressor, and Definition 1 applies with Zi(δ)=Zi+δγXmZ_i(\delta)=Z_i+\delta\gamma X_m.

For a qualitative mediator with KK categories, coded by dummies DikD_{ik}, k=1,…,K−1k=1,\ldots,K-1, the outcome equations are

Φ(Y~i)=wi⊤BW+∑k=1K−1Dikβ2k⊤+ui.(15)\Phi(\widetilde{Y}_i)=\mathbf{w}_i^\top\mathbf{B}_W+\sum_{k=1}^{K-1}D_{ik}\boldsymbol{\beta}_{2k}^{\top}+\mathbf{u}_i. \tag*{(15)}

A mediator model is still needed, for instance a multinomial logit model for pc(wi)=P(Zi=c∣wi)p_c(\mathbf{w}_i)=P(Z_i=c\mid\mathbf{w}_i), c=1,…,Kc=1,\ldots,K. Comparing the direct association of X~\widetilde{X} with and without the dummies (the difference method) does not identify an indirect effect. With fitted probabilities p^c\hat{p}_c, the model-based indirect effect on component k∈{m,l,r}k\in\{m,l,r\} is

NIE⁡k(δ)=1n∑i=1n∑c=1K[p^c(wi(δ))−p^c(wi)]fk(wi(δ),c),\operatorname{NIE}_k(\delta)=\frac{1}{n}\sum_{i=1}^{n}\sum_{c=1}^{K}\left[\hat{p}_c(\mathbf{w}_i(\delta))-\hat{p}_c(\mathbf{w}_i)\right]f_k(\mathbf{w}_i(\delta),c),

which averages the fitted response over the shift in the category probabilities induced by the predictor. With a quantitative mediator, mediation reflects a continuous transmission mechanism. With a qualitative mediator, it reflects a change in the composition of groups with different fuzzy response levels. The structure is illustrated in Figure A.1b in Appendix A.

Moderation effects in fuzzy regression

In many empirical settings, the effect of an explanatory variable on a response is not homogeneous across the population, but varies systematically as a function of a third variable, the moderator. In classical regression, moderation is modeled through interaction terms [33, 34]. Let Y~i\widetilde{Y}_i be a fuzzy response, XiX_i an explanatory variable and MiM_i a moderator. The general fuzzy regression model with moderation is

Y~i=β0+β1Xi+β2Mi+β3(Xi∘Mi)+u~i,(16)\widetilde{Y}_i = \beta_0 + \beta_1 X_i + \beta_2 M_i + \beta_3 (X_i \mathbin{\circ} M_i) + \widetilde{u}_i, \tag*{(16)}

where ∘\circ is an interaction operator whose definition depends on the nature of the variables involved, and, as in (14), products of coefficients and fuzzy variables are shorthand for componentwise linear combinations within model (7). Moderation is interpreted as a structural change in the relationship between XX and the fuzzy response rather than as a transmission mechanism. The interaction regressor must be a TFN, so that its center and spreads can enter the design (6). We use the following operators.

  • Fuzzy predictor, crisp numerical moderator M≥0M \ge0: M⊙X~=(MXm,MXl,MXr)M \odot\widetilde{X} = (M X_m, M X_l, M X_r), exact by (3). If MM takes negative values, for instance after centering, the spreads are swapped as in (3).

  • Fuzzy predictor, crisp categorical moderator: Dk⊙X~D_k \odot\widetilde{X} for each dummy DkD_k, again exact.

  • Fuzzy predictor, fuzzy moderator: the Dubois–Prade approximation (4), X~⊗M~=(XmMm,XmMl+MmXl,XmMr+MmXr)\widetilde{X} \otimes\widetilde{M} = (X_m M_m, X_m M_l + M_m X_l, X_m M_r + M_m X_r), for positive TFNs.

In all cases, β3(X∘M)\beta_3(X \mathbin{\circ} M) contributes three regressors (the components of the interaction TFN) to each of the three equations of (7). Moderation is absent when all of these coefficients are zero, which is tested with the Freedman–Lane test of § 3.5.

Conditional effects. For a crisp moderator, the change in the linear predictor of component kk associated with an increase δ\delta in XmX_m is δ(ak,Xm+ak,(X∘M)mM)\delta(a_{k,X_m} + a_{k,(X\mathbin{\circ}M)_m}M). For the center this is the usual simple slope. For spread coordinates it is a difference on the log-one-plus scale; without active projection, the original-scale contrast is (1+fk(⋅))[exp⁡{δ(ak,Xm+ak,(X∘M)mM)}−1](1 + f_k(\cdot))[\exp\{\delta(a_{k,X_m} + a_{k,(X\mathbin{\circ}M)_m}M)\} - 1]. For a fuzzy moderator, the center of XX enters all three components of X~⊗M~\tilde{X} \otimes\tilde{M}, and the change becomes

δ(ak,Xm+ak,(X∘M)mMm+ak,(X∘M)lMl+ak,(X∘M)rMr),(17)\delta\left(a_{k,Xm}+a_{k,(X\circ M)m}M_m+a_{k,(X\circ M)l}M_l+a_{k,(X\circ M)r}M_r\right), \tag*{(17)}

so that the effect of the predictor depends on both the center and the imprecision of the moderator. In the application, conditional effects for the CR and CI blocks are reported on the original scale at the quartiles of the moderator, with the other covariates at their medians and case-bootstrap intervals.

Moderation between fuzzy predictors

When both the explanatory variable and the moderator are represented by fuzzy numbers, moderation arises from the interaction between two imprecise quantities. From a strictly mathematical standpoint, the exact product of two TFNs, defined through the extension principle or equivalently via α\alpha-cuts, does not preserve the triangular shape (§ 2.3). This does not pose a problem in the distance based framework adopted here. The interaction term is not intended to represent the exact fuzzy product, but a fuzzy regressor constructed deterministically from X~i\tilde{X}_i and M~i\tilde{M}_i so as to remain in the space of TFNs. The approximation (4) preserves the core exactly, and its error on the support, XlMlX_lM_l on the left and XrMrX_rM_r on the right, is small when the spreads are small relative to the centers. Such a construction ensures that all regressors, including the interaction term, belong to the same space and can therefore be handled coherently within the proposed estimation procedure. Figure 2 illustrates the absence and the presence of moderation.

Moderation with fuzzy predictor and fuzzy moderator

Figure 2. Moderation with fuzzy predictor and fuzzy moderator. The interaction term is the additional fuzzy regressor X~⊗M~\widetilde{X} \otimes\widetilde{M} of (4). Upper panel, absence of moderation, β3=0\beta_3 = 0. Lower panel, presence of moderation, β3≠0\beta_3 \ne0.

Moderation between a fuzzy predictor and a crisp numerical moderator

In many empirical applications, the effect of an imprecisely observed construct depends on the level of a precisely measured contextual variable. Let X~i\tilde{X}_i denote a fuzzy predictor and MiM_i a crisp numerical moderator. The moderated model is

Y~i=β0+β1X~i+β2Mi+β3(Mi⊙X~i)+u~i=β0+β2Mi+(β1+β3Mi)X~i+u~i,(18)\tilde{Y}_i=\beta_0+\beta_1\tilde{X}_i+\beta_2M_i+\beta_3\left(M_i\odot\tilde{X}_i\right)+\tilde{u}_i=\beta_0+\beta_2M_i+\left(\beta_1+\beta_3M_i\right)\tilde{X}_i+\tilde{u}_i, \tag*{(18)}

so that the contribution of the fuzzy predictor varies continuously with MiM_i, in direct analogy with classical interaction models. Although the interaction term is algebraically symmetric in the two variables, the substantive interpretation depends on which variable is assigned the role of moderator. To preserve conceptual clarity, attention is restricted to the formulation in which the fuzzy variable plays the role of predictor and the crisp variable acts as moderator. Figure A.1c in Appendix A illustrates the two situations.

Moderation between a fuzzy predictor and a crisp categorical moderator

Let Mi∈{1,…,K}M_i \in\{1,\ldots,K\} be a crisp categorical moderator encoded through dummies Dik=I(Mi=k)D_{ik} = \mathbb{I}(M_i = k), k=1,…,K−1k = 1,\ldots,K-1. The moderated model is

Y~i=β0+β1X~i+∑k=1K−1β2kDik+∑k=1K−1β3k(Dik⊗X~i)+u~i.(19)\widetilde{Y}_i = \beta_0 + \beta_1 \widetilde{X}_i + \sum_{k=1}^{K-1} \beta_{2k} D_{ik} + \sum_{k=1}^{K-1} \beta_{3k} (D_{ik} \otimes\widetilde{X}_i) + \widetilde{u}_i. \tag*{(19)}

The coefficients β2k\beta_{2k} represent group specific shifts of the fuzzy response with respect to the reference category, and β3k\beta_{3k} represent deviations of the effect of the fuzzy predictor in category kk, so that the reference category has slope β1\beta_1 and category kk has slope β1+β3k\beta_1 + \beta_{3k}, componentwise. For a binary moderator the model reduces to two group specific fuzzy regressions. Figure A.1d in Appendix A illustrates the case.

Simulation study

Objectives and design

The simulation addresses three questions that the application cannot answer, because there the true effects are unknown:

  • (Q1) whether the percentile case-bootstrap intervals for the plug-in effects of Definition 1 attain their nominal coverage, and their tests their nominal size, at realistic sample sizes;

  • (Q2) how much is lost by estimating the indirect effect on the center with crisp analyses that ignore some or all of the spreads, and which omitted components are responsible;

  • (Q3) whether the Freedman–Lane test of § 3.5 controls its size and has power against interactions of realistic magnitude.

To make the scenarios realistic, the data-generating processes are calibrated on the data of § 7, whose variables are academic performance (AP), prior knowledge (PK), the course indicator (CI), motivation (MOT), course attendance (CR) and sex (SX), described in § 7.1. Two experiments were conducted, one for mediation (Q1, Q2) and one for moderation (Q3). All settings are those of the R code available from the corresponding author, which stores the random seed and the numbers of replications with the results.

Mediation experiment. The data-generating process was calibrated on the data of § 7. For each simulated unit, a row of the data was drawn with replacement and its PK triple (PKm,PKl,PKr)(\mathrm{PK}_m,\mathrm{PK}_l,\mathrm{PK}_r) and its CR value were retained jointly, so that the dependence between the center and the spreads of PK and CR is preserved and the support of PK remains in [0,100][0,100]. The mediator CI was generated from the mediator equations, Φ(CI~i)=wiTΓ+kvi\Phi(\widetilde{\mathrm{CI}}_i) = \mathbf{w}_i^{\mathsf{T}}\mathbf{\Gamma} + k\mathbf{v}_i, and the response AP from the outcome equations, Φ(AP~i)=wiTBW+ziTBZ+kui\Phi(\widetilde{\mathrm{AP}}_i) = \mathbf{w}_i^{\mathsf{T}}\mathbf{B}_{W} + \mathbf{z}_i^{\mathsf{T}}\mathbf{B}_{Z} + k\mathbf{u}_i, where the coefficient matrices are the least squares estimates on the data, vi\mathbf{v}_i and ui\mathbf{u}_i are trivariate Gaussian with the empirical residual covariance matrices of the two systems, and spreads are obtained by the projection π\pi. The noise multiplier was k∈{1,2}k \in\{1,2\} and the sample size n∈{50,100,250,500}n \in\{50,100,250,500\}. In the empirical scenario all coefficients were kept; in the null scenario the coefficients of the three PK components in the mediator equations were set to zero, so that all indirect effects are zero; in the no-spread-path scenario the coefficients of the spreads of CI in the outcome equations were set to zero, so that the whole indirect effect passes through the center of CI. The last scenario is a control for (Q2): an estimator that ignores the spreads of the mediator is consistent there, and any remaining bias must come from other omissions. The true effects of Definition 1, for δ=10\delta= 10, were approximated by evaluating the plug-in contrasts with the true parameters on one simulated sample of 2×1052 \times10^{5} units. Each design cell used R=200R = 200 replications and B=199B = 199 bootstrap resamples per replication. Because the Gaussian residuals are unbounded, generated centers and supports can fall outside the admissible ranges [0,10][0, 10] for CI and [0,30][0, 30] for AP. The proportion of such units was recorded, and the generated values were not truncated.

Moderation experiment. This is a plasmode design. In each replication, nn complete covariate vectors (PK, CI, CR, SX, MOT) were resampled with replacement from the data, so that the moderators are never generated. For each interaction block, a synthetic response AP∗\mathrm{AP}^{*} was constructed as the fitted value of the multivariate model of § 7.3, plus a resampled row of its residual matrix, plus the planted interaction of that block only:

Φ(APi∗^)=xiTA^+(PKim−PK‾m)QiθQT+e^Q(i)T,\Phi\left(\widehat{\mathrm{AP}_{i}^{*}}\right) = \mathbf{x}_{i}^{\mathsf{T}}\widehat{\mathbf{A}} + \left(\mathrm{PK}_{im} - \overline{\mathrm{PK}}_{m}\right) Q_i \boldsymbol{\theta}_{Q}^{\mathsf{T}} + \widehat{\mathbf{e}}_{Q(i)}^{\mathsf{T}},
Qi∈{SXi, MOTim−MOT‾m}.Q_i \in\left\{\mathrm{SX}_i,\ \mathrm{MOT}_{im} - \overline{\mathrm{MOT}}_{m}\right\}.

with θSX=(0.10,0,−0.010)\boldsymbol{\theta}_{\mathrm{SX}} = (0.10, 0, -0.010) and θMOT=(0.03,0,0)\boldsymbol{\theta}_{\mathrm{MOT}} = (0.03, 0, 0) for the center, transformed left spread and transformed right spread. Generating one response per block makes each fitted single-block model correctly specified. The planted center values are of the same order as the empirical estimates of § 7.3, so the experiment evaluates the test at effect sizes comparable to those observed. In the null scenario both vectors are zero. The fitted models are those of § 7.3; centering does not change the interaction coefficients, which are therefore directly comparable with θ\boldsymbol{\theta}. Sample sizes were as above, with R=200R = 200 replications and P=199P = 199 permutations per test.

Competing methods

For the indirect effect on the center, the proposed estimator was compared with two crisp product-of-coefficients estimators of the form a^b^δ\widehat{a}\widehat{b}\delta, where a^\widehat{a} is the coefficient of PKm\mathrm{PK}_{m} in a regression of CIm\mathrm{CI}_{m} and b^\widehat{b} the coefficient of CIm\mathrm{CI}_{m} in a regression of APmAP_m. In the centers-only estimator (CO) both regressions contain the centers of PK and CI and CR. In the intermediate estimator (IM) both regressions contain all three components of PK and CR, while the mediator still enters only through its center. The difference between CO and IM isolates the omission of the spreads of PK; the difference between IM and the fuzzy estimator isolates the omission of the paths through the spreads of CI. For prediction, the full fuzzy model was compared with a centers-only model in which the center of AP is predicted by least squares on the centers and the spreads are predicted by their training means. Both predictors were evaluated on an independent test sample of 1000 units generated from the same scenario.

Evaluation criteria

For NDEm\mathrm{NDE}_m, NIEm\mathrm{NIE}_m, NIEl\mathrm{NIE}_l and NIEr\mathrm{NIE}_r we report bias, root mean squared error (RMSE), coverage of the 95% percentile bootstrap interval and the rate of intervals excluding zero, which estimates power in the empirical scenario and size in the null scenario. Prediction is assessed by the mean original-scale Yang–Ko distance on the test samples. For moderation we report bias and RMSE of the coefficients of the interaction centers (PK∘SX)m(\mathrm{PK} \circ\mathrm{SX})_m and (PK∘MOT)m(\mathrm{PK} \circ\mathrm{MOT})_m and the rejection rate of the Freedman–Lane test at level 0.05. Monte Carlo standard errors (MCSE) were computed for all bias, coverage and rejection estimates; with R=200R = 200, the MCSE of a coverage estimate near 0.95 is about 0.015 and that of a rejection rate near 0.05 is about 0.015.

Simulation results

Mediation, empirical scenario. Table 1 shows that the plug-in estimators of NDEm\mathrm{NDE}_m and NIEm\mathrm{NIE}_m are approximately unbiased. Across the eight cells, the absolute bias of NIEm\mathrm{NIE}_m is at most 0.017 (true value 0.81), which is within about two MCSE, and the RMSE decreases with nn roughly as n−1/2n^{-1/2}, from 0.264 at n=50n = 50 to 0.070 at n=500n = 500 with k=1k = 1. Doubling the residual scale increases the RMSE by a factor between 1.15 and 1.6. Coverage of the percentile intervals ranges from 0.905 to 0.975 over the 32 combinations of effect and cell. Ten values are below 0.93, mostly for NDEm\mathrm{NDE}_m with k=2k = 2 and for n=50n = 50 with k=1k = 1; the lowest, 0.905, is about 2.2 MCSE below 0.95. This indicates a mild undercoverage of the percentile interval rather than a systematic failure, and no clear trend with nn. With k=1k = 1, power for NIEm\mathrm{NIE}_m is 0.87 at n=50n = 50 and reaches 1 from n=100n = 100; for NIEl\mathrm{NIE}_l (true value 0.09) it increases from 0.375 at n=50n = 50 to 1 at n=500n = 500. The indirect effect on the right spread is small (true value 0.03) and is detected in at most 40% of the replications even at n=500n = 500.

nnkkNDEm_m BiasNDEm_m Cov.NIEm_m BiasNIEm_m RMSENIEm_m Cov.NIEm_m Rej.NIEl_l Cov.NIEr_r Cov.NIEr_r Rej.
501-0.0060.9150.0120.2640.9150.8700.9150.9550.095
1001-0.0070.935-0.0020.1760.9251.0000.9500.9500.135
2501-0.0130.9300.0170.1100.9351.0000.9500.9350.240
50010.0010.960-0.0050.0700.9401.0000.9600.9500.395
502-0.0050.925-0.0070.3040.9650.6650.9650.9450.070
10020.0060.905-0.0060.2260.9400.9750.9750.9450.075
25020.0030.9100.0020.1270.9651.0000.9300.9650.275
5002-0.0090.915-0.0050.1090.9201.0000.9050.9450.395

Table 1. Monte Carlo study, mediation scenario calibrated on the empirical estimates (R=200R = 200 replications, B=199B = 199 bootstrap resamples; largest Monte Carlo standard error of a coverage estimate 0.021). Cov.: coverage of the 95% percentile bootstrap interval; Rej.: rate of intervals excluding zero (power). Effects refer to an increase of 10 points in the center of PK. True values: NDEm_m 0.736 (k=1k = 1), 0.736 (k=2k = 2); NIEm_m 0.809 (k=1k = 1), 0.815 (k=2k = 2); NIEl_l 0.090 (k=1k = 1), 0.091 (k=2k = 2); NIEr_r 0.031 (k=1k = 1), 0.032 (k=2k = 2).

Crisp estimators of the indirect effect. Table 2 answers (Q2). In the empirical scenario, the IM estimator, which uses all components of PK but only the center of CI, has a bias between −0.130 and −0.166, that is, 16 to 20% of the true NIEm_m, which does not decrease with nn. In the no-spread-path scenario the same estimator is approximately unbiased (absolute bias at most 0.025, within about two MCSE), whereas the CO estimator has a positive bias between 0.014 and 0.039. The bias of IM in the empirical scenario is therefore due to the omitted paths through the spreads of the mediator, while the omission of the spreads of PK produces a bias of opposite sign. In CO the two omissions partly offset each other, which explains its smaller bias in the empirical scenario, between −0.103 and −0.139 (13 to 17%); this is a cancellation of errors, not an advantage. The fuzzy estimator is approximately unbiased in both scenarios, with interval coverage between 0.91 and 0.975 also in the no-spread-path scenario. The crisp estimators have smaller variance: in the no-spread-path scenario IM has a lower RMSE than the fuzzy estimator at every nn, and in the empirical scenario the fuzzy estimator has the lowest RMSE from n=250n = 250 (0.070 against 0.124 for CO and 0.151 for IM at n=500n = 500 with k=1k = 1), while at n=100n = 100 its RMSE is similar to that of CO. The fuzzy decomposition is therefore needed when the mediator spreads carry part of the indirect effect; when they do not, a crisp estimator that keeps all components of the predictor is unbiased and more efficient.

nnkkTrue NIEm\mathrm{NIE}_{m}Fuzzy BiasFuzzy RMSEIM BiasIM RMSECO BiasCO RMSE
Empirical scenario: part of the indirect effect passes through the spreads of CI
5010.8090.0120.264-0.1370.236-0.1090.216
10010.809-0.0020.176-0.1360.179-0.1070.158
25010.8090.0170.110-0.1300.156-0.1030.134
50010.809-0.0050.070-0.1410.151-0.1110.124
5020.815-0.0070.304-0.1660.315-0.1390.284
10020.815-0.0060.226-0.1630.248-0.1400.227
25020.8150.0020.127-0.1460.184-0.1220.162
50020.815-0.0050.109-0.1550.181-0.1340.161
Scenario without spread paths: the indirect effect passes only through the center of CI
5010.6430.0000.2570.0070.1940.0300.204
10010.6430.0030.1680.0090.1180.0390.123
25010.6430.0000.0990.0000.0730.0280.078
50010.643-0.0010.077-0.0070.0530.0200.057
5020.6430.0040.3450.0250.3000.0390.287
10020.643-0.0240.210-0.0050.1770.0200.170
25020.643-0.0080.132-0.0080.1190.0140.116
50020.643-0.0020.089-0.0020.0730.0180.077

Table 2. Monte Carlo study: bias and RMSE of three estimators of the indirect effect on the center of AP (R=200R = 200). Fuzzy: plug-in estimator of Definition 1. IM: product of coefficients with all components of PK and the center of CI. CO: product of coefficients with the centers of PK and CI only.

Null scenario and prediction. Under the null scenario (Table 3), the rejection rate of the interval for NIEm\mathrm{NIE}_{m} ranges from 0.050 to 0.085, with MCSE between 0.015 and 0.020; the largest values (0.080 and 0.085) occur at n=250n = 250 and n=500n = 500 with k=1k = 1. The test for NIEr\mathrm{NIE}_{r} is conservative, with rates between 0.005 and 0.045, and that for NIEl\mathrm{NIE}_{l} ranges from 0.020 to 0.085, conservative at small nn and slightly liberal at n=500n = 500 with k=1k = 1. Interval tests of an indirect effect are conservative when both of its factors are zero or close to zero. In the data-generating process, the coefficients of the CI components in the right-spread equation of AP are small (Table 6), whereas they are clearly nonzero in the center equation, for which the size is close to nominal. Coverage under the null remains between 0.90 and 0.995. For prediction, the fuzzy model has a larger mean test distance than the centers-only model at n=50n = 50 (10.10 against 9.34 with k=1k = 1) and n=100n = 100 (9.03 against 8.85), and a smaller one at n=250n = 250 (8.60 against 8.68) and n=500n = 500 (8.45 against 8.61), where it is better in 94.5% of the replications. The pattern is the same with k=2k = 2. The gains of the fuzzy model are small, about 2% of the test distance at n=500n = 500, and require a sample size well above that of the application.

nnkkNIEm\mathrm{NIE}_{m}NIEl\mathrm{NIE}_{l}NIEr\mathrm{NIE}_{r}FuzzyCenters only
5010.0550.0200.01010.0579.339
10010.0650.0300.0059.0338.849
25010.0800.0700.0058.6008.677
50010.0850.0850.0458.4548.609
5020.0550.0350.00539.98537.221
10020.0750.0700.03536.22935.437
25020.0500.0450.01034.42934.609
50020.0700.0550.04033.72534.219

Table 3. Monte Carlo study. Left: empirical size of the bootstrap interval for the indirect effects under the null scenario (no effect of PK on the mediator; nominal 0.05). Right: mean out-of-sample Yang–Ko distance (ntest=1000n_{\mathrm{test}} = 1000) of the full fuzzy model and of the centers-only model with spreads predicted by their training mean, empirical scenario.

TermCenterlog left spreadlog right spread
Intercept1.852 [-0.748, 4.316]0.404 [0.154, 0.650]0.629 [0.353, 0.871]
PKmPK_m0.074 [0.035, 0.109]0.001 [-0.002, 0.004]0.002 [-0.002, 0.006]
PKlPK_l0.126 [-0.180, 0.409]0.031 [0.008, 0.056]0.000 [-0.030, 0.028]
PKrPK_r-0.160 [-0.536, 0.200]-0.007 [-0.036, 0.021]0.019 [-0.015, 0.062]
CImCI_m1.652 [1.189, 2.049]0.073 [0.033, 0.115]0.030 [-0.014, 0.077]
CIlCI_l0.345 [-0.490, 1.204]0.009 [-0.054, 0.078]-0.055 [-0.154, 0.029]
CIrCI_r0.344 [-0.603, 1.146]-0.001 [-0.065, 0.067]0.055 [-0.010, 0.120]
CRCR0.120 [-0.063, 0.348]0.002 [-0.010, 0.015]0.009 [-0.007, 0.028]

Table 6. Multivariate model of AP on PK, CI and CR: componentwise estimates with 95% percentile bootstrap intervals (B=1000B = 1000). RT2=0.765R_T^2 = 0.765, adjusted RT2=0.746R_T^2 = 0.746. Bold: interval excluding zero.

Projection and support violations. The nonnegative projection modifies the conditional mean of a transformed spread whenever the linear predictor plus error is negative. In large samples generated from the data-generating processes, this occurred for none of the transformed spreads in the empirical scenario with k=1k = 1, for 0.26% of the spreads of CI and 0.08% of those of AP with k=2k = 2, and for 0.3% of the spreads of AP* in the plasmode experiment. It was more frequent for the spreads of the mediator in the null scenario, 4.0% with k=1k = 1 and 18.5% with k=2k = 2, because removing the PK paths lowers the mean of the transformed spreads; even there, the size of the indirect-effect tests remained between 0.050 and 0.085. In the empirical scenario, 11.6 to 12.0% of the generated units with k=1k = 1 and 23.5 to 24.3% with k=2k = 2 had a center or a support outside the admissible range of CI or AP; under the null scenario the proportion was at most 1.2%. The Gaussian data-generating process therefore produces a non-negligible share of values that cannot occur on bounded rating scales, and the results above refer to the unbounded model on which the estimators are based rather than to the bounded scales of the application.

Moderation. In the plasmode experiment (Table 4), the estimators of the planted interaction coefficients are approximately unbiased: the largest absolute bias is 0.0018 for (PK∘SX)m(\mathrm{PK} \circ\mathrm{SX})_{m} (1.8% of the planted 0.10, about 2.3 MCSE) and 0.0008 for (PK∘MOT)m(\mathrm{PK} \circ\mathrm{MOT})_{m} (2.5% of 0.03), and the RMSE decreases from 0.041 to 0.011 and from 0.013 to 0.004 between n=50n = 50 and n=500n = 500. Under the null scenario, the rejection rate of the Freedman–Lane test is between 0.045 and 0.050 for the MOT block and between 0.025 and 0.055 for the SX block, which is slightly conservative at n=250n = 250 and n=500n = 500 (0.030 and 0.025, MCSE about 0.011). Under the planted scenario, power is 0.645 (SX) and 0.600 (MOT) at n=50n = 50, 0.930 and 0.960 at n=100n = 100, and 1 from n=250n = 250. Since the planted effects are of the same order as the empirical estimates, these figures indicate that interactions of that size are detectable with high probability at the sample size of the application, but they do not validate the empirical findings, which depend on the observed data and on the selection of two blocks among four.

nnSX, centerSX, log rightMOT, centerRej. SXRej. MOTRR
Planted interaction effects
500.0013 (0.0410)−0.0002 (0.0036)0.0002 (0.0130)0.6450.600200
100−0.0007 (0.0263)−0.0001 (0.0024)−0.0005 (0.0078)0.9300.960200
250−0.0008 (0.0138)0.0001 (0.0015)0.0008 (0.0053)1.0001.000200
5000.0018 (0.0112)0.0001 (0.0010)0.0001 (0.0036)1.0001.000200
No interaction (null)
50−0.0013 (0.0372)0.0004 (0.0044)−0.0010 (0.0131)0.0550.045200
1000.0010 (0.0274)−0.0001 (0.0027)−0.0009 (0.0069)0.0450.050200
250−0.0002 (0.0143)0.0001 (0.0016)−0.0003 (0.0044)0.0300.045200
500−0.0004 (0.0099)0.0001 (0.0011)0.0003 (0.0031)0.0250.050200

Table 4. Plasmode Monte Carlo study for moderation. Bias (RMSE) of the interaction coefficients and rejection rate of the Freedman–Lane test (P=199P = 199 permutations, level 0.05) for the SX and MOT interaction blocks. Planted values: θm,SX=0.1\theta_{m,\mathrm{SX}} = 0.1, θr,SX=−0.01\theta_{r,\mathrm{SX}} = -0.01, θm,MOT=0.03\theta_{m,\mathrm{MOT}} = 0.03. RR: valid replications.

Real data application

Data

The application uses data on n=91n = 91 students of a university Computer Science course, collected in 2014, with no missing values. Six variables are analyzed; three of them were obtained from a questionnaire completed by the students, which is reproduced in Appendix C, and three were recorded by the instructor.

The questionnaire introduced the notion of a triangular fuzzy number and asked the students to answer each subjective item by drawing a triangle on a graduated scale and writing its lower endpoint, its core and its upper endpoint; asymmetric triangles, decimal values and exact answers (a degenerate triangle) were allowed. The three questionnaire variables are: prior knowledge (PK), the self-assessed knowledge of computer science before the course, on [0,100][0, 100] (item B1); motivation (MOT), the self-assessed motivation toward university studies, on [0,10][0, 10] (item C1); and the course indicator (CI), the overall satisfaction with the usefulness and the programme of the course, on [0,10][0, 10] (item E1). All students chose integer values, so all centers and spreads of PK, MOT and CI are integers. The questionnaire also recorded age, the final high-school grade and the self-assessed understanding of the course content (item D1), which are not used in this paper.

The three variables recorded by the instructor are the following. Academic performance (AP) is the course grade on the Italian scale [0,30][0, 30], expressed by the instructor as a TFN that summarizes the judgments obtained by the student in two midterm tests and in the final examination: the core is the overall grade, and the spreads express the instructor’s imprecision about it in each direction. Course attendance (CR) is a crisp variable computed by the instructor from the attendance records at the end of the course, on a scale from 1 to 8. Sex (SX) is a crisp binary variable, with SX =1= 1 for male students (38) and SX =0= 0 for female students (53).

All observed supports lie within the corresponding bounds. The spreads have little variation: the left spread of AP equals 2 for 73 students and the right spread for 76, and one right spread is zero for a student with center 30, at the upper bound of the scale. Table 5 summarizes the variables and Figure 3 displays the observed triangles.

Table 5: Observed variables (n=91n = 91). For triangular fuzzy numbers, the table reports the range, mean and standard deviation of the centers and the mean [min, max] of the left and right spreads.

Var.TypePot. rangeCenter rangeMean (SD) centerLeft spreadRight spread
APTFN[0, 30][10, 30]19.40 (3.46)1.89 [1, 3]1.89 [0, 3]
PKTFN[0, 100][30, 100]66.16 (16.63)3.09 [1, 5]2.73 [0, 5]
CITFN[0, 10][4, 9]6.63 (1.02)1.84 [1, 3]1.71 [1, 3]
MOTTFN[0, 10][1, 10]5.65 (1.96)0.85 [0, 1]0.80 [0, 1]
SXCrisp binary{0, 1}0 / 10.42 (0.50)––
CRCrisp[1, 8][1, 8]4.58 (1.76)––

Table 5. Observed variables (n=91n = 91). For triangular fuzzy numbers, the table reports the range, mean and standard deviation of the centers and the mean [min, max] of the left and right spreads.

Observed triangular fuzzy numbers for academic performance, course indicator, motivation and prior knowledge

Figure 3. Observed triangular fuzzy numbers for academic performance (AP), the course indicator (CI), motivation (MOT) and prior knowledge (PK) (light lines), and componentwise mean triangle (dark line).

Statistical analysis

We estimated the bivariate model of APAP on PKPK and the multivariate model with PKPK, CICI and CRCR. Coefficient intervals are 95% percentile case-bootstrap intervals with B=1000B = 1000. Models were compared by RT2R_T^2 and by leave-one-out distances on both scales against an intercept-only model, a centers-only model with spreads predicted by the sample mean, and a model with fuzzy response and covariate centers only. The mediation analysis decomposes the association between PKPK and APAP through CICI, adjusting for CRCR, by Definition 1 with δ=10\delta= 10 points in the center of PKPK. A sensitivity analysis truncates the counterfactual mediator to the scale of CICI and, in a second version, also excludes the students whose shifted PKPK support leaves [0,100][0, 100]. Four interaction blocks were then added, one at a time, to the multivariate model: PK∘CRPK\circ CR (crisp numerical moderator), PK∘CIPK\circ CI (fuzzy), PK∘SXPK\circ SX (crisp binary, with SXSX as main effect) and PK∘MOTPK\circ MOT (fuzzy, with MOTMOT as main effect). Each block was tested with the Freedman–Lane test with P=999P = 999 permutations, so that the smallest attainable pp-value is 0.001, and the four pp-values were adjusted with the Holm procedure. These hypotheses were not specified when the data were collected, and the moderation analyses are exploratory. Interaction regressors were not centered; this does not change fits or tests, but inflates the condition number of the design.

Results

Regression. In the bivariate model (Figure 4; coefficients in Table B.1, Appendix § 12), the center of PK is associated with the center of AP (0.157 per point, 95% interval [0.130, 0.187]) and with the transformed left spread of AP (0.0040, [0.0022, 0.0059]), and the left spread of PK is associated with the transformed left spread of AP (0.038, [0.010, 0.065]); RT2=0.610R_{T}^{2} = 0.610. Students with higher prior knowledge, and students whose prior knowledge was assessed with a wider left spread, tend to have a more imprecise lower side of academic performance. In the multivariate model (Table 6), the center of AP is associated with the centers of PK (0.074, [0.035, 0.109]) and CI (1.65, [1.19, 2.05]); the transformed left spread of AP is associated with the left spread of PK (0.031, [0.008, 0.056]) and with the center of CI (0.073, [0.033, 0.115]); no covariate has an interval excluding zero in the right-spread equation, and CR has none in any equation. RT2=0.765R_{T}^{2} = 0.765 and the adjusted value is 0.746. Variance inflation factors do not exceed 2.95, two units have leverage above 2p/n=0.1762p/n = 0.176 (maximum 0.239), and the residual correlation between the center and the transformed left spread is 0.28.

Bivariate model of AP on PK

Figure 4. Bivariate model of AP on PK. Fitted center, left spread and right spread of AP as functions of the center of PK, with both spreads of PK at their medians (dotted), with the left spread of PK at its maximum (solid) or with the right spread at its maximum (dashed). Points are observed values; horizontal segments are the supports of PK.

The leave-one-out comparison (Table 7) does not favor the covariate spreads. The full fuzzy model has CVO = 9.83, against 35.97 for the intercept-only model, but the model with fuzzy response and covariate centers only has CVO = 9.24 and the centers-only model 9.27. The six spread regressors of PK and CI increase RT2R_{T}^{2} from 0.760 to 0.765 and worsen the leave-one-out distance by about 6%. In this sample, therefore, the spreads of the covariates describe associations with the imprecision of AP but do not improve prediction. This agrees with the simulation, in which the fuzzy model was outperformed by the centers-only model at n=50n = 50 and n=100n = 100.

Table 7: Model comparison by leave-one-out cross-validated Yang–Ko distance on the original scale (CVO) and on the transformed scale (CVT). Lower is better. pp is the number of parameters per component equation.

ModelppRT2R^2_TCVOCV_OCVTCV_T
Intercept only (mean TFN)10.00035.97036.180
Centers only, spreads at sample mean4–9.2729.316
Fuzzy response, covariate centers only40.7609.2409.309
Bivariate fuzzy model (PK)40.61014.95415.097
Full fuzzy model (PK, CI, CR)80.7659.8259.894

Table 7.

Mediation. In the mediator equations (Table 8, RT2=0.480R_{T}^{2} = 0.480), the center of PK is associated with all three components of CI, and each spread of

TermCenterlog left spreadlog right spread
Intercept3.435 [2.700, 4.239]0.187 [0.008, 0.369]0.230 [0.018, 0.445]
PKm_m0.039 [0.030, 0.049]0.008 [0.006, 0.011]0.008 [0.006, 0.010]
PKl_l0.084 [-0.073, 0.237]0.038 [0.006, 0.073]-0.026 [-0.054, 0.005]
PKr_r-0.009 [-0.167, 0.141]0.025 [-0.007, 0.054]0.078 [0.045, 0.114]
CR0.083 [-0.001, 0.171]0.019 [0.001, 0.039]0.016 [-0.006, 0.037]

Table 8. Mediator equations: CI on PK and CR, componentwise estimates with 95% percentile bootstrap intervals. RT2=0.480R_{T}^{2} = 0.480. Bold: interval excluding zero.

PK with the corresponding spread of CI (left: 0.038, [0.006, 0.073]; right: 0.078, [0.045, 0.114]), so that more imprecise assessments of prior knowledge go with more imprecise course indicators. Table 9 and Figure 5 report the decomposition. For the center of AP, a 10-point increase in the center of PK corresponds to TEm=1.54\mathrm{TE}_m = 1.54 [1.24, 1.86], with NDEm=0.74\mathrm{NDE}_m = 0.74 [0.38, 1.07] and NIEm=0.81\mathrm{NIE}_m = 0.81 [0.46, 1.19], so that the indirect contrast through CI accounts for about 52% of the model-based total. The path through the center of CI accounts for 0.64 [0.42, 0.89] and equals the product of coefficients, since the center is not transformed; the paths through the left and right spreads of CI (0.09 and 0.08) have intervals that include zero, and so does their sum, 0.165 [−0.090, 0.490]. In this sample the indirect contrast through the spreads of CI cannot be distinguished from zero, and the indirect effect on the center is carried mainly by the center of CI. The plug-in total effect differs from the coefficient of the total model, δαXm=1.53\delta\alpha X_m = 1.53, by 0.012, as predicted by Proposition 2 for transformed mediator spreads. For the left spread of AP, TEl=0.114\mathrm{TE}_l = 0.114 [0.056, 0.175] and NIEl=0.090\mathrm{NIE}_l = 0.090 [0.020, 0.155], while the interval of NDEl\mathrm{NDE}_l includes zero; for the right spread no effect has an interval excluding zero. As noted in § 4.1, an interval for a direct effect that includes zero is not evidence of total mediation.

Table 9: Componentwise mediation decomposition for an increase of 10 points in the center of PK, with CI as fuzzy mediator and CR as covariate. Effects are on the original scale of each component of AP. 95% percentile bootstrap intervals, B=1000B = 1000.

EffectEstimate95% interval
Center of AP
Total (TE)1.5444[1.2433, 1.8634]
Direct (NDE)0.7359[0.3797, 1.0700]
Indirect (NIE)0.8085[0.4639, 1.1900]
via CIm_m0.6435[0.4167, 0.8858]
via CIl_l0.0862[-0.1264, 0.3237]
via CIr_r0.0788[-0.1104, 0.2888]
via CIl_l and CIr_r (sum)0.1650[-0.0897, 0.4904]
Left spread of AP
Total (TE)0.1140[0.0556, 0.1752]
Direct (NDE)0.0241[-0.0643, 0.1157]
Indirect (NIE)0.0899[0.0202, 0.1551]
Right spread of AP
Total (TE)0.0900[-0.0211, 0.1894]
Direct (NDE)0.0590[-0.0487, 0.1675]
Indirect (NIE)0.0310[-0.0587, 0.1142]

Table 9. Componentwise mediation decomposition for an increase of 10 points in the center of PK, with CI as fuzzy mediator and CR as covariate. Effects are on the original scale of each component of AP. 95% percentile bootstrap intervals, B=1000B = 1000.

Model-based total, direct and indirect effects on AP center, left spread and right spread

Figure 5. Model-based total (TE), direct (NDE) and indirect (NIE) effects of an increase of 10 points in the center of PK on the center and spreads of AP, with CI as fuzzy mediator and CR as covariate. Bars are 95% percentile case-bootstrap intervals (B=1000B = 1000).

These are decompositions of associations. PK refers to the period before the course but was reported retrospectively in the same questionnaire as CI, AP summarizes tests taken during and at the end of the course, and the conditions for a causal reading are not verifiable. The contrast also requires extrapolation. For 6.6% of the students the shifted center of PK exceeds 100, and 26.4% of the students have an observed CI support whose upper end is already 10, so that any positive shift of the mediator moves their counterfactual support beyond the scale (maximum excess 0.73 points). The latter is a consequence of the spread model, which does not impose the upper bound of the scale, and not of the size of δ\delta. Truncating the counterfactual mediator to the scale of CI (Table B.7 in Appendix § 12) reduces NIEm\mathrm{NIE}_m from 0.809 to 0.749 [0.463, 1.069], and further restricting the average to the 83 students whose shifted PK support remains in [0, 100] gives 0.759 [0.466, 1.109]. NDEm\mathrm{NDE}_m is unchanged and NIEl\mathrm{NIE}_l remains 0.091 [0.034, 0.143]. The truncation mainly removes the small indirect contrast on the right spread (from 0.031 to 0.001) and part of the contribution of the spreads of CI (from 0.165 to 0.105). The conclusions on the center and on the left spread of AP therefore do not depend on the inadmissible counterfactual values.

Table 10: Exploratory interaction blocks for the PK association. ΔRT2\Delta R_T^2: in-sample increase over the model without the interaction block; pp: Freedman–Lane permutation pp-value (P=999P = 999); pHolmp_{\mathrm{Holm}}: Holm adjustment over the four blocks; CVO: leave-one-out distance of the model with and without the interaction block; κ\kappa: condition number of the design matrix.

Interaction blockΔRT2\Delta R_T^2pppHolmp_{\mathrm{Holm}}CVO, withCVO, withoutκ\kappa
PK ∘\circ CR (crisp numerical)0.0030.8000.80010.3439.8256.1e+03
PK ∘\circ CI (fuzzy)0.0090.3720.74410.5339.8251.1e+04
PK ∘\circ SX (crisp binary)0.0490.0010.0047.9969.5477.1e+02
PK ∘\circ MOT (fuzzy)0.0480.0010.0048.72510.0931.2e+04

Table 10. Exploratory interaction blocks for the PK association.

Moderation. Table 10 summarizes the four interaction blocks. The blocks PK∘\circCR and PK∘\circCI do not improve the fit (ΔRT2=0.003\Delta R_T^2 = 0.003 and 0.009, p=0.800p = 0.800 and 0.372) and worsen the leave-one-out distance (from 9.83 to 10.34 and 10.53); the conditional effects of PK at the quartiles of CR and CI have overlapping intervals (Table B.2 and Figure B.1 in Appendix § 12). The blocks PK∘\circSX and PK∘\circMOT have p=0.001p = 0.001, the smallest attainable value, and Holm-adjusted p=0.004p = 0.004; they increase RT2R_T^2 by 0.049 and 0.048 and reduce the leave-one-out distance from 9.55 to 8.00 and from 10.09 to 8.73. In the SX model (Table B.5 in Appendix § 12), the coefficient of (PK∘SX)m(\mathrm{PK} \circ\mathrm{SX})_m in the center equation is 0.090 [0.041, 0.140], so that the slope of the center of AP on the center of PK is 0.042 for female students (SX = 0) and 0.132 for male students (SX = 1). In the MOT model (Table B.6 in Appendix § 12), the coefficients of (PK∘MOT)m(\mathrm{PK} \circ\mathrm{MOT})_m and (PK∘MOT)r(\mathrm{PK} \circ\mathrm{MOT})_r in the center equation are 0.032 [0.019, 0.048] and 0.072 [0.013, 0.135]; by (17), with the spreads of MOT at their median of 1, the point estimate of the slope increases from 0.046 at the first quartile of the center of MOT (4) to 0.141 at the third quartile (7). The association of PK with the center of AP is therefore stronger for male students and for more motivated students. The interaction analyses are exploratory, and the two blocks with small pp-values are two of the four tested; the condition numbers of the MOT and CI designs exceed 10410^4, and the coefficients of the main effects in these models refer to a moderator equal to zero and are not interpretable on their own.

Discussion and conclusions

The paper defines mediation and moderation within the componentwise distance-based regression model for triangular fuzzy data. Three methodological results are relevant for applications. Componentwise least squares minimizes the unconstrained quadratic extension of the Yang–Ko distance on the transformed scale, whatever its shape parameters, but not the distance on the original scale after projection, so goodness of fit and prediction should be assessed on the scale on which they are interpreted, and the closed-form leave-one-out distances make this inexpensive. When the mediator spreads are transformed and carry part of the indirect association, the product-of-coefficients rule no longer holds for the center of the response: the indirect effect depends on the observed spreads, and plug-in contrasts are needed. Effects on the spreads of the response are nonlinear in the parameters and have no product-of-coefficients analogue.

Under the calibrated data-generating process, the simulation supports percentile case-bootstrap intervals for the plug-in effects: bias was negligible, coverage ranged from 0.905 to 0.975, and the size of the indirect-effect tests did not exceed 0.085. Two results limit these conclusions. Indirect effects on the spreads are small relative to their sampling variability, and the effect on the right spread was detected in at most 40% of the replications at n=500n = 500. The fuzzy model improved prediction over a centers-only model only from n=250n = 250, and the improvement was about 2%; in the application, with n=91n = 91, the covariate spreads did not improve leave-one-out prediction. Ignoring the paths through the spreads of the mediator, however, biased the indirect effect on the center by 16 to 20% at every sample size, whereas omitting the spreads of the predictor produced a bias of opposite sign. The fuzzy decomposition is therefore preferable for estimating the indirect effect when the mediator spreads carry part of it, even when it is not preferable for prediction; when they do not, a crisp estimator that keeps all components of the predictor is unbiased and more efficient.

In the application, the indirect contrast through the course indicator accounted for about half of the model-based association between prior knowledge and the center of academic performance, and an indirect contrast was also found for the left spread of academic performance. Prior knowledge was more strongly associated with academic performance among male students and among more motivated students. Truncating the counterfactual mediator to its scale reduced the indirect effect on the center by 7%, and the contribution of the mediator spreads to that effect was not distinguishable from zero. The mediation analysis has no causal identification, the moderation analyses are exploratory and based on two blocks out of four, and the spread equations are estimated from integer spreads with little variation.

Further limitations concern the model. The log⁡(1+⋅)\log(1+\cdot) spread model guarantees nonnegative spreads but does not impose the upper bound of bounded rating scales; in the application, counterfactual mediator values fell outside the scale for a quarter of the students (truncating them reduced the indirect effect on the center by 7%), and in the simulation the Gaussian data-generating process produced inadmissible values for 12 to 24% of the units. A transformation of the distances of the support endpoints from both bounds would address this. The Dubois–Prade product used for fuzzy interactions is an approximation whose error is small only when the spreads are small relative to the centers; in the application, the error on the support endpoints of the interaction regressors is at most 3.7% of the center for PK⊗CI\mathrm{PK}\otimes\mathrm{CI} and 7.0% for PK⊗MOT\mathrm{PK}\otimes\mathrm{MOT}, and only one of the 91 regressors PK⊗MOT\mathrm{PK}\otimes\mathrm{MOT} has a negative lower endpoint. The Freedman–Lane test is approximate; in the plasmode experiment its size was between 0.025 and 0.055, but it was assessed only for the two blocks of that design, under a correctly specified model with exchangeable residuals, and its level under heteroscedasticity was not studied. The fuzzy mediation and moderation methods of Yoon [36], Shin et al. [37] and Kang et al. [38] estimate fuzzy-valued coefficients and indirect effects, whereas the effects of Definition 1 are real-valued contrasts on each component of the response; since the two approaches estimate different quantities, a numerical comparison would require a common target that neither framework defines. Future work includes bounded spread transformations, sensitivity analysis for unmeasured mediator–outcome confounding, and categorical mediators through the multinomial formulation of § 4.4.

Data availability

The data and the R code that reproduces all tables and figures are available from the corresponding author upon reasonable request.

Declaration of competing interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

CRediT authorship contribution statement

F.M.: Conceptualization, Methodology, Software, Formal analysis, Writing – original draft. A.P.: Methodology, Data curation, Validation, Writing – review & editing.

Declaration of generative AI and AI-assisted technologies in the manuscript preparation process

During manuscript preparation, language editing tools were used only to improve readability and English style. The authors reviewed and revised the manuscript and take full responsibility for its scientific content.

Diagrams for the remaining configurations

Figure A.1 completes the diagrams of Sections 4 and 5 for the configurations not shown in the main text: mediation with a crisp predictor and a fuzzy mediator (panel a), mediation with a fuzzy predictor and a crisp categorical mediator (panel b), and moderation of a fuzzy predictor by a crisp numerical (panel c) or crisp categorical (panel d) moderator. In each panel, the upper diagram corresponds to the absence and the lower diagram to the presence of the effect.

Mediation and moderation diagrams for configurations with a crisp predictor, mediator or moderator

Figure A.1. (a) Crisp predictor, fuzzy mediator. (b) Fuzzy predictor, crisp categorical mediator (pcp_c: category probabilities). (c) Crisp numerical moderator, interaction regressor M⊙X~M \mathbin{\odot} \tilde{X}: β3=0\beta_3 = 0 (upper) and β3≠0\beta_3 \ne0 (lower). (d) Crisp categorical moderator, interaction regressors Dk⊙X~D_k \mathbin{\odot} \tilde{X}: all β3k=0\beta_{3k} = 0 (upper) and at least one β3k≠0\beta_{3k} \ne0 (lower). Figure A.1: Mediation and moderation diagrams for configurations with a crisp predictor, mediator or moderator.

Additional results of the application

This appendix reports the results of § 7 that are not shown in the main text: the coefficients of the bivariate model (Table B.1), the conditional effects of PK for the CR and CI moderation models (Table B.2 and Figure B.1), the coefficients of the four interaction models (Tables B.3–B.6) and the sensitivity analysis of the mediation decomposition to the scale constraints (Table B.7).

Table B.1: Bivariate model of AP on PK: componentwise estimates with 95% percentile bootstrap intervals (B=1000B = 1000). RT2=0.610R^2_T = 0.610. Bold: interval excluding zero.

TermCenterlog left spreadlog right spread
Intercept8.436 [6.037, 10.536]0.687 [0.514, 0.858]0.781 [0.600, 0.976]
PKm_m0.157 [0.130, 0.187]0.004 [0.002, 0.006]0.003 [-0.001, 0.006]
PKl_l0.260 [-0.151, 0.661]0.038 [0.010, 0.065]-0.006 [-0.036, 0.022]
PKr_r-0.094 [-0.501, 0.300]-0.007 [-0.031, 0.017]0.026 [-0.004, 0.065]

Table B.1.

Table B.2: Moderation on observed variables. Conditional effect of an increase of 10 points in the center of PK on the center and spreads of AP (original scale), with the moderator at its quartiles and the other covariates at their medians. 95% percentile bootstrap intervals in brackets. The baseline model without interaction has CVO=9.825CVO = 9.825.

Moderator levelAP centerAP left spreadAP right spread
PK ◦ CR (fuzzy × crisp numerical)
ΔRT2=0.003\Delta R^2_T = 0.003, permutation p=0.800p = 0.800, CVO=10.343CVO = 10.343
CR at Q10.701 [0.251, 1.076]0.015 [-0.088, 0.125]0.057 [-0.091, 0.188]
CR at Median0.747 [0.356, 1.108]0.013 [-0.077, 0.107]0.067 [-0.054, 0.190]
CR at Q30.764 [0.372, 1.176]0.012 [-0.080, 0.112]0.071 [-0.044, 0.196]
PK ◦ CI (fuzzy × fuzzy)
ΔRT2=0.009\Delta R^2_T = 0.009, permutation p=0.372p = 0.372, CVO=10.533CVO = 10.533
CI at Q10.913 [0.382, 1.318]0.078 [-0.022, 0.191]0.025 [-0.122, 0.175]
CI at Median0.790 [0.379, 1.248]0.042 [-0.033, 0.153]0.026 [-0.120, 0.161]
CI at Q30.790 [0.359, 1.236]0.042 [-0.050, 0.142]0.026 [-0.131, 0.162]

Table B.2.

Fitted center and spreads of AP as functions of the center of PK

Figure B.1. Fitted center and spreads of AP as functions of the center of PK, with the moderator (center of CI, left; CR, right) at its first quartile, median and third quartile and the other covariates at their medians. The median and the third quartile of the center of CI are both equal to 7, so the corresponding curves coincide.

TermCenterlog left spreadlog right spread
Intercept1.335 [-4.091, 7.894]0.578 [-0.037, 1.122]0.624 [0.046, 1.287]
PKm_m0.062 [-0.026, 0.123]0.001 [-0.005, 0.008]0.001 [-0.009, 0.008]
PKl_l0.595 [-0.306, 1.486]0.018 [-0.076, 0.112]-0.003 [-0.098, 0.097]
PKr_r-0.293 [-1.706, 0.767]-0.063 [-0.149, 0.020]0.046 [-0.062, 0.226]
CIm_m1.689 [1.225, 2.092]0.074 [0.035, 0.119]0.029 [-0.021, 0.069]
CIl_l0.277 [-0.545, 1.252]0.015 [-0.055, 0.083]-0.055 [-0.174, 0.039]
CIr_r0.378 [-0.587, 1.328]0.005 [-0.075, 0.071]0.052 [-0.016, 0.126]
(PK ∘\circ CR)m_m0.003 [-0.009, 0.019]0.000 [-0.001, 0.001]0.000 [-0.001, 0.002]
(PK ∘\circ CR)l_l-0.103 [-0.299, 0.079]0.003 [-0.018, 0.022]0.000 [-0.019, 0.019]
(PK ∘\circ CR)r_r0.025 [-0.174, 0.252]0.011 [-0.003, 0.025]-0.005 [-0.033, 0.011]
CR0.207 [-1.029, 1.182]-0.032 [-0.131, 0.088]0.009 [-0.110, 0.120]

Table B.3. Moderation model PK ∘\circ CR (fuzzy ×\times crisp numerical): componentwise estimates with 95% percentile bootstrap intervals. RT2=0.768R_T^2 = 0.768; Freedman–Lane permutation test for the interaction block, p=0.800p = 0.800. Bold: interval excluding zero.

TermCenterlog left spreadlog right spread
Intercept3.249 [-5.780, 16.071]0.195 [-0.758, 1.108]-0.103 [-1.458, 1.325]
PKm_m0.059 [-0.151, 0.213]0.005 [-0.010, 0.020]0.013 [-0.007, 0.033]
PKl_l-0.113 [-0.530, 0.452]0.019 [-0.018, 0.058]0.022 [-0.028, 0.072]
PKr_r-0.282 [-0.798, 0.122]-0.026 [-0.068, 0.007]0.032 [-0.014, 0.084]
CIm_m2.359 [-0.108, 3.898]0.166 [-0.009, 0.340]0.043 [-0.180, 0.289]
CIl_l-1.931 [-5.141, 2.000]0.012 [-0.282, 0.318]0.228 [-0.226, 0.702]
CIr_r-0.855 [-3.534, 2.463]-0.233 [-0.492, 0.061]0.161 [-0.213, 0.434]
(PK ∘\circ CI)m_m-0.012 [-0.036, 0.027]-0.001 [-0.004, 0.001]0.000 [-0.004, 0.003]
(PK ∘\circ CI)l_l0.035 [-0.028, 0.089]0.000 [-0.004, 0.004]-0.004 [-0.011, 0.003]
(PK ∘\circ CI)r_r0.018 [-0.028, 0.059]0.003 [0.000, 0.007]-0.002 [-0.006, 0.004]
CR0.132 [-0.059, 0.351]0.003 [-0.008, 0.016]0.008 [-0.008, 0.026]

Table B.4. Moderation model PK ∘\circ CI (fuzzy ×\times fuzzy): componentwise estimates with 95% percentile bootstrap intervals. RT2=0.775R_T^2 = 0.775; Freedman–Lane permutation test for the interaction block, p=0.372p = 0.372. Bold: interval excluding zero.

Table B.5: Moderation model PK ∘\circ SX (fuzzy ×\times crisp binary): componentwise estimates with 95% percentile bootstrap intervals. RT2=0.826R_{T}^{2} = 0.826; Freedman–Lane permutation test for the interaction block, p=0.001p = 0.001. Bold: interval excluding zero.

TermCenterlog left spreadlog right spread
Intercept3.632 [0.842, 6.777]0.587 [0.324, 0.852]0.713 [0.390, 0.989]
PKm_m0.042 [0.002, 0.077]-0.001 [-0.004, 0.002]0.001 [-0.003, 0.005]
PKl_l0.066 [-0.291, 0.394]0.016 [-0.013, 0.043]-0.006 [-0.034, 0.024]
PKr_r0.015 [-0.321, 0.393]-0.007 [-0.032, 0.020]0.005 [-0.032, 0.039]
CIm_m1.591 [1.122, 2.007]0.072 [0.030, 0.114]0.034 [-0.020, 0.087]
CIl_l0.246 [-0.594, 1.046]0.005 [-0.062, 0.070]-0.060 [-0.154, 0.027]
CIr_r0.451 [-0.361, 1.274]0.009 [-0.057, 0.064]0.062 [-0.005, 0.141]
(PK ∘\circ SX)m_m0.090 [0.041, 0.140]0.005 [0.001, 0.009]0.002 [-0.007, 0.010]
(PK ∘\circ SX)l_l-0.333 [-1.008, 0.380]0.035 [-0.019, 0.096]0.029 [-0.071, 0.139]
(PK ∘\circ SX)r_r-0.491 [-1.156, 0.207]0.015 [-0.040, 0.065]0.046 [-0.040, 0.156]
CR0.132 [-0.031, 0.324]0.003 [-0.010, 0.017]0.008 [-0.009, 0.027]
SX-2.843 [-6.764, 1.247]-0.533 [-0.871, -0.168]-0.352 [-0.807, 0.092]

Table B.5.

Table B.6: Moderation model PK ∘\circ MOT (fuzzy ×\times fuzzy): componentwise estimates with 95% percentile bootstrap intervals. RT2=0.824R_{T}^{2} = 0.824; Freedman–Lane permutation test for the interaction block, p=0.001p = 0.001. Bold: interval excluding zero.

TermCenterlog left spreadlog right spread
Intercept18.092 [9.331, 28.373]1.044 [0.191, 1.957]0.749 [-0.755, 2.021]
PKm_m-0.164 [-0.309, -0.048]-0.007 [-0.018, 0.004]0.000 [-0.016, 0.020]
PKl_l0.014 [-0.443, 0.527]0.042 [-0.004, 0.093]0.027 [-0.033, 0.097]
PKr_r-0.584 [-1.085, -0.084]-0.045 [-0.086, -0.009]0.007 [-0.058, 0.085]
CIm_m1.702 [1.243, 2.119]0.082 [0.034, 0.125]0.033 [-0.020, 0.075]
CIl_l0.444 [-0.268, 1.294]0.007 [-0.055, 0.072]-0.059 [-0.166, 0.032]
CIr_r0.062 [-0.731, 0.798]-0.015 [-0.087, 0.046]0.055 [-0.011, 0.136]
MOTm_m-2.176 [-3.427, -1.205]-0.078 [-0.190, 0.019]-0.053 [-0.198, 0.124]
MOTl_l-0.939 [-4.332, 2.698]0.103 [-0.299, 0.578]0.329 [-0.071, 0.712]
MOTr_r-4.874 [-8.707, -1.105]-0.407 [-0.762, -0.057]-0.153 [-0.634, 0.403]
(PK ∘\circ MOT)m_m0.032 [0.019, 0.048]0.001 [0.000, 0.002]0.001 [-0.001, 0.003]
(PK ∘\circ MOT)l_l0.012 [-0.048, 0.063]-0.002 [-0.009, 0.004]-0.004 [-0.010, 0.002]
(PK ∘\circ MOT)r_r0.072 [0.013, 0.135]0.006 [0.001, 0.011]0.002 [-0.006, 0.010]
CR0.179 [-0.027, 0.355]0.004 [-0.011, 0.019]0.010 [-0.007, 0.027]

Table B.6.

Effect(a) Main(b) Truncated mediator(c) Truncated mediator, admissible PK
TE, center1.544 [1.243, 1.863]1.485 [1.169, 1.798]1.495 [1.172, 1.823]
NDE, center0.736 [0.380, 1.070]0.736 [0.340, 1.070]0.736 [0.360, 1.076]
NIE, center0.809 [0.464, 1.190]0.749 [0.463, 1.069]0.759 [0.466, 1.109]
via CIlCI_l and CIrCI_r0.165 [-0.090, 0.490]0.105 [-0.109, 0.350]0.115 [-0.119, 0.345]
TE, left spread0.114 [0.056, 0.175]0.115 [0.045, 0.189]0.113 [0.046, 0.185]
NIE, left spread0.090 [0.020, 0.155]0.091 [0.034, 0.143]0.089 [0.038, 0.142]
TE, right spread0.090 [-0.021, 0.189]0.060 [-0.050, 0.168]0.067 [-0.046, 0.166]
NIE, right spread0.031 [-0.059, 0.114]0.001 [-0.077, 0.065]0.008 [-0.061, 0.082]

Table B.7. Sensitivity of the mediation decomposition to the scale constraints, increase of 10 points in the center of PK. (a) Main analysis; (b) counterfactual mediator truncated to the scale [0,10][0, 10] of CI; (c) as (b), averaging only over the 83 of 91 students whose shifted PK support remains in [0,100][0, 100]. 95% percentile bootstrap intervals, B=1000B = 1000.

Questionnaire

The questionnaire completed by the students in 2014 is reproduced below; only the layout has been adapted to the page. Items B1, C1 and E1 give the variables PKPK, MOTMOT and CICI of § 7.1, item A1 gives SXSX. Age (A2), final high-school grade (A3) and understanding of the course content (D1) were collected but are not used in this paper. Academic performance (AP) and course attendance (CR) are not part of the questionnaire, because they were recorded by the instructor.

Student questionnaire on academic background, motivation and course experience

Computer Science course | Prof. F. Maturo

Purpose of the activity. This questionnaire was designed to record students’ subjective assessments without forcing them to choose a single exact number. The information can be used to introduce fuzzy sets, triangular fuzzy numbers and the analysis of imprecise evaluations during the Computer Science course. It also provides a basis for methodological research on associations between educational characteristics and students’ perceptions.

What is vagueness? A judgment can be vague even when the question is understood perfectly. For example, you may consider your motivation to be “around 7 out of 10” while also accepting somewhat lower or higher values as reasonable descriptions. This is different from random variation: the degree of membership in a fuzzy set is not a probability.

A triangular fuzzy number describes such a judgment using three points: lower endpoint (L), most representative value or core (C), upper endpoint (U). The triangle rises from membership 0 at L to membership 1 at C, then falls to membership 0 at U. The left spread is C − L; the right spread is U − C. Unequal spreads are allowed.

Example: an approximate judgment on a 0–10 scale.

Triangular fuzzy number on a 0–10 scale, with L = 3.2, C = 6.4, and U = 8.7

Figure 1 (PDF p. 45).

Here L=3.2L = 3.2, C=6.4C = 6.4 and U=8.7U = 8.7; therefore, the left spread is 3.2 and the right spread is 2.3. These are degrees of compatibility with a judgment, not probabilities.

How to respond. For each subjective question, draw a triangle directly on the numbered scale: put its left foot at LL, its peak at CC (height 1) and its right foot at UU. Mark the three numbers in the spaces provided below each scale. You may choose any point along the continuous axis, including values between the labeled ticks or decimal values. Your triangle may be asymmetric. If your answer is exact, LL, CC and UU may coincide.

Part 1 · Your Background and Initial Assessment

A. Background information. These entries describe factual characteristics. No triangle is needed for this section.

A1 Sex: □ Female □ Male A2 Age (years): ________

A3 Final high-school grade: __________                             Survey year: 2014

B. Prior knowledge of computer science

B1 Before attending this course, how would you describe your knowledge of computer science? 0 = no prior knowledge; 100 = very extensive prior knowledge. Indicate the most representative level and the acceptable range around it.

Figure 6.

L = ________     C = ________     U = ________

C. Motivation toward university studies

C1 How would you assess your overall motivation to pursue your university studies? 0 = no motivation; 10 = extremely high motivation. Draw the triangle that best represents your current judgment.

Figure 7.

L = ________     C = ________     U = ________

Part 2 · Your assessment of the course

Understanding of course content

D1 How well do you feel you understand the main topics addressed in this Computer Science course? 0 = no understanding; 10 = excellent understanding. Include the range of values that you consider reasonably compatible with your assessment.

Figure 8 (PDF p. 47).

L = ________  C = ________  U = ________

Evaluation of the course

E1 Considering the usefulness of the course and the appropriateness of its programme, how satisfied are you with the course overall? 0 = not at all satisfied; 10 = completely satisfied. Give one overall assessment of these aspects, indicating both its most representative value and its acceptable range.

Figure 9 (PDF p. 47).

L = ________  C = ________  U = ________

Before handing in the form. Please check that every subjective response includes a marked lower endpoint, a core and an upper endpoint, with L≤C≤UL \le C \le U. Intermediate or decimal values are welcome; do not round solely to match the printed tick marks. There are no right or wrong subjective answers.

Note. The questionnaire was administered in Italian. The version reproduced above is an English translation prepared by the authors for this paper; the content, item order and response scales of the original form are unchanged.

References

  1. [1]L. Zadeh, Fuzzy sets, Information and Control 8 (1965) 338–353.
  2. [2]R. Bellman, M. Giertz, On the analytic formalism of the theory of fuzzy sets, Information Sciences 5 (1973) 149–157.DOI
  3. [3]L. Zadeh, Fuzzy algorithms, Information and Control 12 (1968) 94–102.
  4. [4]L. Zadeh, The concept of a linguistic variable and its application to approximate reasoning, Information Sciences 8 (1975) 199–249.
  5. [5]B. Kosko, Fuzziness versus probability, International Journal of General Systems 17 (1990) 211–240.
  6. [6]B. Kosko, Fuzzy Thinking: The New Science of Fuzzy Logic, Hyperion, 1993.
  7. [7]G. Klir, B. Yuan, Fuzzy Sets and Fuzzy Logic, Prentice Hall, New Jersey, 1995.
  8. [8]G. Klir, Uncertainty and Information: Foundations of Generalized Information Theory, Wiley, New York, 2006.
  9. [9]D. Dubois, H. Prade, Fuzzy Sets and Systems: Theory and Applications, Academic Press, New York, 1980.
  10. [10]H. Zimmermann, Fuzzy Set Theory and Its Applications, Kluwer Academic Publishers, 1996.
  11. [11]F. Maturo, F. Fortuna, Bell-shaped fuzzy numbers associated with the normal curve, in: Topics on Methodological and Applied Statistical Inference, Springer, 2016, pp. 131–144. URL: https://doi.org/10.1007/978-3-319-44093-4_13.
  12. [12]A. Celmins, Least squares model fitting to fuzzy vector data, Fuzzy Sets and Systems 22 (1987) 245–269.DOI
  13. [13]P. Diamond, Fuzzy least squares, Information Sciences 46 (1988) 141–157.DOI
  14. [14]M. Puri, D. Ralescu, Fuzzy random variables, Journal of Mathematical Analysis and Applications 114 (1986) 409–422.
  15. [15]W. Näther, Regression with fuzzy random data. Computational Statistics and Data Analysis 51 (2006) 235–252. URL: https://doi.org/10.1016/j.csda.2006.02.021.
  16. [16]A. Ramos-Guajardo, A. Colubi, A. González-Rodríguez, One-sample tests for a generalized fréchet variance of a fuzzy random variable, Metrika 71 (2010) 185–202. URL: https://doi.org/10.1007/s00184-008-0225-0.
  17. [17]G. Peters, Fuzzy linear regression with fuzzy intervals, Fuzzy Sets and Systems 63 (1994) 45–55.DOI
  18. [18]H. Tanaka, P. Guo, Possibilistic Data Analysis for Operations Research, Physica-Verlag, New York, 1999.
  19. [19]R. Coppi, P. D’Urso, P. Giordani, A. Santoro, Least squares estimation of a linear regression model with LR fuzzy response, Computational Statistics & Data Analysis 51 (2006) 267–286.DOI
  20. [20]M. S. Yang, C. H. Ko, On a class of fuzzy c-numbers clustering procedures for fuzzy data, Fuzzy Sets and Systems 84 (1996) 49–60.DOI
  21. [21]G. González-Rodríguez, A. Blanco, A. Colubi, M. Lubiano, Estimation of a simple linear regression model for fuzzy random variables, Fuzzy Sets and Systems 160 (2009) 357–370. URL: https://doi.org/10.1016/j.fss.2008.07.007.
  22. [22]M. Ferraro, R. Coppi, G. González-Rodríguez, A. Colubi, A linear regression model for imprecise response, International Journal of Approximate Reasoning 51 (2010) 759–770. URL: https://doi.org/10.1016/j.ijar.2010.04.003.
  23. [23]M. Ferraro, A. Colubi, G. González-Rodríguez, R. Coppi, A determination coefficient for a linear regression model with imprecise response, Environmetrics 22 (2011) 516–529. URL: https://doi.org/10.1002/env.1056.
  24. [24]M. B. Ferraro, P. Giordani, A multiple linear regression model for imprecise information, Metrika 75 (2012) 1049–1068. doi:10.1007/s00184-011-0367-3.DOI
  25. [25]V. Krätschmer, Strong consistency of least-squares estimation in linear regression models with vague concepts, Journal of Multivariate Analysis 97 (2006) 633–654.
  26. [26]V. Krätschmer, Limit distributions of least squares estimators in linear regression models with vague concepts, Journal of Multivariate Analysis 97 (2006) 1044–1069.
  27. [27]K. Kim, H. Moskowitz, M. Koksalan, Fuzzy versus statistical linear regression, European Journal of Operational Research 92 (1996) 417–434.DOI
  28. [28]H. Wang, R. Tsaur, Insight of a fuzzy regression model, Fuzzy Sets and Systems 112 (2000) 355–369. URL: https://doi.org/10.1016/S0165-0114(97)00375-8.
  29. [29]A. Maturo, F. Maturo, Research in social sciences: Fuzzy regression and causal complexity, in: Multicriteria and Multiagent Decision Making with Applications to Economics and Social Sciences, Springer, 2013, pp. 237–249. URL: https://doi.org/10.1007/978-3-642-35635-3_18.
  30. [30]F. Maturo, S. Hošková-Mayerová, Fuzzy regression models and alternative operations for economic and social sciences, in: Recent Trends in Social Systems: Quantitative Theories and Quantitative Models, Springer, 2017, pp. 235–247. URL: https://doi.org/10.1007/978-3-319-40588-8_21.
  31. [31]A. Porreca, F. Maturo, V. Ventre, Fuzzy centrality measures in social network analysis: Theory and application in a university department collaboration network, International Journal of Approximate Reasoning 176 (2025) 109319. doi:10.1016/j.ijar.2024.109319.DOI
  32. [32]F. Maturo, Dealing with randomness and vagueness in business and management sciences: the fuzzy-probabilistic approach as a tool for the study of statistical relationships, Ratio Mathematica 30 (2016) 43–56.DOI
  33. [33]R. M. Baron, D. A. Kenny, The moderator-mediator variable distinction in social psychological research: Conceptual, strategic, and statistical considerations, Journal of Personality and Social Psychology 51 (1986) 1173–1182.
  34. [34]A. F. Hayes, Introduction to Mediation, Moderation, and Conditional Process Analysis: A Regression-Based Approach, 2nd ed., Guilford Press, New York, 2018.
  35. [35]T. J. VanderWeele, Explanation in Causal Inference: Methods for Mediation and Interaction, Oxford University Press, New York, 2015.
  36. [36]J. H. Yoon, Fuzzy moderation and moderated-mediation analysis, International Journal of Fuzzy Systems 22 (2020) 1948–1960. URL: https://doi.org/10.1007/s40815-020-00848-3.
  37. [37]K. J. Shin, B. S. Kim, Z. W. Geem, G. H. Lee, S. W. Baik, J. H. Yoon, Fuzzy multiple moderation and moderated-mediation analysis based on L1 and L2 metrics with evolutionary algorithms and neural-networks, International Journal of Fuzzy Systems (2026). doi:10.1007/s40815-025-02145-3.DOI
  38. [38]D. J. Kang, H. G. Kang, Z. W. Geem, G. H. Lee, S. W. Baik, J. H. Yoon, Bootstrapping for fuzzy mediation and moderated-mediation analysis using fuzzy least squares estimation (FLSE) and fuzzy least absolute deviations (FLAD) with evolutionary algorithms, Soft Computing 30 (2026) 5025–5045. doi:10.1007/s00500-025-10793-8.DOI
  39. [39]A. Zellner, An efficient method of estimating seemingly unrelated regressions and tests for aggregation bias, Journal of the American Statistical Association 57 (1962) 348–368.
  40. [40]B. Efron, R. J. Tibshirani, An Introduction to the Bootstrap, Chapman & Hall, New York, 1993.
  41. [41]D. Freedman, D. Lane, A nonstochastic interpretation of reported significance levels, Journal of Business & Economic Statistics 1 (1983) 292–298.
  42. [42]K. Imai, L. Keele, D. Tingley, A general approach to causal mediation analysis, Psychological Methods 15 (2010) 309–334.

Paper details

vlnc:W_3guv7knj
Version
v1 · latest
Published
Added
License
CC BY 4.0
Usage

views · 10

downloads · 1

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents