Application of Cramer’s Rule and Digital Computing in Analyzing Multiple Linear Regression

Main Article Content

Echendu Nwaigwe
Omezuruike Gideon Wobo

Abstract

This paper examined a multiple linear regression model y=β0 + β1x1 + β2x2.The model is a relationship between a dependent variable, body mass (y) and two independent variables, age (x1) and height (x2). Multivariate data in terms of y, x1, and x2 were generated from fifteen first-year students running National Diploma (ND) programme in Department of Computer Engineering, Captain Elechi Amadi Polytechnic, Rumuola, Port Harcourt. The data were used to digitally compute β0, β1 and β2 of the model through the application of Cramer’s rule and the results were validated by SPSS output. Sampled data were also used to compute the Body Mass Index (BMI) of the students to determine whether they were underweight, normal weight, overweight or obese. Additionally, the sampled data values of x1 and x2 were used to estimate y using the already computed values β0, β1 and β2. The results of the study showed that values obtained from Cramer’s rule (use of MATLAB 45.0) for β0, β1 and β2 were consistent with SPSS output. Also, computed results β0=19.0721, β1=0.3544 and β2=18.8728 indicated that height (x2) was a greater predictor of body mass (y) than age (x1). Further, students’ BMI results revealed that out of the fifteen students sampled, thirteen were of normal weight while two were overweight. It was concluded that: Cramer’s rule is a reliable method of analyzing multiple linear regression models since its results were consistent with SPSS output; although overweight is not an illness, it may be a potential symptom of health risk. Therefore, it was recommended that individuals regularly know their BMI, engage in physical exercise and stay on diets that do not promote overweight to avoid health risks.

Article Details

How to Cite
Nwaigwe, E., & Wobo, O. G. (2024). Application of Cramer’s Rule and Digital Computing in Analyzing Multiple Linear Regression. Faculty of Natural and Applied Sciences Journal of Mathematical and Statistical Computing, 2(1), 66–73. Retrieved from https://fnasjournals.com/index.php/FNAS-JMSC/article/view/597
Section
Articles