Prediction of Levels of Happiness Using Multinomial Logit as a Neural Network: Evidence in Kenyan Youths

dc.contributor.authorNgari, Martin Kinyua
dc.contributor.authorWanjoya, Anthony Kibera
dc.contributor.authorKihoro, John Mwaniki
dc.date.accessioned2025-08-21T12:17:43Z
dc.date.available2025-08-21T12:17:43Z
dc.date.issued2022-04-26
dc.descriptionA research article published in the International Journal of Data Science and Analysisen_US
dc.description.abstractHappiness has become a major concern across many disciplines starting form public policy, economics and psychology because of the effects that come with not being happy. Psychologist would want to know the effects of low levels of happiness, economist would want to know the effects of levels of happiness in to the market place, researchers from health would be concerned with effects of high and low levels of happiness to health status. While predominantly, people had just a philosophical notion about happiness, currently there are numerous scientific studies on happiness. Approaches like cluster analysis have been employed before. This research used neural networks to classify multinomial levels of happiness of Kenyan youths by considering life style aspects of current life such as Internet usage, Physical activeness, Health, Social life, Education, Income, Country’s top leadership, Dining and Sleeping Habits. The research was able to fit a 14-1-4 neural network model to classify levels of happiness in Kenyan youths, an accuracy of 73% was achieved. The data was randomly split in to 70% training set and 30% test set. The training set was balanced using SMOTE approach. This research trained the model by applying gradient descent using error back propagation algorithm with initial weights drawn from uniform distribution and applied softmax activation function. Accuracy metrics were confusion matrix, precision and recall for each level of happiness, and F-Scores. The top leading factor related to happiness positively was physical activeness with youths who were more active being happier. The second factor was relationship type, the married youths were happier than the singles, separated or engaged. Youths who were more satisfied with their relationship, they were happier. Health was also positively related to happiness. On the other hand, the number of hours a youth spent on social media negatively affected their levels of happiness. The more the number of hours the low levels of happiness.en_US
dc.identifier.citationMartin Kinyua Ngari, Anthony Kibera Wanjoya, John Mwaniki Kihoro. (2022). Prediction of Levels of Happiness Using Multinomial Logit as a Neural Network: Evidence in Kenyan Youths. International Journal of Data Science and Analysis, 8(2), 59-71. https://doi.org/10.11648/j.ijdsa.20220802.16en_US
dc.identifier.uri10.11648/j.ijdsa.20220802.16
dc.identifier.urihttps://repository.cuk.ac.ke/handle/123456789/1828
dc.language.isoenen_US
dc.publisherInternational Journal of Data Science and Analysis.en_US
dc.relation.ispartofseriesVolume 8;Issue 2
dc.subjectHappinessen_US
dc.subjectNeural Networken_US
dc.subjectMultinomialen_US
dc.subjectTrainingen_US
dc.subjectCross-Entropyen_US
dc.subjectConfusion Matrixen_US
dc.subjectF-Scoreen_US
dc.subjectVariable Importanceen_US
dc.titlePrediction of Levels of Happiness Using Multinomial Logit as a Neural Network: Evidence in Kenyan Youthsen_US
dc.typeArticleen_US

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Prediction of Levels of Happiness Using Multinomial Logit.pdf
Size:
2.13 MB
Format:
Adobe Portable Document Format
Description:
PDF

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description: