Formulating of Linear Model from One-Way Classification Model

Main Article Content

Nofiu Idowu Badmus
Rotimi

Abstract

This study introduces a novel approach to formulating a linear regression model using a matrix method for Completely Randomized Design (CRD), a type of One-Way classification. In this approach, treatment is the sole classification, and the formulation utilizes response variables organized into rows and columns. The method yields the number of trials (n), slope, predictor, and regression parameters within the system. To ensure the normality of the response variable and select the appropriate error term distribution, we conducted normality tests (Shapiro-Wilk, Anderson-Darling, Cramér-von Mises, Lilliefors) and exploratory data analysis techniques (histogram, boxplot, QQ-plot). The formulation was validated through illustrations, and the results from the matrix method regression were compared to the ordinary least squares regression, yielding identical values for the regressors, and confirming the robustness of the proposed formulation. Furthermore, we evaluated the performance of machine learning linear regression model, which outperformed ordinary least squares regression in terms of mean absolute error, mean square error, and root mean square error, demonstrating the superior accuracy of the proposed approach.

Downloads

Download data is not yet available.

Article Details

How to Cite
Badmus, N. I., & Ogundeji, R. . (2024). Formulating of Linear Model from One-Way Classification Model. Journal of Statistical Modeling &Amp; Analytics (JOSMA), 6(2). Retrieved from https://ejournal.um.edu.my/index.php/JOSMA/article/view/52441
Section
Articles
Author Biography

Rotimi, University of Lagos

Department of statistics and Lecturer