Engineering > QUESTIONS & ANSWERS > Intro to Analytics Modeling(ISYE6501) HW2 (All)

Intro to Analytics Modeling(ISYE6501) HW2

Document Content and Description Below

Intro to Analytics Modeling(ISYE6501) HW2 Question 4.1 Describe a situation or problem from your job, everyday life, current events, etc., for which a clustering model would be appropriate. List so... me (up to 5) predictors that you might use. Answer: In my previous job at consulting, we were trying to help our client to find out where they should be opening language school franchise. Some predictors could be: 1) distance from a community college , 2) distance from a freeway, 3) number of parking lots, 4) number of public transportations, 5) average traffic time, and etc. Question 4.2 The iris data set iris.txt contains 150 data points, each with four predictor variables and one categorical response. The predictors are the width and length of the sepal and petal of flowers and the response is the type of flower. The data is available from the R library datasets and can be accessed with iris once the library is loaded. It is also available at the UCI Machine Learning Repository (https://archive.ics.uci.edu/ml/datasets/Iris ). The response values are only given to see how well a specific method performed and should not be used to build the model. 1) Use the R function kmeans to cluster the points as well as possible. 2) Report the best combination of predictors, your suggested value of k, and 3) how well your best clustering predicts flower type. #HW 4.2 #install.packages("ggplot2",dependencies=TRUE) #install.packages("kernlab") #install.packages('plyr',repos="http://cran.us.r-project.org") #markdown #install.packages("readxl") #markdown #install.packages("MikTek") summary(iris) # 4 variables of 150 observations head(iris) # view heads library(ggplot2) #scatter plot theme_set(theme_bw()) ggplot(iris,aes(x = Sepal.Length, y = Sepal.Width, col= Species)) + geom_point() ggplot(iris,aes(x = Petal.Length, y = Petal.Width, col= Species)) + geom_point() set.seed(200) k.max <- 10 wss<- sapply(1:k.max,function(k){kmeans(iris[,3:4],k,nstart = 20,iter.max = 20)$tot.withinss}) wss plot(1:k.max,# x= No of clusters, wss, # wss for each type= "b", #both points as also connect them xlab = "Number of clusters(k)", ylab = "Within cluster sum of squares") This study source was downloaded by 100000842525582 from CourseHero.com on 05-13-2022 05:27:11 GMT -05:00 https://www.coursehero.com/file/67662046/ISYE6501-HW2docx/ #based on elbow point at 3 from the graph, whic shows that 3 is the best value for k to be used. icluster <- kmeans(iris[,3:4],3,nstart = 30) table(icluster$cluster,iris$Species) ggplot(iris,aes(x = Sepal.Length, y = Sepal.Width, col= Species)) + geom_point() #cluster tries 30 times random test shows setosa is clustered the most correctly Question 5.1 Using crime data from the file uscrime.txt (http://www.statsci.org/data/general/uscrime.txt, description at http://www.statsci.org/data/general/uscrime.html), test to see whether there are any outliers in the last column (number of crimes per 100,000 people). Use the grubbs.test function in the outliers package in R. #HW 5.1 #install.packages("outliers")# import packages library(outliers) set.seed(10) # as simple linear model uscrime <- read.delim("~/Downloads/Intro to Analystics Modeling/week_2_datasummer/uscrime.txt", header=TRUE) summary(uscrime) head(uscrime)#checking the data grubbs.test(uscrime$Crime) #find outlier range(uscrime$Crime) summary(uscrime$Crime) #checking 5 datas plot(uscrime$Crime) #view plot uscrime$Crime[0:20] #conclusion : highest value 1993 is an outlier Question 6.1 Describe a situation or problem from your job, everyday life, current events, etc., for which a Change Detection model would be appropriate. Applying the CUSUM technique, how would you choose the critical value and the threshold? Answer: To monitor stock price variance over time, I can apply Cumulative sums (CUSUM) of deviations from a target value. I am trying monitor bio-tech related stocks since average stock price of bio-tech has been higher than last month, the variance is significant enough that I am trying to decide whether should I buy this stock or not. It will be good to know if the price is just a outliers (a result of Covid-19 outbreak) or if they will be sustained. I would get average (mean) of stock price and a critical value that is relatively large for this year to get the threshold line to show detect the changes. Question 6.2 1. Using July through October daily-high-temperature data for Atlanta for 1996 through 2015, use a CUSUM approach to identify when unofficial summer ends (i.e., when the weather starts cooling off) each year. You can get the data that you need from the file temps.txt or online, for example at http://www.iweathernet.com/atlanta-weather-records or https://www.wunderground.com/history/airport/KFTY/2015/7/1/CustomHistory.html . You can use R if you’d like, but it’s straightforward enough that an Excel 6.62.spreadsheet can This study source was downloaded by 100000842525582 from CourseHero.com on 05-13-2022 05:27:11 GMT -05:00 https://www.coursehero.com/file/67662046/ISYE6501-HW2docx/ easily do the job too. 2. Use a CUSUM approach to make a judgment of whether Atlanta’s summer climate has gotten warmer in that time (and if so, when). [Show More]

Last updated: 1 year ago

Preview 1 out of 4 pages

Reviews( 0 )

Recommended For You

 Information Technology> QUESTIONS & ANSWERS > Georgia Tech Intro to Analytics Modeling(ISYE6501) HW2. Graded A+ (All)

preview
Georgia Tech Intro to Analytics Modeling(ISYE6501) HW2. Graded A+

Intro to Analytics Modeling(ISYE6501) HW2 Question 4.1 Describe a situation or problem from your job, everyday life, current events, etc., for which a clustering model would be appropriate. List so...

By bundleHub Solution guider , Uploaded: Sep 03, 2022

$7

 Business> QUESTIONS & ANSWERS > BUSINESS 1007 (All)

preview
BUSINESS 1007

BUSINESS 1007 07 Key 1. (p. 178) Managers utilize organizational resources such as employees, information, and equipment to accomplish goals. 2. (p. 178) The main job of managers today is to w...

By Kirsch , Uploaded: Oct 19, 2019

$6

 Anthropology> QUESTIONS & ANSWERS > KOR 352 FA19 101 week 8 Quiz. Already Graded A (All)

preview
KOR 352 FA19 101 week 8 Quiz. Already Graded A

KOR 352 FA19 101: Week 8 Quiz Question 1 (0.25 points) Which of the following is not true of Kim and Finch’s observations during their field research in South Korea from 1997 to 2000? Question 1 o...

By Kirsch , Uploaded: Oct 17, 2019

$9

 E-Commerce> QUESTIONS & ANSWERS > ESOC 316 Digital Commerce - University Of Arizona. Midterm Quiz. 20 Q&A. 100% Score (All)

preview
ESOC 316 Digital Commerce - University Of Arizona. Midterm Quiz. 20 Q&A. 100% Score

ESOC 316 Digital Commerce - University Of Arizona. Midterm Quiz. 20 Q&A. 100% Score ESOC316 MIDTERM QUIZQuestion 6 (1 point) Saved Information has several properties that make information goods...

By Kirsch , Uploaded: Oct 15, 2019

$9.5

 Marketing> QUESTIONS & ANSWERS > Marketing Management Chapter 2 to Chapter 10 Q&A (All)

preview
Marketing Management Chapter 2 to Chapter 10 Q&A

Chapter 2 to Chapter 10 Chapter 2: Developing Marketing Strategies and Plans GENERAL CONCEPT QUESTIONS Multiple Choice 66 Chapter 1: Marketing: Managing Profitable Customer Relationships...

By Kirsch , Uploaded: Oct 14, 2019

$10

 Marketing> QUESTIONS & ANSWERS > MKT 530 Customer Relationship Management. 155 Questions and Answers (All)

preview
MKT 530 Customer Relationship Management. 155 Questions and Answers

MKT 530 All Questions and Answers MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. 1) As the manager of an organization that is att...

