 Research Note
 Open access
 Published:
Modified sharp regression discontinuity model to settings with fuzzy variables
BMC Research Notes volumeÂ 16, ArticleÂ number:Â 278 (2023)
Abstract
Objective
The goal of this study is to develop a Modified Sharp Regression Discontinuity model to predict alcohol consumption in People Living with Human Immunodeficiency Virus (HIV) and Acquired Immunodeficiency Syndrome (AIDS). Previous studies focused on either fuzzy dependent or fuzzy independent variables separately. However, there is a gap in research that examines the interaction between both types of fuzzy variables thus the model considers both dependent and independent fuzzy variables.
Methods
A statistical model was developed to predict the relationship between alcohol consumption and HIV progression. The model equations are solved numerically using parametric estimation.
Results
In simulation studies, as the sample size expanded, the estimates derived from the modified sharp regression discontinuity model exhibited probabilistic convergence towards the true value, thereby validating the estimator of the Average Causal Effectâ€™s consistency. Counseling has an average causal effect in the sharp Regression Discontinuity Design (RDD) for compliers that is roughly equal to 0.199. This was the variation in Alcohol Use Detective Identification Test (AUDIT) threshold scores or the change in intercept scores when counseling was effective. Following six months of participation in the counseling program, AUDIT scores decreased, leading to an increase in Cluster of Differentiation 4 (CD4) counts and a decrease in viral loads.
Conclusion
The Modified Sharp RDD offers a robust approach to handle fuzzy variables in causal inference. Our study contributes to the advancement of RDD methodology and its applicability in realworld settings with uncertain data.
Introduction
In this research study, a total of 234 individuals were initially recruited. However, during the followup at 3 and 6 months, 44 participants were lost, resulting in a final sample size of 190 participants. The data for this study was collected from 16 HIV care clinics in Zimbabwe, which were selected using cluster sampling. These public health facilities were chosen on a national scale using a combination of stratified randomization and random allocation methods. Participants who scored above 15 or equal to 15 on the AUDIT (Alcohol Use Disorders Identification Test) were identified as individuals with alcohol dependence and received counseling sessions.
The prediction of alcohol consumption in People Living with Human Immunodeficiency Virus (HIV) and Acquired Immunodeficiency Syndrome (AIDS) is a significant concern for public health. Sharp Regression Discontinuity Design (RDD) has proven useful for analyzing causal effects in such settings. However, traditional RDD models assume crisp data, while realworld data often involve uncertainty or fuzziness. To address this limitation, a Modified Sharp Regression Discontinuity model that accounts for both dependent and independent fuzzy variables is proposed.
The regression discontinuity design (RDD) is said to be sharp if the likelihood of being treated grows from zero to one, otherwise, it is said to be fuzzy. RDD is crisp when all individuals receive the planned therapy [1].
According to [2], in a strong regression discontinuity, the likelihood of receiving treatment jumps deterministically from 0 to 1 at the cutoff. Everyone on one side of the cutoff gets treatment, but no one on the other gets it. In the abrupt regression discontinuity, the treatment impact is assessed by comparing outcomes for those immediately above and below the cutoff.
In the context of HIV and AIDS patient data, fuzzy variables play a crucial role, particularly when dealing with viral load and immune system strength. The fuzzy nature of these variables makes the traditional RDD less effective in capturing the complex relationships within the data [3]. To address this limitation, our study proposed a Modified Sharp RDD that can handle both dependent and independent fuzzy variables. Using this model with an AUDIT scorebased cutoff, we investigated the effects of alcohol usage on viral loads via CD4 counts in HIV and AIDS patients (PLWHA). An AUDIT score of 15 is regarded as the cutoff.
The immune systemâ€™s strength or weakness determines the dependent variable viral load decrease or increase in the body, which differs from person to person. Tcell depletion is less common in patients or anyone with a healthy immune system, but it is more common in persons who have a weak immune system. This implies that the variable viral load is uncertain or fuzzy. As a result, the amount or quantity of immune cells and the HIV viral load at various stages of the disease can be regarded as unclear [3].
Main text
Methods
In the study, a statistical model for predicting alcohol consumption and HIV progression is formulated. We considered a case in which AUDIT scores and CD4 counts are considered fuzzy. The Modified Sharp Regression Discontinuity model incorporates imprecise observations. Studies have considered cases in which the observations are clear. In actual fact this is not always the case since the variables involved will be fuzzy at times.
To calculate the result variableâ€™s discontinuity at the cutoff point.
This is equal to the Average Causal Effect (ACE), i.e.,
The treatment impact for a specific subpopulation \(x_{ij}=x'\) is denoted by \(\delta _{SRD}\)
We can define conditional means from the right and left respectively as follows:
These two can be estimated separately and then take the difference or just find the difference between them at once. Considering the earlier we can solve
as well as
which results in
and
The difference between estimates in Eq.(8) and Eq. (7) is the size of the discontinuity that is
If \(x_{ij}<x'\)
and if \(x_{ij}\ge x'\)
Or alternatively we can run
and use the Ordinary Least Squares to estimate the parameters. We had a classical regression of the form:
Since the dependent and independent variables are fuzzy, we have a model of the form
where \({y_{ij}}^{*}\) and \({x_{ij}}^{*}\) are fuzzy observations with membership functions defined as \(\mu _{\overline{y}_{ij}}(y)\) and \(\mu _{\overline{x}_{ij}}(x)\) respectively. \(e_{ij}^{**}\) was the fuzzy error associated with the model. This error term can be estimated using the idea by [4].
NB: Please note that for sharp regression discontinuity we do not have uncompliers to the program as in fuzzy RDD.
Now letting \({x_{ij}}^{*}{x'}^{*} ={x_{ij}}^{c}\) and \(\psi = {(\alpha ,\beta ,\gamma ,\delta )}^{T}\) and considering the matrix
we have a model in matrix form as
When \(d_{ij}=0\) then Eq. (14) becomes
Moreover when \(d_{ij}=1\), Eq. (14) becomes
Now solving Eq. (16) and Eq. (17) when \({x_{ij}}^{*}={x'}^{*}\) we have \(E({y_{ij}}^{*}d_{ij}=0,{x_{ij}}^{*}={x'}^{*})=\alpha \) and \(E({y_{ij}}^{*}d_{ij}=1,{x_{ij}}^{*}={x'}^{*})=\alpha +\delta \).
As a result to calculate the treatment effect, \(E({y_{ij}}^{*}d_{ij}=1,{x_{ij}}^{*}={x'}^{*})E({y_{ij}}^{*}d_{ij}=0,{x_{ij}}^{*}={x'}^{*})=\delta \).
Results
Implementation of the modified sharp regression discontinuity model
With perfect compliance (100%), we measured the size of the leap at the cutoff, indicating a sharp regression discontinuity. All participants above the cutoff received treatment, while those below it did not. The graphical representation is shown in Fig.Â 1.
Check for discontinuity in the running variable around cutoff point in sharp RDD
To see if the running variable was manipulated, imagine there was a large number of participants clustered around 15 due to how the AUDIT was administered; that is, respondents wanted to get into the program, so they purposefully answered some questions incorrectly. In this case, we did so by making a histogram of the running variable (AUDIT scores) and looking for any significant jumps around the threshold. There was a very slight visible difference in the height of the bars before and after the 15score cutoff, so there doesnâ€™t appear to be a jump around the threshold in this case. Using a McCrary density test to determine whether that jump was statistically significant, the overlapâ€™s p value is equal to 0.47, indicating that there is no significant difference near the threshold [5].
Check for discontinuity in the outcome variable across running variable in sharp RDD
We can finally see if there was a discontinuity in the final AUDIT scores based on participation in the counseling program because this is a sharp regression discontinuity design and there was no bunching of AUDIT scores around the 15point threshold. FigureÂ 2 clearly shows a discontinuity. It appeared that taking part in the counseling program improved the CD4 counts and, consequently, the final AUDIT scores.
For the case of AUDIT scores, the improvement can be explained in form of the graph in Figure Â 3.
Estimation of the size of the effect in sharp RDD
The coefficient, which takes into account the counseling program, is the one we are most concerned about. This causal effect of counseling for compliers in sharp RDD is approximately equal to 0.199, which is lower than that in fuzzy RDD [6]. In other words a small effect in the positive direction [7]. This was the change in intercept when counseling was accurate or the variance in AUDIT threshold scores. Participating in the counseling program raised AUDIT scores after six months, which raised CD4 counts and lowers viral loads.
Simulation of estimates based on modified sharp regression discontinuity model
In this section, we performed simulations to assess the asymptotic properties of the proposed methodology. For this model, using a cutoff \(x'=15\), the parameters were set at \(\nu =10\), \(\beta =0.5\) and \(\gamma =0.3\) where \(\nu =\alpha +\delta \) and \(\eta =(\nu , \beta ,\gamma )^{T}\). Based on 1000 replications, table 1 shows the simulated estimates when n=30, n=50, n=100 and n=200.
The subsequent curves in Modified Sharp RDD also exhibited a bellshaped distribution as in Figure 4.
As the sample size grew, the estimates derived using the modified sharp regression discontinuity model converged in probability to the true value, proving the consistency of the estimator. Asymptotically consistent estimators in Modified Sharp RDD have produced the curve that is displayed in Fig.Â 5.
Based on the results from simulation, we can conclude that the estimates from both the Modified Fuzzy and Sharp regression discontinuity models are asymptotically consistent and follow a normal distribution [6].
Discussion
Our study presents a Modified Sharp Regression Discontinuity model that successfully addresses the challenges posed by fuzzy variables in HIV and AIDS patient data. By incorporating both fuzzy independent and dependent variables, our model offers a more accurate prediction of alcohol consumption and its impact on HIV progression.
In comparing our results to similar studies conducted by other researchers, we find that our Modified Sharp RDD provides more robust estimates for the causal effect of counseling on alcohol consumption among patients living with HIV and AIDS [6]. The estimator demonstrated consistency and asymptotic convergence towards the true value, validating its reliability.
The findings of our simulation studies support the claim that the Modified Fuzzy and Sharp RDD models are asymptotically consistent and follow a normal distribution as discussed by [6]. These results hold promise for improved causal inference in settings with fuzzy variables.
However, we acknowledge some limitations in our study. The external validity of our findings may be restricted due to the inclusion of data from a specific region (Zimbabwe). Therefore, caution should be exercised when generalizing our results to other populations.
In conclusion, our study contributes to the growing body of research on RDD models and provides a valuable framework for addressing fuzzy variables in various applications, particularly in the field of healthcare research. Further research can explore the potential of our Modified Sharp RDD in broader contexts and different datasets.
Limitations
The inclusion of data from Zimbabwe in this study restricted the external validity of the results. The findings may be reliably extrapolated to the population of PLWHA in Zimbabwe, and as a result, the internal validity is high. However, it is debatable if the Zimbabwean patients (participants) reflect the broader population of people living with HIV and AIDS in Africa and beyond.
Availability of data and materials
Not Applicable.
Abbreviations
 ACE:

Average causal effect
 CD4:

Cluster of differentiation 4
 WHO:

World Health Organisation
 HIV:

Human immunodeficiency virus
 RDD:

Regression discontinuity design
 AIDS:

Acquired immunodeficiency syndrome
 PLWHA:

People living with HIV and AIDS
 AUDIT:

Alcohol use disorders identification test
References
Wing C, Cook TD. Strengthening the regression discontinuity design using additional design elements: a withinstudy comparison. J Policy Anal Manage. 2013;32(4):853â€“77.
Venkataramani AS, Bor J, Jena AB. Regression discontinuity designs in healthcare research. Bmj. 2016. https://doi.org/10.1136/bmj.i1216.
Zarei H, Kamyad AV, Heydari AA. Fuzzy modeling and control of hiv infection. Comput Mathemat Meth Med. 2012. https://doi.org/10.1155/2012/893474.
Kim B, Bishu RR. Evaluation of fuzzy linear regression models by comparing membership functions. Fuzzy sets Syst. 1998;100(1â€“3):343â€“52.
McCrary J. Manipulation of the running variable in the regression discontinuity design: a density test. J Economet. 2008;142(2):698â€“714.
Mafukidze PK, Mwalili SM, Mageto T. A modification to the fuzzy regression discontinuity model to settings with fuzzy variables. Open J Stat. 2022;12(5):676â€“90.
Cohen J. Statistical power analysis for the behavioral sciences. Cambridge: Academic press; 2013.
Acknowledgements
The authors are grateful to their respective universities for investing in this manuscript.
Funding
No funding has been provided for this study.
Author information
Authors and Affiliations
Contributions
PM contributed to the manuscriptâ€™s creation, the production of the results, and the analysis of the results. The final paper was reviewed and approved with input from SM and TM. The final manuscript was read and approved by all writers.
Corresponding author
Ethics declarations
Ethics approval and consent to participate
Not Applicable.
Consent for publication
Not Applicable.
Competing interests
The authors declare that they have no competing interests.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the articleâ€™s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the articleâ€™s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated in a credit line to the data.
About this article
Cite this article
Mafukidze, P.K., Mwalili, S.M. & Mageto, T. Modified sharp regression discontinuity model to settings with fuzzy variables. BMC Res Notes 16, 278 (2023). https://doi.org/10.1186/s13104023065612
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/s13104023065612