Predict the number of physician office visits

Assignment Help Basic Computer Science
Reference no: EM131241237

Refer to the hospital visit data described in Exercise 16 of Chapter 4. Use BMA with a BIC criterion on a zero-inflated Poisson model to identify which of the explanatory variables are related to the number of physician office visits for a person (ofp) and the probability of zero visits. Note that health_excellent and health_poor are really just two levels of a three-level factor. Combine them into a single new variable with three levels, e.g., by taking health = as.factor(health_excellent - health_poor).

For each variable, report:

(a) the estimated probability that it belongs in the model,

(b) its parameter estimate and confidence interval in both parts of the model.

Draw conclusions from your investigation. Because this problem requires programming a model-fitting function to use in glmulti() (a ZIP model is not normally fit using glm()), we have provided some of the necessary code in the program glmultiFORzeroinfl.R. This code needs to be run before glmulti() is called on the zeroinflclass model fit. Please see the comments in the program file for help on how to use glmulti() for this model.12

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: EM131241237

Questions Cloud

What is the value of the option : The market price of risk for the car price is estimated to be - 0:1. What is the value of the option? Assume that the risk-free rate for all maturities is 6%.
What are some of the advantages of standard costs : What are some of the advantages and disadvantages of standard costs? How do managers determine what the standard cost should be? Describe the effect of inaccurate standard costs on financial reporting.
What is the height of the syringe now : After placing the 5.00 kg mass onto the syringe you wait for the syringe to return to thermal equilibrium with the surrounding laboratory. What is the height of the syringe now?
Construct two timestep tree for the price of wheat : Suppose that the price of wheat follows the process in equation (34.3) with a = 0:05 and σ = 0:15. Construct a two-timestep tree for the price of wheat in a risk-neutral world.
Predict the number of physician office visits : 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.
Describe what marketing means to you : First, describe what marketing means to you. Next, answer the following question: How did you participate in marketing-related activities this past week as both a consumer and on the job?
Calculate the moment of inertia of two thin : Calculate the moment of inertia of two thin, hollow plastic spheres, stuck together, routing about their common center of mass. Each sphere has a radius of 23.0 cm, and a mass of 380 gm.
Calculate the continuously compounded annual return : CFE5305: FINANCIAL TIME SERIES ANALYSIS - Calculate the continuously compounded annual return for the Petrobras stock for 2009. Calculate the simple annual return for 2009 and explain the Jarque-Bera (J-B) test. Using this test, what conclusion can ..
What is the net present value of the investment opportunity : If you undertake the investment opportunity, what is the Nominal Payback Period? Using the factors for 6%, what is the Discounted Payback Period? What is the Net Present Value of this investment opportunity?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Probability a call is long or there are at least two handoff

What is the probability P[H0] that a phone makes no handoffs? What is the probability a call is brief? What is the probability a call is long or there are at least two handoffs?

  Privacy laws are in a near constant state of flux

1) Privacy laws are in a near constant state of flux. Conduct research to identify the current state of privacy law. Has any major legislation recently been proposed or approved? What are the implications for firms operating in effected industries? W..

  Deriving the update formula

deriving the update formula of Eq.(9.58) for the kernel width i , no approximation was made. Justify this latter choice.

  Calculate the amount of product expected from a reaction

Write a Matlab program to calculate the amount of product expected from a reaction

  Which access database object asks a question about data

Which Access database object asks a question about the data stored in a database and displays specific fields and records that answer the question?

  What is nanotechnology explain it in detail

What is nanotechnology? Please include examples and how it's different from traditional manufacturing?

  Solve the following logcal problems

Solve the following logcal problems: a. 10110001 OR 00011010 b. 11100110 XOR 10111011

  Explain what the tradeoffs are in using a marker-column

Modify the database by adding an additional column ("Deleted_Date") to those tables that represent entities that could contain data which can be deleted and justify your rationale in a short paragraph

  Annual rate of return

You currently have $22,500 in your retirement account. What annual rate of return will you need to make on your investment in order to have $1,000,000 in the account on your 60th birthday?Will investing in CDs get you to your goal?

  What is roi of project

1) What is payback period of this project? 2) What is ROI of this project? 3) What is NPV of this project?

  Write a function called lookup that consumes three parameter

Write a function called lookup that consumes three parameters: the above table in an array table, a number value and a logical control value getTemp. If getTemp is true, the function interpolates the value as a specific volume and returns the corr..

  Levels in continuous representation

What are Capability Levels in Continuous Representation? Explain them.

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