logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Rob RouseData mining
(5/5)

791 Answers

Hire Me
expert
StatAnalytica ExpertSocial sciences
(5/5)

606 Answers

Hire Me
expert
Creek BoyleTechnical writing
(5/5)

572 Answers

Hire Me
expert
Vincent BirdsallAccounting
(5/5)

779 Answers

Hire Me
R Programming
(5/5)

Develop a function to obtain a complete and customised assessment of a GLM model

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Exercise 1

Develop a function to obtain a complete and customised assessment of a GLM model.

a GLM demol. The function should therefore obtain:

- Exploratory analysis, using tables and graphs, of the relationship between the independent and dependent variables.

independent variables and the dependent variable. Use correlation plots and graphs,

Note: distinguish, according to the type of the dependent variable, the type of model, the type of dependent variable, the type of model, regression or classification (functions is.factor or is.numeric).

- A suitably formatted output of the coefficients estimated by the model, standard deviations, standard deviations, statistic,...

model, standard deviations, t-statistics and their p-values, both in their classical version (under model assumptions) and in their p-values.

(under the model assumptions) and Bootstrap.

- Ditto for the goodness-of-fit measures. Consider the R2, the adjusted R2 and the

ECM for regression and classification error and the pseudo R2 for classification.

- Results of the diagnostic tests of the model: Shapiro-Wilk, Lilliefors,

Levene/Brown-Forsythe, White, Breush-Godfrey, Durbin-Watson...

determining whether the residuals are normal, homoscedastic and random. Note:

using plot(model) you already get the graphical tests, but you can customise

the presentation using ggplot2 or any other graphical library (lattice, plotrix,

plotly,...). Given the results obtained, the function will return a message

advising whether or not to use the classical or Bootstrap estimators.

- Include an additional parameter, indicating whether or not to perform a selection of variables and, if so, a selection of variables.

of variables and, if so, what type: forward, backward, stepwise. Use

the BIC statistic as a criterion.

Note: to obtain the Bootstrap statistics you can rely on the three packages

implemented in R: rsample, bootstrap or boot, or make your own function for this purpose.

 

For classification problems, perform the bootstrap for each class separately. Use the data frame BostonHousing from the mlbench package to test the function in the case of regression.

(5/5)
Attachments:

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme