How well each model estimates the number of 0 counts

Assignment Help Basic Computer Science
Reference no: EM131239100

Refer to Exercise 16 from Chapter 4. Fit the ZIP model with all listed variables as linear terms.

(a) Carry out the goodness-of-fit test described on page 296 using the PostFitGOFTest() function, which is available on the website for this book. Use the default number of groups. Plot the Pearson residuals for the groups ($pear.res) against the interval centers ($centers). Use this plot to help explain the results from the test.

(b) Plot the Pearson residuals against each explanatory variable and interpret the results.

(c) Add a quadratic term for numchron to the model. Is this term significant? How well does the model fit now? Explain.

(d) Suggest how the model might be improved further.

Exercise 16

Deb and Trivedi (1997) and Zeileis et al. (2008) examine the relationship between the number of physician office visits for a person (ofp) and a set of explanatory variables for individuals on Medicare. Their data are contained in the file dt.csv. The explanatory variables are number of hospital stays (hosp), number of chronic conditions (numchron), gender (gender; male =

1, female = 0), number of years of education (school), and private insurance (privins; yes = 1, no = 0). Two additional explanatory variables given by the authors are denoted as health_excellent and health_poor in the data file. These are self-perceived health status indicators that take on a value of yes = 1 or no = 0, and they cannot both be 1 (both equal to 0 indicates "average" health). Using these data, complete the following:

(a) Estimate the Poisson regression model to predict the number of physician office visits. Use all of the explanatory variables in a linear form without any transformations.

(b) Interpret the effect that each explanatory variable has on the number of physician office visits.

(c) Compare the number of zero-visit counts in the data to the number predicted by the model and comment. Can you think of a possible explanation for why there are so many zeroes in the data?

(d) Estimate the zero-inflated Poisson regression model to predict the number of physician office visits. Use all of the explanatory variables in a linear form without any transformations for the log(µi) part of the model and no explanatory variables in the πi part of the model. Interpret the model fit results.

(e) Complete part (d) again, but now use all of the explanatory variables in a linear form to estimate πi. Interpret the model fit results and compare this model to the previous ZIP model using a LRT.

(f) Examine how well each model estimates the number of 0 counts.

Reference no: EM131239100

Questions Cloud

Describe successful listening skills and process : Describe successful listening skills and process that can aid communication. How can these skills help you to become an effective leader in your workplace
How does americas taste differ from that of other countries : How does America's taste differ from that of other countries? How are they similar? Do Komar & Melamid's findings align with your own tastes and preferences in art? Do you see any problems with their approach or methods?
Dimensions of effective microsystems : There are 8 dimensions of effective Microsystems. Which two (2) do you believe are the most important and why? Please provide examples to illustrate your position. Don't forget to cite sources to support your position. APA format.
A character from odd couple and write character analysis : Choose a character from The Odd Couple and write a character analysis. This should include their Given Circumstances, Point of View, Super-Objective, Through Action, Counter Action, Values, Motivation and a list of their actions for one act of thi..
How well each model estimates the number of 0 counts : Complete part (d) again, but now use all of the explanatory variables in a linear form to estimate πi. Interpret the model fit results and compare this model to the previous ZIP model using a LRT.
What is the difference in your mind : What is the difference in your mind, and in your common usage, between a perception, a generalization and a stereotype? Please give an example of each. Are each or all consistently unethical judgments or are they sometimes or always ethically just..
Define gender-based differences in brain executive processes : Describe the gender-based differences in the brain's executive processes during problem solving and critical thinking. Then, based on your debate group assigned below, use the course materials and at least one other scholarly source from the Ashf..
Suppose the interest rate on a fixed-rate : Suppose the interest rate on a fixed-rate, 30-year mortgage is 6.5%. Lex can afford to make payments of $1100/month. What is maximum mortgage Lex can afford??
Write up your experience : Write up your experience and any context that would be important for us to understand. (Where were you? How many people were present? What time of day was it? What did you learn about your question?)

Reviews

Write a Review

Basic Computer Science Questions & Answers

  How many parity bits are necessary

Suppose we want an error-correcting code that will allow all single-bit errors to be corrected for memory words of length 10.

  Marie program that will input a variable

To develop a MARIE program that will input a variable number of user entered Decimal whole number grades, validating each one (0-100) in a subroutine

  Define a function that takes argument in name of a csv file

Define a function that takes an argument in the name of a CSV file. This file can have any number of rows. Each row has exactly 10 words separated by comma. Your function should print the total number of four letter words in the file.

  Construct an fa (finite automata)

Construct an FA (finite automata) that accepts all binary strings with an even number of 0's and the number of 1's is a multiple of 3.

  Instantaneous velocity and acceleration

Calculate the instantaneous velocity and acceleration of this moving particle at time t. What is the distance this moving particle has traveled between t=0 and t=/4? (Hint: The particle is traveling on the curve defined by the vector funtion. So th..

  Prosecute people that do war driving

There has been an increase in neighbors hacking other neighbors that have open networks. One of the solutions to this issue is just making your network secure, which most users do now. It is difficult to make it illegal and to prosecute people tha..

  Systems analysis and design

What are the benefits of a thorough system requirements document? Drawbacks? How can a system requirements document be used to manage stakeholder expectations?

  Investigate the role the cloud computing

Then prepare a report that defines cloud computing and explains how it can be used in disaster recovery planning. Cite your references.

  Write a c program to use the rti to time-multiplex

Set up the interrupt vectors for the enhanced capture timer Ch1, enhanced capture timer Ch0, RTI, and IRQ to work with the CodeWarrior IDE by modifying the vectors.c file given in Example 6.5.

  Remote access for small offices and teleworkers

Case Study 2: Cisco's Remote Access Go to Cisco's Website and read, "How Cisco IT Provides Remote Access for Small Offices and Teleworkers", located at http://bit.ly/MkvlbA. According to the study, an IDC forecast from December 2007, expected the glo..

  Transparency and accountability

The Federal Trade Commission (FTC) recently issued a report titled, "Data Brokers: A Call for Transparency and Accountability."  What is the role of   the FTC with respect to consumer privacy?  What is the significance/impact of this report?

  Explain type to reveal computer to be computer

Explain why you think these questions would be the type to "reveal" the computer to be a computer? Why would these responses have to be given a human begin?

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