Publications by Mohammed Khan

Solution-Set2

18.05.2020

Questions Anscombes quartet is a set of 4 \(x,y\) data sets that were published by Francis Anscombe in a 1973 paper Graphs in statistical analysis. For this first question load the anscombe data that is part of the library(datasets) in R. And assign that data to a new object called data. library(datasets) data <- anscombe Summarise the data b...

1669 sym R (7363 sym/32 pcs) 9 img

Assignment 1 - Solution Set

11.05.2020

Pie Chart Create a pie chart showing the proportion of cars from the mtcars data set that have different cylinder (cyl) values. cyl.freq <- table(mtcars$cyl) label <- names(cyl.freq) label <- paste("Cylinder",label,"-") percentage <- round(cyl.freq/sum(cyl.freq)*100) lableWithPercent <- paste(label, percentage) lableWithPercent <- paste(la...

1950 sym R (1402 sym/5 pcs) 5 img

Solution Set 4

09.06.2020

Exploratory Data Analysis Data Collection We begin this exercise by downloading data from desired source and loading it using a library that read excel files and proceeds further by finding EDA related answers using different visualization. library(ggplot2) library(readxl) library(tidyverse) ## -- Attaching packages ---------------------------...

3100 sym R (3826 sym/15 pcs) 10 img

Lab 1

14.06.2020

ANLY 512 Lab 1 Stock Price Column Coca-Cola Delta Airlines KraftHeinz Occidental Petroleum Day Trading Column Day High’s for Coca-Cola, Delta Airlines, Kraft Heinz and Occidental Petroleum Trading Volumes Column Trading Volumes for Coca-Cola, Delta Airlines, Kraft Heinz and Occidental Petroleum Summary Column What did I learn ...

1251 sym R (4825 sym/1 pcs)

Anly Data Visualization - Solution Set 5

24.06.2020

Pre-requisites library(foreign) library(ggmap) library(ggplot2) # change this to connect to your version dat <- read.dbf("C:/Users/shoukhan/Documents/Harrisburg University/Anly-512-Data-Visualization/Summer Course/pennsylv.dbf") The dataset contains a number of variables about each hospital, many of them are clear and straight forward. names...

497 sym R (3839 sym/8 pcs) 5 img

Lab II

14.07.2020

Lab2 - Data Exploration and Analysis Laboratory Mohammed Khan Precipitation during COVID-19 The idea was to visualize the percipitiation of rain in last six months because of carbon reduction in atmosphere (pandemic) and the percipiation level for 2020. The visualization display that south east states has the highest percipitation and ...

1969 sym R (5680 sym/1 pcs) 11 img

Solution Set 6

02.07.2020

Data str(housing) ## 'data.frame': 72 obs. of 5 variables: ## $ Sat : Ord.factor w/ 3 levels "Low"<"Medium"<..: 1 2 3 1 2 3 1 2 3 1 ... ## $ Infl: Factor w/ 3 levels "Low","Medium",..: 1 1 1 2 2 2 3 3 3 1 ... ## $ Type: Factor w/ 4 levels "Tower","Apartment",..: 1 1 1 1 1 1 1 1 1 2 ... ## $ Cont: Factor w/ 2 levels "Low","High": 1 1 1...

1302 sym R (2322 sym/7 pcs) 5 img