Excel VBA Development of a Dialog Box for the Shapiro-Wilk Test Using Royston's Algorithm

Main Article Content

Zoltán Fabulya

Abstract

In mathematical statistics, a significant part of the hypothesis evaluation tests can only be performed on a sample from a normally distributed population. To check normality, the most reliable Shapiro-Wilk test based on Royston's extension can be applied to both small and large samples. Since our data to be evaluated can be conveniently processed with a spreadsheet program, it is a great help for users that statistical calculations can also be performed with the spreadsheet, there is no need for statistical programs and data export for further processing. That is why it was necessary to supplement the capabilities of Microsoft Excel with a normality check. A user-friendly way of performing the calculations can be realized in a dialog window, the design of which is made possible by the Visual Basic for Applications service. An event-driven programming technique enables the creation of a program that works in harmony with the user's activity, and the design of the program's user interface. The completed program does not only support data entry by typing them in, we can also request an evaluation of the worksheet data. We can also display the results in a table on a worksheet.

Downloads

Download data is not yet available.

Article Details

How to Cite
Fabulya, Zoltán. 2023. “Excel VBA Development of a Dialog Box for the Shapiro-Wilk Test Using Royston’s Algorithm”. Jelenkori Társadalmi és Gazdasági Folyamatok 18 (Különszám):119-27. https://doi.org/10.14232/jtgf.2023.kulonszam.119-127.
Section
Articles
Author Biography

Zoltán Fabulya, University of Szeged

főiskolai docens

References

Fabulya Z. (2022): Számítás automatizálása Shapiro-Wilk próbához Royston algoritmusa szerint Excel számolótáblával. Jelenkori Társadalmi és Gazdasági Folyamatok, 17 (3-4): 67–74. https://doi.org/10.14232/jtgf.2022.3-4.67-74

Hampel Gy. (2021): Információfeldolgozás és döntéstámogatás gazdák számára Microsoft Excellel. In: Hampel Gy.; Kis K.; Monostori T. (szerk.): Mezőgazdasági és vidékfejlesztési kutatások a jövő szolgálatában 2.: Tudomány: iránytű az élhető jövőhöz. Magyar Tudományos Akadémia Szegedi Akadémiai Bizottság Mezőgazdasági Szakbizottság, Szeged. 51–60.

Hampel Gy. (2022): Alkalmazás fejlesztése egymintás u-próba kiértékelésére VBA vezérlőkkel Excel környezetben. Jelenkori Társadalmi és Gazdasági Folyamatok, 17 (1-2): 119–126. https://doi.org/10.14232/jtgf.2022.1-2.119-126

Matteson B. L. (1995): Microsoft Excel Visual Basic Programmer’s Guide. MicrosoftPress, Washington.

Royston, J. P. (1982): Algorithm AS 181: The W Test for Normality. Journal of the Royal Statistical Society. Series C (Applied Statistics), 31 (2): 176–180. https://doi.org/10.2307/2347986

Royston, P. (1995): Remark AS R94: A Remark on Algorithm AS 181: The W-test for Normality. Journal of the Royal Statistical Society. Series C (Applied Statistics), 44 (4): 547–551. https://doi.org/10.2307/2986146

Shapiro, S. S., Wilk, M. B. (1965): An Analysis of Variance Test for Normality (Complete Samples). Biometrika, 52 (3/4): 591–611. https://doi.org/10.2307/2333709

Thode, H. C. (2002): Testing For Normality (1st ed.). CRC Press. https://doi.org/10.1201/9780203910894

Zimmerman M. W. (1996): Microsoft Office 97 Visual Basic Programmer’s Guide. MicrosoftPress, Washington.

Zsótér B., Illés S., Simonyi P. (2020): Model of Local Economic Development in Hungarian Countryside. European Countryside, 12 (1): 85–98. https://doi.org/10.2478/euco-2020-0005

Zsótér B., Kaliczka R. (2014): Examinations carried out in relation to the shopping habits and satisfaction of costumers in the shops of Coop Szeged Ltd. Review of Faculty of Engineering Analecta Technica Szegedinensia, 8 (1): 38–41.