In this module we will discuss the foundation of statistics and data science.
statistics is a science of data collection, organization, presentation, summarizing, interpreting, drawing calculations and prescribing results.
The subject is broadly classified into two main files namely:
Descriptive statistics is simply defined as the sample to sample statistics. It mainly classified as the study of five different measurement including:
Importing and exporting different datasetes from different files and statistical softwares.
library(haven)
## Warning: package 'haven' was built under R version 4.2.3
data<-read_dta("~/Togdheer2.dta")
library(psych)
## Warning: package 'psych' was built under R version 4.2.3
describe(data$numberofdeath)
boxplot(data$mothersageatfirstbirth,col='blue')
hist(data$mothersageatfirstbirth,col='green')
plot(density(data$mothersageatfirstbirth),col='red')
polygon(density(data$mothersageatfirstbirth),col='cyan',border='magenta')
we need the haven package to import easily all different data files from different statistical soft wares