Suppose that we want to build a model that predicts the group membership of a hurricane, either tropical (0) or non-tropical (1) based on the latitude of formation of the hurricane. The response variable is the binary variable Type.new (type of hurricane) and the predictor variable is FirstLat (First Latitude). Using R, we build a model by applying the glm() function. For the logistic regression model, we specify family - "binomial". The data is available at https://userpage.fu-berlin.de/soga/200/2010_data_sets/hurricanes.xlax. The R code is Iset up filenane my.filename <- pasteo (getwd (),'/', 'my-temporary-dovnloadfile.xlax') I dovnload file my.file <- dovmload.file (url - 'httpa://userpage.fu-berlin.de/soga/200/2010_data_sets/hurricanes.xlsx', destfile - my.filename, mode="wb") * read file into memory iibrary (readxl) hurricanes <- read_excel ('my-temporary-downloadfile.xlsx') log.model <- glm(Type.new- FirstLat, data = hurricanes, £amily = "binomial') summary (log.model) Routput * Call: * glm(formula = Iype.new - Firatlat, family = "binomi al", data = hurricanes) * Deviance Residuals: Min 10 Median ** -2.1841 -0.4954 -0.1664 30 0.4718 Max 3.2397 * Coefficienta Estimate Std. Error z value Pr (>|z|) <2e-16 *** <2e-16 *** * (Intercept) -9.00263 * FirstLat ** --- # Signif. codes: 0 ** 0.001 * 0.01 0.05 . 0.1'1 0.96148 -9.446 9.447 0.37283 0.03947 # (Dispersion parameter for binomial family taken to be 1) Null deviance: 463.11 on 336 degrees of freedom ** Residual deviance: 232.03 on 335 degrees of freedom * AIC: 236.03 * Number of Fisher Scoring iterations: 6 Which of the following is the correct model? I. Type.new = -9.0826 + 0.3728FirstLat, where Type.new = In and p, is the predicted probability of the type of hurricane (Type.now) for the first latitude (FirstLat). II. T'ype.now = 0.9615 + 0.0395FirstLat, where Type. new = in III. Type.new = -9.446 + 9,447FirstLat, where Type.new = In and i, is the predicted probability of the type of hurricane (Type.now) for the first latitude (FirstLat). and p, is the predicted probability of the type of hurricane (Type.new) for the first latitude (FirstLat). 1-P. a. I only ь. П only c. III only d. None of the above
Suppose that we want to build a model that predicts the group membership of a hurricane, either tropical (0) or non-tropical (1) based on the latitude of formation of the hurricane. The response variable is the binary variable Type.new (type of hurricane) and the predictor variable is FirstLat (First Latitude). Using R, we build a model by applying the glm() function. For the logistic regression model, we specify family - "binomial". The data is available at https://userpage.fu-berlin.de/soga/200/2010_data_sets/hurricanes.xlax. The R code is Iset up filenane my.filename <- pasteo (getwd (),'/', 'my-temporary-dovnloadfile.xlax') I dovnload file my.file <- dovmload.file (url - 'httpa://userpage.fu-berlin.de/soga/200/2010_data_sets/hurricanes.xlsx', destfile - my.filename, mode="wb") * read file into memory iibrary (readxl) hurricanes <- read_excel ('my-temporary-downloadfile.xlsx') log.model <- glm(Type.new- FirstLat, data = hurricanes, £amily = "binomial') summary (log.model) Routput * Call: * glm(formula = Iype.new - Firatlat, family = "binomi al", data = hurricanes) * Deviance Residuals: Min 10 Median ** -2.1841 -0.4954 -0.1664 30 0.4718 Max 3.2397 * Coefficienta Estimate Std. Error z value Pr (>|z|) <2e-16 *** <2e-16 *** * (Intercept) -9.00263 * FirstLat ** --- # Signif. codes: 0 ** 0.001 * 0.01 0.05 . 0.1'1 0.96148 -9.446 9.447 0.37283 0.03947 # (Dispersion parameter for binomial family taken to be 1) Null deviance: 463.11 on 336 degrees of freedom ** Residual deviance: 232.03 on 335 degrees of freedom * AIC: 236.03 * Number of Fisher Scoring iterations: 6 Which of the following is the correct model? I. Type.new = -9.0826 + 0.3728FirstLat, where Type.new = In and p, is the predicted probability of the type of hurricane (Type.now) for the first latitude (FirstLat). II. T'ype.now = 0.9615 + 0.0395FirstLat, where Type. new = in III. Type.new = -9.446 + 9,447FirstLat, where Type.new = In and i, is the predicted probability of the type of hurricane (Type.now) for the first latitude (FirstLat). and p, is the predicted probability of the type of hurricane (Type.new) for the first latitude (FirstLat). 1-P. a. I only ь. П only c. III only d. None of the above
Functions and Change: A Modeling Approach to College Algebra (MindTap Course List)
6th Edition
ISBN:9781337111348
Author:Bruce Crauder, Benny Evans, Alan Noell
Publisher:Bruce Crauder, Benny Evans, Alan Noell
Chapter5: A Survey Of Other Common Functions
Section5.3: Modeling Data With Power Functions
Problem 3TU
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images
Recommended textbooks for you
Functions and Change: A Modeling Approach to Coll…
Algebra
ISBN:
9781337111348
Author:
Bruce Crauder, Benny Evans, Alan Noell
Publisher:
Cengage Learning
College Algebra
Algebra
ISBN:
9781305115545
Author:
James Stewart, Lothar Redlin, Saleem Watson
Publisher:
Cengage Learning
Functions and Change: A Modeling Approach to Coll…
Algebra
ISBN:
9781337111348
Author:
Bruce Crauder, Benny Evans, Alan Noell
Publisher:
Cengage Learning
College Algebra
Algebra
ISBN:
9781305115545
Author:
James Stewart, Lothar Redlin, Saleem Watson
Publisher:
Cengage Learning
Linear Algebra: A Modern Introduction
Algebra
ISBN:
9781285463247
Author:
David Poole
Publisher:
Cengage Learning
Algebra and Trigonometry (MindTap Course List)
Algebra
ISBN:
9781305071742
Author:
James Stewart, Lothar Redlin, Saleem Watson
Publisher:
Cengage Learning
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage