Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Find a univariate data set online that has to do with information security major. Create a plot of each type from Lecture 2 using the
Find a univariate data set online that has to do with information security major.
- Create a plot of each type from Lecture 2 using the dataset you picked.
- For each plot write a one paragraph interpretation of the plot
Using R srudio ..
Lecture2
## Raw Data Gathered from Survey Data.Kids<-c(0,9,8,2,2,2,2,1,1,1,4,5,2,0,0,0,0,0,0,2,3,4, 5,1,1,6,9,2,2,2,2,2,3,3,3,3,3,1,1,1,1,10,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1, 2,2,2,2,2,2,1,0)
#Univariate data print(Data.Kids) sorted.kids<-sort(Data.Kids) # Sorts Data.Kids print(sorted.kids) # Frequency Tables # Simple Freq Table Simple.Table<-transform(table(Data.Kids)) print(Simple.Table) #Information rich freq table giant.table<-cbind(Freq=(table(Data.Kids)),Relative=prop.table(table(Data.Kids))) print(giant.table) #histograms # R picks the size of each category (or data class) hist(Data.Kids, main="Default Histogram") # Here we specify the size of the data class hist(Data.Kids, breaks=seq(min(Data.Kids),max(Data.Kids),by=2),main="Histogram with classes of length 2") ##Boxplot boxplot(Data.Kids)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started