R Dataset / Package Stat2Data / Swahili


On this R-data statistics page, you will find information about the Swahili data set which pertains to Swahili. The Swahili data set is found in the Stat2Data R package. You can load the Swahili data set in R by issuing the following command at the console data("Swahili"). This will load the data into a variable called Swahili. If R says the Swahili data set is not found, you can try installing the package by issuing this command install.packages("Stat2Data") and then attempt to reload the data. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the Swahili R data set. The size of this file is about 12,043 bytes.



Attitudes towards the Swahili language among Kenyan school children


A dataset with 480 observations on the following 4 variables.

R project statistics dataset table
Sex female or male
Attitude.Score Score (out a possible 200 points) on a survey of attitude towards the Swahili language
School Code for the school: A through L


Hamisi Babusa, a Kenyan scholar, administered a survey to 480 students from Pwani and Nairobi provinces about their attitudes towards the Swahili language. In addition, the students took an exam on Swahili. From each province, the students were from 6 schools (3 girls schools and 3 boys schools) with 40 students sampled at each school, so half of the students from each province were males and the other half females. The survey instrument contained 40 statements about attitudes towards Swahili and students rated their level of agreement to each. Of these questions, 30 were positive questions and the remaining 10 were negative questions. On an individual question the most positive response would be assigned a value of 5 while the most negative response would be assigned a value of 1. By summing (adding) the responses to each question, we can find an overall Attitude Score for each student. The highest possible score would be 200 (an individual who gave the most positive possible response to every question). The lowest possible score would be 40 (an individual who gave the most negative response to every question).


Thanks to Dr. Babusi of Kenyatta University for sharing these data.


Dataset imported from https://www.r-project.org.

Title Authored on Content type
OpenIntro Statistics Dataset - dream August 9, 2020 - 12:25 PM Dataset
OpenIntro Statistics Dataset - winery_cars August 9, 2020 - 2:38 PM Dataset
R Dataset / Package HSAUR / toothpaste March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HSAUR / pottery March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HistData / Guerry March 9, 2018 - 1:06 PM Dataset
<iframe src="https://r-data.pmagunia.com/iframe/r-dataset-package-stat2data-swahili.html" frameBorder="0" width="100%" height="307px" />
Attachment Size
dataset-33882.csv 11.76 KB
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0

This documentation is licensed under GPLv3 or later.