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 . 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 -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 and 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.
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.
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.
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.
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.
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 be a non empty universe of discourse. A fuzzy set in is defined by a membership function , where represents the degree to which belongs to . When takes only the values 0 and 1, the fuzzy set reduces to a crisp set. Union, intersection and complement are commonly defined as , and .
Triangular fuzzy numbers
A fuzzy number is a fuzzy set on whose membership function is normal, convex, upper semicontinuous and has bounded support [9, 10]; its -cuts , , are closed intervals. An LR fuzzy number is written , where is the center and are the left and right spreads, and for and for , with and non-increasing shape functions such that [9]. Triangular fuzzy numbers (TFNs) correspond to . For the membership function is
with -cuts
Since the spreads may be zero in the application, we take (2) as the definition of a TFN: it is valid for all , and a zero spread corresponds to a vertical side of the triangle, where (1) is not defined. The center is the most plausible value, and the spreads quantify the imprecision on each side of it. The support is . Throughout the paper, fuzzy quantities are written as triples (center, left spread, right spread). A crisp value is the degenerate TFN .
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 and and a real number , the extension principle gives
so that sums and crisp multiples of TFNs are TFNs. The product of two TFNs is not triangular. For positive TFNs , the -cuts of the exact product are
whose endpoints are quadratic in . Dropping the quadratic terms gives the classical triangular approximation [9]
which preserves the core exactly. Relative to the exact product, the approximation overstates the left spread by and understates the right spread by , 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 it is , with support , whereas the exact support is .
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],
where and account for the shape of the membership function. For TFNs, . With , (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 , , be a triangular fuzzy response with . Let , , be fuzzy covariates and crisp covariates. Collect the intercept, the centers and spreads of the fuzzy covariates and the crisp covariates in the row vector
and let be the design matrix with rows . The model is
where , , are real coefficient vectors and are invertible transformations. Ferraro et al. [22] use , which requires strictly positive spreads. Since some recorded spreads in the application are exactly zero, we use , 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 . 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, denotes the transformed response and the matrix with rows .
Assumption 1. The units are independent and identically distributed.
for , with finite second moments.
has full column rank .
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 be the coefficient matrix. The estimator minimizes the sum of Yang–Ko discrepancies between the observed and fitted transformed responses,
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 , without constraints: a fitted transformed spread may be negative and is then not the image under of an admissible spread. Criterion (8) is therefore the unconstrained quadratic extension of the Yang–Ko distance to , and it coincides with a distance between triangular fuzzy numbers only when all fitted transformed spreads are nonnegative.
Proposition 1. Under (A3), for any the criterion (8) has the unique unconstrained minimizer
that is, ordinary least squares applied separately to , and .
Proof. Let . Expanding (5),
The leading principal minors of are , and , all positive, so is positive definite. With , , a quadratic function of with Hessian , which is positive definite under (A3) of Assumption 1. The unique stationary point solves , and since is non-singular this is equivalent to .
Proposition 1 is the identical-regressors case of seemingly unrelated regressions [39], and the proof uses only the positive definiteness of . The same estimator therefore minimizes for every positive definite weight matrix , 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 and , 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 . The minimized criterion is defined on the transformed scale. The back-transformed projected fitted spreads and are nonnegative by projection but are not necessarily the minimizers of the distance on the original scale. With the regression is specified for the transformed spreads and the fitted values are projected onto the nonnegative half-line. The fitted fuzzy response is
Under Assumption 1, 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 , the fitted values in (9) are unchanged and the corresponding coefficients are divided by . 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 of the center component quantifies the change in the center of the response associated with a one unit increase in , conditional on the other covariate components. For the spread equations, interpretation is naturally expressed on the transformed scale. With , a coefficient represents a change in for a unit increase of the corresponding regressor: in the absence of projection, one plus the fitted left spread is multiplied by . 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
Since the intercept-only model is nested in every model with an intercept and the estimator minimizes the numerator, , and 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 and leave-one-out cross-validated distances. Since the three equations share the hat matrix , the leave-one-out prediction of has the closed form , with the vector of residuals and the leverage. We define
where is the back-transformed leave-one-out prediction. 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
where and are the minimized criteria (8) of the reduced and full models, with 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 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 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 denote a fuzzy response, let denote an explanatory variable and let denote a mediator. Depending on the application, and may be fuzzy numbers, crisp numerical variables or crisp qualitative variables, and denotes additional crisp covariates. In the classical formulation [33], mediation is described by a system of regression relations: a total relation of on , a mediator relation of on , and an outcome relation of on and . The outcome relation decomposes the association between and into a direct component and an indirect component through .
In the fuzzy setting, each relation is a model of the form (7). When is fuzzy, the mediator system is
where collects the intercept, the components of and , collects the components of the mediator on the original scale, and , , are real coefficient matrices with three columns (center, transformed left spread, transformed right spread). The indirect association between and 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 is not linear in . We therefore define effects as contrasts between fitted values.
Definition 1. Let be a change in one component of , here the center , with the other components held fixed. For unit , let be the observed
mediator and , the mediator obtained by moving to in the mediator equations while keeping the observed residual:
Let , , be the -th component of the fitted response (9) on the original scale, and let be with replaced by . The model-based direct effect (NDE), indirect effect (NIE) and total effect (TE) on component are
The contrasts are meaningful when the shifted covariate and the counterfactual mediator remain in the domains of the corresponding scales. For bounded scales this restricts , 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 , and with their estimators. The decomposition 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) and , where . In particular, and, for , , which reduces to when the projection is not active. The right spread is analogous.
(ii) If the mediator spreads are not transformed in the mediator equations, then . If, in addition, the total relation uses the same and all equations are fitted by least squares, then exactly.
Proof. Part (i) follows from the linearity of in and . For (ii), the first claim follows from (i) with . For the second claim, let and be the matrices with rows and . Then with orthogonal to the columns of . Hence , where , and the row of 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 or ; then . 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, and are nonlinear, and Definition 1 is the natural generalization.
Mediation is called total for component when and , and partial when both are different from zero. In finite samples these statements are assessed with bootstrap intervals. Failing to exclude zero for 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 –, – and – relations and no mediator–outcome confounder affected by [42, 35]. These conditions are not assumed in this paper.
Fuzzy predictor and fuzzy mediator
When both the predictor and the mediator are represented as fuzzy numbers, mediation is modeled through (13) with $\mathbf{w}_i^{\mathsf{T}} . In compact notation, the structure can be written as
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 and into a direct component and an indirect component associated with . 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.

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 , , stand for the blocks of componentwise coefficients in (14); means that all coefficients of the components of in the outcome equations are zero, so that for every .
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 , . System (13) applies with containing or the dummies. For a quantitative predictor, Definition 1 is applied with equal to a change in . For a qualitative predictor, the contrast is between category and the reference category, that is, sets and 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 , the mediator equation is the ordinary regression , with containing the three components of . The outcome equations contain as a crisp regressor, and Definition 1 applies with .
For a qualitative mediator with categories, coded by dummies , , the outcome equations are
A mediator model is still needed, for instance a multinomial logit model for , . Comparing the direct association of with and without the dummies (the difference method) does not identify an indirect effect. With fitted probabilities , the model-based indirect effect on component is
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 be a fuzzy response, an explanatory variable and a moderator. The general fuzzy regression model with moderation is
where 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 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 : , exact by (3). If takes negative values, for instance after centering, the spreads are swapped as in (3).
Fuzzy predictor, crisp categorical moderator: for each dummy , again exact.
Fuzzy predictor, fuzzy moderator: the Dubois–Prade approximation (4), , for positive TFNs.
In all cases, 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 associated with an increase in is . 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 . For a fuzzy moderator, the center of enters all three components of , and the change becomes
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 -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 and so as to remain in the space of TFNs. The approximation (4) preserves the core exactly, and its error on the support, on the left and 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.

Figure 2. Moderation with fuzzy predictor and fuzzy moderator. The interaction term is the additional fuzzy regressor of (4). Upper panel, absence of moderation, . Lower panel, presence of moderation, .
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 denote a fuzzy predictor and a crisp numerical moderator. The moderated model is
so that the contribution of the fuzzy predictor varies continuously with , 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 be a crisp categorical moderator encoded through dummies , . The moderated model is
The coefficients represent group specific shifts of the fuzzy response with respect to the reference category, and represent deviations of the effect of the fuzzy predictor in category , so that the reference category has slope and category has slope , 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 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 . The mediator CI was generated from the mediator equations, , and the response AP from the outcome equations, , where the coefficient matrices are the least squares estimates on the data, and are trivariate Gaussian with the empirical residual covariance matrices of the two systems, and spreads are obtained by the projection . The noise multiplier was and the sample size . 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 , were approximated by evaluating the plug-in contrasts with the true parameters on one simulated sample of units. Each design cell used replications and bootstrap resamples per replication. Because the Gaussian residuals are unbounded, generated centers and supports can fall outside the admissible ranges for CI and 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, 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 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:
with and 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 . Sample sizes were as above, with replications and 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 , where is the coefficient of in a regression of and the coefficient of in a regression of . 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 , , and 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 and 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 , 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 and are approximately unbiased. Across the eight cells, the absolute bias of is at most 0.017 (true value 0.81), which is within about two MCSE, and the RMSE decreases with roughly as , from 0.264 at to 0.070 at with . 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 with and for with ; 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 . With , power for is 0.87 at and reaches 1 from ; for (true value 0.09) it increases from 0.375 at to 1 at . 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 .
| NDE Bias | NDE Cov. | NIE Bias | NIE RMSE | NIE Cov. | NIE Rej. | NIE Cov. | NIE Cov. | NIE Rej. | ||
| 50 | 1 | -0.006 | 0.915 | 0.012 | 0.264 | 0.915 | 0.870 | 0.915 | 0.955 | 0.095 |
| 100 | 1 | -0.007 | 0.935 | -0.002 | 0.176 | 0.925 | 1.000 | 0.950 | 0.950 | 0.135 |
| 250 | 1 | -0.013 | 0.930 | 0.017 | 0.110 | 0.935 | 1.000 | 0.950 | 0.935 | 0.240 |
| 500 | 1 | 0.001 | 0.960 | -0.005 | 0.070 | 0.940 | 1.000 | 0.960 | 0.950 | 0.395 |
| 50 | 2 | -0.005 | 0.925 | -0.007 | 0.304 | 0.965 | 0.665 | 0.965 | 0.945 | 0.070 |
| 100 | 2 | 0.006 | 0.905 | -0.006 | 0.226 | 0.940 | 0.975 | 0.975 | 0.945 | 0.075 |
| 250 | 2 | 0.003 | 0.910 | 0.002 | 0.127 | 0.965 | 1.000 | 0.930 | 0.965 | 0.275 |
| 500 | 2 | -0.009 | 0.915 | -0.005 | 0.109 | 0.920 | 1.000 | 0.905 | 0.945 | 0.395 |
Table 1. Monte Carlo study, mediation scenario calibrated on the empirical estimates ( replications, 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: NDE 0.736 (), 0.736 (); NIE 0.809 (), 0.815 (); NIE 0.090 (), 0.091 (); NIE 0.031 (), 0.032 ().
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 NIE, which does not decrease with . 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 , and in the empirical scenario the fuzzy estimator has the lowest RMSE from (0.070 against 0.124 for CO and 0.151 for IM at with ), while at 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.
| True | Fuzzy Bias | Fuzzy RMSE | IM Bias | IM RMSE | CO Bias | CO RMSE | ||
| Empirical scenario: part of the indirect effect passes through the spreads of CI | ||||||||
| 50 | 1 | 0.809 | 0.012 | 0.264 | -0.137 | 0.236 | -0.109 | 0.216 |
| 100 | 1 | 0.809 | -0.002 | 0.176 | -0.136 | 0.179 | -0.107 | 0.158 |
| 250 | 1 | 0.809 | 0.017 | 0.110 | -0.130 | 0.156 | -0.103 | 0.134 |
| 500 | 1 | 0.809 | -0.005 | 0.070 | -0.141 | 0.151 | -0.111 | 0.124 |
| 50 | 2 | 0.815 | -0.007 | 0.304 | -0.166 | 0.315 | -0.139 | 0.284 |
| 100 | 2 | 0.815 | -0.006 | 0.226 | -0.163 | 0.248 | -0.140 | 0.227 |
| 250 | 2 | 0.815 | 0.002 | 0.127 | -0.146 | 0.184 | -0.122 | 0.162 |
| 500 | 2 | 0.815 | -0.005 | 0.109 | -0.155 | 0.181 | -0.134 | 0.161 |
| Scenario without spread paths: the indirect effect passes only through the center of CI | ||||||||
| 50 | 1 | 0.643 | 0.000 | 0.257 | 0.007 | 0.194 | 0.030 | 0.204 |
| 100 | 1 | 0.643 | 0.003 | 0.168 | 0.009 | 0.118 | 0.039 | 0.123 |
| 250 | 1 | 0.643 | 0.000 | 0.099 | 0.000 | 0.073 | 0.028 | 0.078 |
| 500 | 1 | 0.643 | -0.001 | 0.077 | -0.007 | 0.053 | 0.020 | 0.057 |
| 50 | 2 | 0.643 | 0.004 | 0.345 | 0.025 | 0.300 | 0.039 | 0.287 |
| 100 | 2 | 0.643 | -0.024 | 0.210 | -0.005 | 0.177 | 0.020 | 0.170 |
| 250 | 2 | 0.643 | -0.008 | 0.132 | -0.008 | 0.119 | 0.014 | 0.116 |
| 500 | 2 | 0.643 | -0.002 | 0.089 | -0.002 | 0.073 | 0.018 | 0.077 |
Table 2. Monte Carlo study: bias and RMSE of three estimators of the indirect effect on the center of AP (). 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 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 and with . The test for is conservative, with rates between 0.005 and 0.045, and that for ranges from 0.020 to 0.085, conservative at small and slightly liberal at with . 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 (10.10 against 9.34 with ) and (9.03 against 8.85), and a smaller one at (8.60 against 8.68) and (8.45 against 8.61), where it is better in 94.5% of the replications. The pattern is the same with . The gains of the fuzzy model are small, about 2% of the test distance at , and require a sample size well above that of the application.
| Fuzzy | Centers only | |||||
| 50 | 1 | 0.055 | 0.020 | 0.010 | 10.057 | 9.339 |
| 100 | 1 | 0.065 | 0.030 | 0.005 | 9.033 | 8.849 |
| 250 | 1 | 0.080 | 0.070 | 0.005 | 8.600 | 8.677 |
| 500 | 1 | 0.085 | 0.085 | 0.045 | 8.454 | 8.609 |
| 50 | 2 | 0.055 | 0.035 | 0.005 | 39.985 | 37.221 |
| 100 | 2 | 0.075 | 0.070 | 0.035 | 36.229 | 35.437 |
| 250 | 2 | 0.050 | 0.045 | 0.010 | 34.429 | 34.609 |
| 500 | 2 | 0.070 | 0.055 | 0.040 | 33.725 | 34.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 () of the full fuzzy model and of the centers-only model with spreads predicted by their training mean, empirical scenario.
| Term | Center | log left spread | log right spread |
| Intercept | 1.852 [-0.748, 4.316] | 0.404 [0.154, 0.650] | 0.629 [0.353, 0.871] |
| 0.074 [0.035, 0.109] | 0.001 [-0.002, 0.004] | 0.002 [-0.002, 0.006] | |
| 0.126 [-0.180, 0.409] | 0.031 [0.008, 0.056] | 0.000 [-0.030, 0.028] | |
| -0.160 [-0.536, 0.200] | -0.007 [-0.036, 0.021] | 0.019 [-0.015, 0.062] | |
| 1.652 [1.189, 2.049] | 0.073 [0.033, 0.115] | 0.030 [-0.014, 0.077] | |
| 0.345 [-0.490, 1.204] | 0.009 [-0.054, 0.078] | -0.055 [-0.154, 0.029] | |
| 0.344 [-0.603, 1.146] | -0.001 [-0.065, 0.067] | 0.055 [-0.010, 0.120] | |
| 0.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 (). , adjusted . 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 , for 0.26% of the spreads of CI and 0.08% of those of AP with , 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 and 18.5% with , 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 and 23.5 to 24.3% with 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 (1.8% of the planted 0.10, about 2.3 MCSE) and 0.0008 for (2.5% of 0.03), and the RMSE decreases from 0.041 to 0.011 and from 0.013 to 0.004 between and . 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 and (0.030 and 0.025, MCSE about 0.011). Under the planted scenario, power is 0.645 (SX) and 0.600 (MOT) at , 0.930 and 0.960 at , and 1 from . 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.
| SX, center | SX, log right | MOT, center | Rej. SX | Rej. MOT | ||
| Planted interaction effects | ||||||
| 50 | 0.0013 (0.0410) | −0.0002 (0.0036) | 0.0002 (0.0130) | 0.645 | 0.600 | 200 |
| 100 | −0.0007 (0.0263) | −0.0001 (0.0024) | −0.0005 (0.0078) | 0.930 | 0.960 | 200 |
| 250 | −0.0008 (0.0138) | 0.0001 (0.0015) | 0.0008 (0.0053) | 1.000 | 1.000 | 200 |
| 500 | 0.0018 (0.0112) | 0.0001 (0.0010) | 0.0001 (0.0036) | 1.000 | 1.000 | 200 |
| No interaction (null) | ||||||
| 50 | −0.0013 (0.0372) | 0.0004 (0.0044) | −0.0010 (0.0131) | 0.055 | 0.045 | 200 |
| 100 | 0.0010 (0.0274) | −0.0001 (0.0027) | −0.0009 (0.0069) | 0.045 | 0.050 | 200 |
| 250 | −0.0002 (0.0143) | 0.0001 (0.0016) | −0.0003 (0.0044) | 0.030 | 0.045 | 200 |
| 500 | −0.0004 (0.0099) | 0.0001 (0.0011) | 0.0003 (0.0031) | 0.025 | 0.050 | 200 |
Table 4. Plasmode Monte Carlo study for moderation. Bias (RMSE) of the interaction coefficients and rejection rate of the Freedman–Lane test ( permutations, level 0.05) for the SX and MOT interaction blocks. Planted values: , , . : valid replications.
Real data application
Data
The application uses data on 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 (item B1); motivation (MOT), the self-assessed motivation toward university studies, on (item C1); and the course indicator (CI), the overall satisfaction with the usefulness and the programme of the course, on (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 , 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 for male students (38) and SX 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 (). 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. | Type | Pot. range | Center range | Mean (SD) center | Left spread | Right spread |
| AP | TFN | [0, 30] | [10, 30] | 19.40 (3.46) | 1.89 [1, 3] | 1.89 [0, 3] |
| PK | TFN | [0, 100] | [30, 100] | 66.16 (16.63) | 3.09 [1, 5] | 2.73 [0, 5] |
| CI | TFN | [0, 10] | [4, 9] | 6.63 (1.02) | 1.84 [1, 3] | 1.71 [1, 3] |
| MOT | TFN | [0, 10] | [1, 10] | 5.65 (1.96) | 0.85 [0, 1] | 0.80 [0, 1] |
| SX | Crisp binary | {0, 1} | 0 / 1 | 0.42 (0.50) | – | – |
| CR | Crisp | [1, 8] | [1, 8] | 4.58 (1.76) | – | – |
Table 5. Observed variables (). 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.

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 on and the multivariate model with , and . Coefficient intervals are 95% percentile case-bootstrap intervals with . Models were compared by 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 and through , adjusting for , by Definition 1 with points in the center of . A sensitivity analysis truncates the counterfactual mediator to the scale of and, in a second version, also excludes the students whose shifted support leaves . Four interaction blocks were then added, one at a time, to the multivariate model: (crisp numerical moderator), (fuzzy), (crisp binary, with as main effect) and (fuzzy, with as main effect). Each block was tested with the Freedman–Lane test with permutations, so that the smallest attainable -value is 0.001, and the four -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]); . 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. and the adjusted value is 0.746. Variance inflation factors do not exceed 2.95, two units have leverage above (maximum 0.239), and the residual correlation between the center and the transformed left spread is 0.28.

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 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 and .
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. is the number of parameters per component equation.
| Model | ||||
| Intercept only (mean TFN) | 1 | 0.000 | 35.970 | 36.180 |
| Centers only, spreads at sample mean | 4 | – | 9.272 | 9.316 |
| Fuzzy response, covariate centers only | 4 | 0.760 | 9.240 | 9.309 |
| Bivariate fuzzy model (PK) | 4 | 0.610 | 14.954 | 15.097 |
| Full fuzzy model (PK, CI, CR) | 8 | 0.765 | 9.825 | 9.894 |
Table 7.
Mediation. In the mediator equations (Table 8, ), the center of PK is associated with all three components of CI, and each spread of
| Term | Center | log left spread | log right spread |
| Intercept | 3.435 [2.700, 4.239] | 0.187 [0.008, 0.369] | 0.230 [0.018, 0.445] |
| PK | 0.039 [0.030, 0.049] | 0.008 [0.006, 0.011] | 0.008 [0.006, 0.010] |
| PK | 0.084 [-0.073, 0.237] | 0.038 [0.006, 0.073] | -0.026 [-0.054, 0.005] |
| PK | -0.009 [-0.167, 0.141] | 0.025 [-0.007, 0.054] | 0.078 [0.045, 0.114] |
| CR | 0.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. . 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 [1.24, 1.86], with [0.38, 1.07] and [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, , by 0.012, as predicted by Proposition 2 for transformed mediator spreads. For the left spread of AP, [0.056, 0.175] and [0.020, 0.155], while the interval of 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, .
| Effect | Estimate | 95% 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 CI | 0.6435 | [0.4167, 0.8858] |
| via CI | 0.0862 | [-0.1264, 0.3237] |
| via CI | 0.0788 | [-0.1104, 0.2888] |
| via CI and CI (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, .

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 ().
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 . Truncating the counterfactual mediator to the scale of CI (Table B.7 in Appendix § 12) reduces 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]. is unchanged and 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. : in-sample increase over the model without the interaction block; : Freedman–Lane permutation -value (); : Holm adjustment over the four blocks; CVO: leave-one-out distance of the model with and without the interaction block; : condition number of the design matrix.
| Interaction block | CVO, with | CVO, without | ||||
| PK CR (crisp numerical) | 0.003 | 0.800 | 0.800 | 10.343 | 9.825 | 6.1e+03 |
| PK CI (fuzzy) | 0.009 | 0.372 | 0.744 | 10.533 | 9.825 | 1.1e+04 |
| PK SX (crisp binary) | 0.049 | 0.001 | 0.004 | 7.996 | 9.547 | 7.1e+02 |
| PK MOT (fuzzy) | 0.048 | 0.001 | 0.004 | 8.725 | 10.093 | 1.2e+04 |
Table 10. Exploratory interaction blocks for the PK association.
Moderation. Table 10 summarizes the four interaction blocks. The blocks PKCR and PKCI do not improve the fit ( and 0.009, 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 PKSX and PKMOT have , the smallest attainable value, and Holm-adjusted ; they increase 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 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 and 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 -values are two of the four tested; the condition numbers of the MOT and CI designs exceed , 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 . The fuzzy model improved prediction over a centers-only model only from , and the improvement was about 2%; in the application, with , 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 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 and 7.0% for , and only one of the 91 regressors 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.

Figure A.1. (a) Crisp predictor, fuzzy mediator. (b) Fuzzy predictor, crisp categorical mediator (: category probabilities). (c) Crisp numerical moderator, interaction regressor : (upper) and (lower). (d) Crisp categorical moderator, interaction regressors : all (upper) and at least one (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 (). . Bold: interval excluding zero.
| Term | Center | log left spread | log right spread |
| Intercept | 8.436 [6.037, 10.536] | 0.687 [0.514, 0.858] | 0.781 [0.600, 0.976] |
| PK | 0.157 [0.130, 0.187] | 0.004 [0.002, 0.006] | 0.003 [-0.001, 0.006] |
| PK | 0.260 [-0.151, 0.661] | 0.038 [0.010, 0.065] | -0.006 [-0.036, 0.022] |
| PK | -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 .
| Moderator level | AP center | AP left spread | AP right spread |
| PK ◦ CR (fuzzy × crisp numerical) | |||
| , permutation , | |||
| CR at Q1 | 0.701 [0.251, 1.076] | 0.015 [-0.088, 0.125] | 0.057 [-0.091, 0.188] |
| CR at Median | 0.747 [0.356, 1.108] | 0.013 [-0.077, 0.107] | 0.067 [-0.054, 0.190] |
| CR at Q3 | 0.764 [0.372, 1.176] | 0.012 [-0.080, 0.112] | 0.071 [-0.044, 0.196] |
| PK ◦ CI (fuzzy × fuzzy) | |||
| , permutation , | |||
| CI at Q1 | 0.913 [0.382, 1.318] | 0.078 [-0.022, 0.191] | 0.025 [-0.122, 0.175] |
| CI at Median | 0.790 [0.379, 1.248] | 0.042 [-0.033, 0.153] | 0.026 [-0.120, 0.161] |
| CI at Q3 | 0.790 [0.359, 1.236] | 0.042 [-0.050, 0.142] | 0.026 [-0.131, 0.162] |
Table B.2.

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.
| Term | Center | log left spread | log right spread |
| Intercept | 1.335 [-4.091, 7.894] | 0.578 [-0.037, 1.122] | 0.624 [0.046, 1.287] |
| PK | 0.062 [-0.026, 0.123] | 0.001 [-0.005, 0.008] | 0.001 [-0.009, 0.008] |
| PK | 0.595 [-0.306, 1.486] | 0.018 [-0.076, 0.112] | -0.003 [-0.098, 0.097] |
| PK | -0.293 [-1.706, 0.767] | -0.063 [-0.149, 0.020] | 0.046 [-0.062, 0.226] |
| CI | 1.689 [1.225, 2.092] | 0.074 [0.035, 0.119] | 0.029 [-0.021, 0.069] |
| CI | 0.277 [-0.545, 1.252] | 0.015 [-0.055, 0.083] | -0.055 [-0.174, 0.039] |
| CI | 0.378 [-0.587, 1.328] | 0.005 [-0.075, 0.071] | 0.052 [-0.016, 0.126] |
| (PK CR) | 0.003 [-0.009, 0.019] | 0.000 [-0.001, 0.001] | 0.000 [-0.001, 0.002] |
| (PK CR) | -0.103 [-0.299, 0.079] | 0.003 [-0.018, 0.022] | 0.000 [-0.019, 0.019] |
| (PK CR) | 0.025 [-0.174, 0.252] | 0.011 [-0.003, 0.025] | -0.005 [-0.033, 0.011] |
| CR | 0.207 [-1.029, 1.182] | -0.032 [-0.131, 0.088] | 0.009 [-0.110, 0.120] |
Table B.3. Moderation model PK CR (fuzzy crisp numerical): componentwise estimates with 95% percentile bootstrap intervals. ; Freedman–Lane permutation test for the interaction block, . Bold: interval excluding zero.
| Term | Center | log left spread | log right spread |
| Intercept | 3.249 [-5.780, 16.071] | 0.195 [-0.758, 1.108] | -0.103 [-1.458, 1.325] |
| PK | 0.059 [-0.151, 0.213] | 0.005 [-0.010, 0.020] | 0.013 [-0.007, 0.033] |
| PK | -0.113 [-0.530, 0.452] | 0.019 [-0.018, 0.058] | 0.022 [-0.028, 0.072] |
| PK | -0.282 [-0.798, 0.122] | -0.026 [-0.068, 0.007] | 0.032 [-0.014, 0.084] |
| CI | 2.359 [-0.108, 3.898] | 0.166 [-0.009, 0.340] | 0.043 [-0.180, 0.289] |
| CI | -1.931 [-5.141, 2.000] | 0.012 [-0.282, 0.318] | 0.228 [-0.226, 0.702] |
| CI | -0.855 [-3.534, 2.463] | -0.233 [-0.492, 0.061] | 0.161 [-0.213, 0.434] |
| (PK CI) | -0.012 [-0.036, 0.027] | -0.001 [-0.004, 0.001] | 0.000 [-0.004, 0.003] |
| (PK CI) | 0.035 [-0.028, 0.089] | 0.000 [-0.004, 0.004] | -0.004 [-0.011, 0.003] |
| (PK CI) | 0.018 [-0.028, 0.059] | 0.003 [0.000, 0.007] | -0.002 [-0.006, 0.004] |
| CR | 0.132 [-0.059, 0.351] | 0.003 [-0.008, 0.016] | 0.008 [-0.008, 0.026] |
Table B.4. Moderation model PK CI (fuzzy fuzzy): componentwise estimates with 95% percentile bootstrap intervals. ; Freedman–Lane permutation test for the interaction block, . Bold: interval excluding zero.
Table B.5: Moderation model PK SX (fuzzy crisp binary): componentwise estimates with 95% percentile bootstrap intervals. ; Freedman–Lane permutation test for the interaction block, . Bold: interval excluding zero.
| Term | Center | log left spread | log right spread |
| Intercept | 3.632 [0.842, 6.777] | 0.587 [0.324, 0.852] | 0.713 [0.390, 0.989] |
| PK | 0.042 [0.002, 0.077] | -0.001 [-0.004, 0.002] | 0.001 [-0.003, 0.005] |
| PK | 0.066 [-0.291, 0.394] | 0.016 [-0.013, 0.043] | -0.006 [-0.034, 0.024] |
| PK | 0.015 [-0.321, 0.393] | -0.007 [-0.032, 0.020] | 0.005 [-0.032, 0.039] |
| CI | 1.591 [1.122, 2.007] | 0.072 [0.030, 0.114] | 0.034 [-0.020, 0.087] |
| CI | 0.246 [-0.594, 1.046] | 0.005 [-0.062, 0.070] | -0.060 [-0.154, 0.027] |
| CI | 0.451 [-0.361, 1.274] | 0.009 [-0.057, 0.064] | 0.062 [-0.005, 0.141] |
| (PK SX) | 0.090 [0.041, 0.140] | 0.005 [0.001, 0.009] | 0.002 [-0.007, 0.010] |
| (PK SX) | -0.333 [-1.008, 0.380] | 0.035 [-0.019, 0.096] | 0.029 [-0.071, 0.139] |
| (PK SX) | -0.491 [-1.156, 0.207] | 0.015 [-0.040, 0.065] | 0.046 [-0.040, 0.156] |
| CR | 0.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 MOT (fuzzy fuzzy): componentwise estimates with 95% percentile bootstrap intervals. ; Freedman–Lane permutation test for the interaction block, . Bold: interval excluding zero.
| Term | Center | log left spread | log right spread |
| Intercept | 18.092 [9.331, 28.373] | 1.044 [0.191, 1.957] | 0.749 [-0.755, 2.021] |
| PK | -0.164 [-0.309, -0.048] | -0.007 [-0.018, 0.004] | 0.000 [-0.016, 0.020] |
| PK | 0.014 [-0.443, 0.527] | 0.042 [-0.004, 0.093] | 0.027 [-0.033, 0.097] |
| PK | -0.584 [-1.085, -0.084] | -0.045 [-0.086, -0.009] | 0.007 [-0.058, 0.085] |
| CI | 1.702 [1.243, 2.119] | 0.082 [0.034, 0.125] | 0.033 [-0.020, 0.075] |
| CI | 0.444 [-0.268, 1.294] | 0.007 [-0.055, 0.072] | -0.059 [-0.166, 0.032] |
| CI | 0.062 [-0.731, 0.798] | -0.015 [-0.087, 0.046] | 0.055 [-0.011, 0.136] |
| MOT | -2.176 [-3.427, -1.205] | -0.078 [-0.190, 0.019] | -0.053 [-0.198, 0.124] |
| MOT | -0.939 [-4.332, 2.698] | 0.103 [-0.299, 0.578] | 0.329 [-0.071, 0.712] |
| MOT | -4.874 [-8.707, -1.105] | -0.407 [-0.762, -0.057] | -0.153 [-0.634, 0.403] |
| (PK MOT) | 0.032 [0.019, 0.048] | 0.001 [0.000, 0.002] | 0.001 [-0.001, 0.003] |
| (PK MOT) | 0.012 [-0.048, 0.063] | -0.002 [-0.009, 0.004] | -0.004 [-0.010, 0.002] |
| (PK MOT) | 0.072 [0.013, 0.135] | 0.006 [0.001, 0.011] | 0.002 [-0.006, 0.010] |
| CR | 0.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, center | 1.544 [1.243, 1.863] | 1.485 [1.169, 1.798] | 1.495 [1.172, 1.823] |
| NDE, center | 0.736 [0.380, 1.070] | 0.736 [0.340, 1.070] | 0.736 [0.360, 1.076] |
| NIE, center | 0.809 [0.464, 1.190] | 0.749 [0.463, 1.069] | 0.759 [0.466, 1.109] |
| via and | 0.165 [-0.090, 0.490] | 0.105 [-0.109, 0.350] | 0.115 [-0.119, 0.345] |
| TE, left spread | 0.114 [0.056, 0.175] | 0.115 [0.045, 0.189] | 0.113 [0.046, 0.185] |
| NIE, left spread | 0.090 [0.020, 0.155] | 0.091 [0.034, 0.143] | 0.089 [0.038, 0.142] |
| TE, right spread | 0.090 [-0.021, 0.189] | 0.060 [-0.050, 0.168] | 0.067 [-0.046, 0.166] |
| NIE, right spread | 0.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 of CI; (c) as (b), averaging only over the 83 of 91 students whose shifted PK support remains in . 95% percentile bootstrap intervals, .
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 , and of § 7.1, item A1 gives . 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.

Figure 1 (PDF p. 45).
Here , and ; 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 , its peak at (height 1) and its right foot at . 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, , and 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 . 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]L. Zadeh, Fuzzy sets, Information and Control 8 (1965) 338–353.
- [2]R. Bellman, M. Giertz, On the analytic formalism of the theory of fuzzy sets, Information Sciences 5 (1973) 149–157.DOI
- [3]L. Zadeh, Fuzzy algorithms, Information and Control 12 (1968) 94–102.
- [4]L. Zadeh, The concept of a linguistic variable and its application to approximate reasoning, Information Sciences 8 (1975) 199–249.
- [5]B. Kosko, Fuzziness versus probability, International Journal of General Systems 17 (1990) 211–240.
- [6]B. Kosko, Fuzzy Thinking: The New Science of Fuzzy Logic, Hyperion, 1993.
- [7]G. Klir, B. Yuan, Fuzzy Sets and Fuzzy Logic, Prentice Hall, New Jersey, 1995.
- [8]G. Klir, Uncertainty and Information: Foundations of Generalized Information Theory, Wiley, New York, 2006.
- [9]D. Dubois, H. Prade, Fuzzy Sets and Systems: Theory and Applications, Academic Press, New York, 1980.
- [10]H. Zimmermann, Fuzzy Set Theory and Its Applications, Kluwer Academic Publishers, 1996.
- [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]A. Celmins, Least squares model fitting to fuzzy vector data, Fuzzy Sets and Systems 22 (1987) 245–269.DOI
- [13]P. Diamond, Fuzzy least squares, Information Sciences 46 (1988) 141–157.DOI
- [14]M. Puri, D. Ralescu, Fuzzy random variables, Journal of Mathematical Analysis and Applications 114 (1986) 409–422.
- [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]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]G. Peters, Fuzzy linear regression with fuzzy intervals, Fuzzy Sets and Systems 63 (1994) 45–55.DOI
- [18]H. Tanaka, P. Guo, Possibilistic Data Analysis for Operations Research, Physica-Verlag, New York, 1999.
- [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]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]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]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]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]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]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]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]K. Kim, H. Moskowitz, M. Koksalan, Fuzzy versus statistical linear regression, European Journal of Operational Research 92 (1996) 417–434.DOI
- [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]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]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]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]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]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]A. F. Hayes, Introduction to Mediation, Moderation, and Conditional Process Analysis: A Regression-Based Approach, 2nd ed., Guilford Press, New York, 2018.
- [35]T. J. VanderWeele, Explanation in Causal Inference: Methods for Mediation and Interaction, Oxford University Press, New York, 2015.
- [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]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]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]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]B. Efron, R. J. Tibshirani, An Introduction to the Bootstrap, Chapman & Hall, New York, 1993.
- [41]D. Freedman, D. Lane, A nonstochastic interpretation of reported significance levels, Journal of Business & Economic Statistics 1 (1983) 292–298.
- [42]K. Imai, L. Keele, D. Tingley, A general approach to causal mediation analysis, Psychological Methods 15 (2010) 309–334.



