Compute 95% confidence intervals for each odds ratio

Assignment Help Basic Computer Science
Reference no: EM131239049

Repeat the analysis from Exercise 11 using a proportional odds regression model. Note that this will require programming a model-fitting function for use in glmulti(), because the proportional odds model is not normally fit using glm(). The code for doing this is available in the program glmultiFORpolr.R. This code needs to be run before glmulti() is called on the polr-class model fit.

(a) For each variable, report the posterior probability that it belongs in the model and interpret the results.

(b) Obtain model-averaged estimates of the odds ratios corresponding to the effect of each explanatory variable. Interpret these values.

(c) Compute 95% confidence intervals for each odds ratio and interpret. In particular, which variables appear to be most important in describing countries' use of the death penalty?

(d) Repeat this analysis on the odds ratios from a single proportional odds model using all explanatory variables. Compare the results to the model-averaged values.

Exercise 11

Continuing Exercise 10, the researcher's main interest was to determine which, if any, of the explanatory variables are associated with the country's use of the death penalty. Complete the items below with this in mind.

(a) Explain why a BMA approach would be more appropriate than a stepwise approach given the context of this problem.

(b) Treating the response as nominal multinomial, carry out the BMA analysis using main effects only. Report the results and draw conclusions. Note that this will require programming a model-fitting function for use in glmulti(), because the multinomial model is not normally fit using glm(). The code for doing this is available in the program glmulti FOR multinom.R. This code needs to be run before glmulti() is called on the multinom-class model fit.

Exercise 10

A criminologist studying capital punishment was interested in identifying whether certain social, economic, and political attributes of a country related to its use of the death penalty. She gathered data from public sources on 194 countries, recording the following variables:

• COUNTRY: The name of the country;

• STATUS: The country's laws on death penalties, coded as a = Public executions; b = Private executions; c = Executions allowed but none carried out in last 10 years; d = No death penalty;

• LEGAL: The basis for the country's legal system, coded as a = Islamic; b = Civil; c = Common; d = Civil/Common; e = Socialist; f = Other;

• HDI: Human Development Index, a numerical measure ranging from 0 (very low human development) to 1 (very high human development);

• GINI: GINI Index of income inequality, a numerical measure ranging from 0 (perfect equality) to 1 (perfect inequality);

• GNI: Gross National Income per capita (US$);

• LITERACY: Literacy rate (% of adults aged 15 and above who are literate);

• URBAN: Percentage of total population living in urban areas;

• POL: Political Instability Index for the level of threat posed to governments by social protest, a numerical measure ranging from 0 (no risk) to 10 (high risk);

• CONFLICT: Level of conflict experienced in the country, coded as a = No conflict, b = latent (non-violent) conflict, c = manifest conflict, d = crisis, e = severe crisis, f = war.

The data for the 141 countries with complete records are available in the DeathPenalty.csv file.11 The response variable is the country's death penalty status, while all other variables except COUNTRY are explanatory.

(a) Fit a multinomial (nominal response) regression model to these data using all available explanatory variables as linear terms. Compute the AIC and the BIC for this model. Also compute AICc by using the formula on page 267. Note that the model degrees of freedom that are needed for computing AICc can be found from the extractAIC() function.

(b) Explain why STATUS can be viewed as an ordinal variable.

(c) Fit a proportional odds regression model (see Section 3.4) to these data using all available explanatory variables. Compute AIC, BIC, and AICc as in the multinomial regression model.

(d) Note that the proportional odds model assumes both the ordinality of the response and equal coefficients across different logits. Based on the information criteria, is there evidence to suggest that these assumptions lead to a poor model fit? Explain.

Reference no: EM131239049

Questions Cloud

Why status can be viewed as an ordinal variable : Refer to the death penalty data given in Exercise 10. Identify which variables are related to the binary response "Allows Death Penalty" (STATUS is a, b, or c) versus "No Death Penalty" (STATUS is d). Form a model and use the model to estimate the..
Briefly summarizes the given article : Briefly summarizes the article - Identifies the author's claims and provides evidence of the strength or validity of the author's claims.
The advertising campaign makes foreigners demand : What would be the e¤ect of an advertising campaign to promote W in the ROW? ( Assume that the advertising campaign makes foreigners demand more W relative to F at any relative price.) What would shift? What would happen to relative prices in the worl..
Employee posted unflattered comments : How would you react if you learned one of your employee posted unflattered comments about you as manager? would you reaction be anything different if the employee posted unflattered comments about you as a person?
Compute 95% confidence intervals for each odds ratio : Obtain model-averaged estimates of the odds ratios corresponding to the effect of each explanatory variable. Interpret these values.
Compare the tax incidence in the short run to the long run : Suppose the government institutes a tax on soft drinks. Assume that short-run and long-run demand curves are the same, while the long-run supply curve is more elastic than the short- run supply curve. Compare the tax incidence in the short run to the..
Probability of tripling her investment : An investor is considering two alternatives for which she has Rs. 1,00,000 to invest. The first is commercial property; the second is stocks. Analysis has revealed that the property alternative offers a 0.50 probability of tripling her investment ..
Under perfect competition firms take prices : Under perfect competition firms take prices as given. In that case, and under constant returns to scale, firms make 0 profits in equilibrium. Show that this is true for the Cobb Douglas production function, when firms rent capital from households at ..
Maintain the same systems and policies everywhere : Wal-Mart operated stores in both the US and Mexico. While Wal-Mart would like to maintain the same systems and policies everywhere they operate, culture creates some differences.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Complete slide presentation for the board of directors

Prepare a complete slide presentation for the Board of Directors (BOD) outlining the justification for implementing an improved Accounting and Control (AC) function describing activities, applications, justification and benefits of implementing an..

  Identify some distributed applications in the scientific

Identify some distributed applications in the scientific and commercial application areas

  How many relationships between users and permissions defined

For a RBAC scheme, how many relationships between users and permissions must be defined?

  Java interface construct to formally specify

What are the benefits we accrue by using a Java interface construct to formally specify the logical level of ADTs?Suppose we have a linked list of Strings, as defined in the textbook, named presidents. Suppose it contains three nodes, with the fir..

  Develop a class model for the phtrs system

Draw a UML use case diagram for the PHTRS system. You'll have to make a number of assumptions about the manner in which a user interacts with this system.

  Explain big data

Explain Big Data. Describe how Big Data differ from traditional relational database Describe value of Big Data to business and organization

  Compare the constructs and measures of intelligence

Compare the constructs and measures of intelligence and achievement with a reference Powerpoint presentation

  Sat receive a critical reading score

Students taking the SAT receive a critical reading score, a mathematics score, and a writing score. The average total score of the students from the class of a certain year was 1496. The average math score exceeded the average reading score by 16 ..

  Challenges of storing and managing unstructured data

Question 1:- What is structured and unstructured data? Describe the challenges of storing and managing unstructured data? Question 2:- What are the attributes of Big Data?

  Illustrate your answer with an example

Each of the UML models relates to the other models. How can cross checking between models ensure that the requirements are accurate and correct? Illustrate your answer with an example

  Basics for successful web communications, including issues

Please remember to refer to the Module One Short Paper Rubric document for company background.

  Wired and wireless connectivity

The design features for your home office network should include wired and wireless connectivity, the applications and operating systems use on the network, and shared network resources (files, printers). Include as much information as you can in your..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd