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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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