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
Willard BoiceeManagement
(5/5)

518 Answers

Hire Me
expert
StatAnalytica ExpertFinance
(5/5)

882 Answers

Hire Me
expert
Himanshi TanwarData mining
(5/5)

944 Answers

Hire Me
expert
Fiona EwinggPsychology
(5/5)

801 Answers

Hire Me
R Programming
(5/5)

Fit a logistic regression of conservative on the linear effects of the volumes of amygdala and acc.

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Project 2

The data set n90_pol.csv contains information on 90 university students who participated in a psychological experiment designed to look for relationships between the size of different regions of the brain and political views. The variables amygdala and acc indicate the volume of two particular brain regions know to be involved in emotions and decision-making, the amygdala and the anterior cingulate cortex; more exactly, these are residuals from the predicted volume, after adjusting for height, sex, and similar body-type variables.   The variable (political) orientation gives the subjects’ scores on a five-point scale from 1 (very conservative) to 5 (very liberal); so orientation is not continuous but an ordinal variable. The goal of the study is to investigate the relationship between brain anatomy and political orientation.  Based on your exploratory and main analysis, summarize your overall conclusion about the relationship.  Specifically, you need to:

In the exploratory analysis, you could ignore the fact that orientation is an ordinal variable and investigate (1) the correlation between orientation and the volume of the amygdala and

(2) the correlation between orientation and the volume of the acc. Also obtain 95% bootstrap confidence intervals for these correlations. You will need to choose a specific bootstrap sam- pling approach and justify your choice. Also, fit a linear regression model for orientation on the volumes of amygdala and acc to get some rough ideas on how the students’ political orientation is related to the volumes at these two brain regions. Present necessary results to support your conclusions.

In the main analysis, create a binary response variable, conservative, which is 1 when the student has orientation ≤ 2, and 0 otherwise.

1. Fit a logistic regression of conservative on the linear effects of the volumes of amygdala and acc.

2. Fit a generalized additive model for conservative on the volumes of amygdala and acc.

For each model, you should evaluate model calibration, interpret the fitted model;  report the in-sample mis-classification rate using the 0.5 cutoff (meaning we predict 1 if the fitted probability is ≥ 0.5 and 0 otherwise); recalculate the classification error rates by using cross- validation (k-fold based on the same splits when comparing different models or leave-one- out). Is the generalized additive model better than the linear logistic regression model? To choose the final model, you need to compare both the model fitting and prediction of the two models using the appropriate tools learned in this course.

Note: Your report needn’t be long, but it should be clear, well-organized, free of grammatical and other mechanical errors, and easy to follow. Figures and tables need to have CAPTIONS and are easy to read, with informative captions, axis labels and legends, and are placed near the text of the corresponding problems. All claims need to be supported by either appropriate derivations or empirical evidence.  Numerical results are reported to appropriate precision.  R code needs to be clearly divided into sections referring to particular problems by adding necessary comments. Include the R code at the end of the report in an appendix. At last, submit the R source code in a script (.r) or a markdown (.rmd).

 

(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