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

  Use of menus in our applications enhance a user experience

Let's start at the very beginning. What is a file? Why is it necessary to "open" and "close" a file? What happens when we do that? What is "writing" to a file? What is the difference between writing to a sequential file and appending to it? How can t..

  What cryptographic techniques would be used

Alice's Remanufactured Auto Parts is located in St. Louis, Missouri. Due to the popularity of the lowered price and high quality of remanufactured parts, Alice wants to expand operations to the World Wide Web.

  Expressions that contain rational exponents

Are radical expressions related to expressions that contain rational exponents? Why or why not?

  Discuss measures that could be taken to reduce the risks

Discuss measures that could be taken to reduce the risks

  Explain how that characteristic may be exploited

Describe how top-down and bottom-up methods of threat/fault analysis can be used in identifying assets relevant to a scenario. You do not need to be exhaustive but do enough of the analysis to demonstrate you understand the processes.

  Create a new workbook that jobs performed by a company

create a new workbook that will be used to record the jobs performed and charges generated by a landscaping company. In the first worksheet, create columns for the employees of your landscaping business

  Discuss how the use of computers and technology

Discuss how the use of computers and technology have changed the way managers perform these tasks.Is it possible for an organization to rely too heavily on computers and not enough on judgment and intuition of their managers? Explain your answer.

  What is the typical usage of the enable line in a decoder

what is the typical usage of the enable line in a decoder?

  Draw the tree for this experiment and find p[c1], p[c2]

Draw the tree for this experiment and find P[C1], P[C2], and P[Cn].

  Problem regarding the business consulting

Remember Bill? He was the gentleman that you helpedto start up his business in week 4. Well his business is doing well, but he has come to you with some questions and concerns.

  Write a program that outputs inflation rates for two success

write a program that outputs inflation rates for two successive years and whether the inflation is increasing or decreasing.Ask the user to input the current price of an item and its price one year and two years ago.

  Advantages of joining two tables

What is inner join and what is outer join? Give some potential real world applications of joins.

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