By Kirsch , Uploaded: Oct 14, 2019

$10

 Art> QUESTIONS & ANSWERS > MAS 337 Exam 1. Graded A (All)

preview
MAS 337 Exam 1. Graded A

MAS 337 Exam 1 Match the son with its corresponding region. 1.Oaxaca 2.Veracruz 3.Michoacan 4.Jalisco 5.Hidalgo 1. Son istemeno 2. Son Jarocho 3. Son Abajeno 4. Son Jalisciense 5. Son Huast...

By Kirsch , Uploaded: Oct 14, 2019

$6

 Art> QUESTIONS & ANSWERS > MUS 337 Final Exam Graded 100%. (All)

preview
MUS 337 Final Exam Graded 100%.

MUS 337 Final Daisy Moreno-Cota Fri Dec 11 12:59:42 PST 2015 Tone or aural color Volume and articulation of sounds Frequency of the tone Phonic structure or relationships between the sounds Dura...

By Kirsch , Uploaded: Oct 12, 2019

$9

 Art> QUESTIONS & ANSWERS > MUS 337 Final. Graded 100%. (All)

preview
MUS 337 Final. Graded 100%.

MUS 337 Final Daisy Moreno-Cota Fri Dec 11 12:59:42 PST 2015 Tone or aural color Volume and articulation of sounds Frequency of the tone Phonic structure or relationships between the sounds Dura...

By Kirsch , Uploaded: Oct 12, 2019

$9

 Art> QUESTIONS & ANSWERS > LAS MAS MUS 337 FA19 001Quiz #5. Graded A (All)

preview
LAS MAS MUS 337 FA19 001Quiz #5. Graded A

Question 1 (4 points) Saved Match the mariachi musician to the appropriate description. Question 1 options: José Hernández Natividad "Nati" Cano Laura Sobrino Rebecca Gonzales...

By Kirsch , Uploaded: Oct 12, 2019

$9

$7.50

Add to cart

Instant download

Can't find what you want? Try our AI powered Search

OR

GET ASSIGNMENT HELP
125
0

Document information


Connected school, study & course



About the document


Uploaded On

May 20, 2022

Number of pages

4

Written in

Seller


seller-icon
Nutmegs

Member since 2 years

570 Documents Sold


Additional information

This document has been written for:

Uploaded

May 20, 2022

Downloads

 0

Views

 125

Document Keyword Tags

THE BEST STUDY GUIDES

Avoid resits and achieve higher grades with the best study guides, textbook notes, and class notes written by your fellow students

custom preview

Avoid examination resits

Your fellow students know the appropriate material to use to deliver high quality content. With this great service and assistance from fellow students, you can become well prepared and avoid having to resits exams.

custom preview

Get the best grades

Your fellow student knows the best materials to research on and use. This guarantee you the best grades in your examination. Your fellow students use high quality materials, textbooks and notes to ensure high quality

custom preview

Earn from your notes

Get paid by selling your notes and study materials to other students. Earn alot of cash and help other students in study by providing them with appropriate and high quality study materials.

WHAT STUDENTS SAY ABOUT US


What is Browsegrades

In Browsegrades, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.

We are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Browsegrades · High quality services·