logo

Dublin Business School Assesment Report

   

Added on  2022-08-13

11 Pages1738 Words17 Views
Dublin Business School
Assessment Brief
1
Dublin Business School Assesment Report_1
Consider a real-world, relational dataset. This dataset must have at least 2 categorical
and 2 continuous variables.
Question 1 (35 Marks)
(a) Describe the dataset using appropriate plots/curves/charts,... (studied 6 plots)
(7)
Sol: code
data<-read.csv("C:\\Users\\George Washington\\Desktop\\save.csv",header=T)
attach(data)
barplot(data,xlab="Zones",ylab="Number of households",main="Number of
Households vs
Zones",names.arg=c("Z1","Z2","Z3","Z4","Z5","Z6","Z7","Z8","Z9","Z10"),col=2)
Output
2
Dublin Business School Assesment Report_2
data<-read.csv("C:\\Users\\George Washington\\Desktop\\save.csv",header=T)
attach(data)
plot(data,main="Number of Households per Zone",ylab="Households",xlab="Zones")
lines(data)
3
Dublin Business School Assesment Report_3
data<-read.csv("C:\\Users\\George Washington\\Desktop\\save.csv",header=T)
attach(data)
pie(data)
Explanation
The above figure shows the bar graph of the number of households in different zones, that is,
zone 1 – 10.
From the bar graph, it is evident that zone 6 has the highest number of household followed by
zone 9, while zone 4 has the lowest number of households.
Most of the zones have got more than 600 households while only one zone has less than 200
households.
Consider one of continuous attributes, and compute central and variational
measures(. Take mean..take mode..take varience..) (8)
Sol: code
data<-read.csv("C:\\Users\\George Washington\\Desktop\\categorical.csv",header=T)
attach(data)
mean(data)
mode(data)
median(data)
sd(data)
Output
data<-read.csv("C:\\Users\\George Washington\\Desktop\\categorical.csv",header=T)
attach(data)
> mean(data)
[1] 5.372727
> mode(data)
[1] "numeric"
> median(data)
[1] 4
> sd(data)
[1] 2.735723
Explanation
The data is a set of continuous 10 values. The mean is 5.372. This is the average value of the
data. Median is 4. This gives the central value of the data when data is arranged from smallest
4
Dublin Business School Assesment Report_4

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Microsoft Excel Data Analysis
|7
|1051
|16

Simple Random Sampling Method - Statistics Assignment
|13
|1682
|124

Statistics in Six Sigma: Concepts and Applications
|11
|2066
|132