Estimate the poisson regression model for the simulated data

Assignment Help Basic Computer Science
Reference no: EM131239090

Continuing Exercise 26:

(a) Carry out the GOF test described on page 296 using the Post Fit GOF Test() function from Post Fit GOF Test. R on the book's website. Use the default number of groups, which is n/5 when n ≤ 100. State the hypotheses, test statistic and p-value, and interpret the results. Plot the Pearson residuals for the groups ($pear.res) and against the interval centers ($centers). Use this plot and the residual plots from Exercise 26 to explain the results.

(b) Perform a Monte Carlo simulation to investigate whether the GOF test holds the correct size for this model and data. Specifically, assuming that the model is contained in a glm object called mod.fit, use set.seed(1348765911), and repeat the following steps 1000 times:

i. Simulate Poisson response data from the estimated model. For example, use predict() to save the estimated means to an object called mean and simulate new responses using
y

ii. Estimate the Poisson regression model for the simulated data and obtain the predicted values from the model for each observation.

iii. Apply Post Fit LOF Test() to the simulated data and predicted values; obtain the p-value (pval component of the returned object)

The fraction of p-values that lie below 0.05 is the estimated size of the test when a type I error level of this same value is used. Is this fraction close to 5% as one would hope for if the test holds the correct size? Use a confidence interval to account for simulation variability in answering this question.

Exercise 26

Refer to Exercise 18 from Chapter 4 on the salamander count data.

(a) Compute deviance/df. What does this value suggest about the model?

(b) Examine the standardized residuals and perform an influence analysis. Interpret the results.

Exercise 18

The data in Table 4.8 are from a survey of salamander counts taken on plots of fixed size sampled from prairie regions in Manitoba, Canada.17 The prairies are subject to periodic controlled burning to reduce the chance of uncontrolled wildfires. The research question being investigated is how salamander populations react to these controlled burns. Use a Poisson regression model to address this question. Also comment on the apparent fit of the model.

1486_3b688ea6-07d3-491c-8f83-337a46f7cdb6.png

Reference no: EM131239090

Questions Cloud

State hypotheses test statistic and df p-value : Refer to Exercise 26 from Chapter 4 on the Alcohol Consumption data, in which a Poisson regression model was fit using first Saturday drink consumption as the response and prel, nrel, posother, negother, age, rosn, and state as the explanatory var..
Do you believe the elgin marbles should stay in london : fter reading both articles, do you believe The Elgin Marbles should stay in London or should they be returned to Athens? Why or why not? Provide at least 10 complete sentences to justify your opinion with ample reasoning.
Create an original code of ethics for your family : First, create an original code of ethics for your family by thinking about your family as an organization. In your code of ethics, please include the following: guiding principles, purpose of the code
Develop a prototype based on the user specifications : Develop a prototype based on the user specifications and the design proposed by your team. Your prototype will focus on only maintaining information for packs and deliveries for calculating delivery charges and reimbursement
Estimate the poisson regression model for the simulated data : xamine the standardized residuals and perform an influence analysis. Interpret the results.
Discuss the authors critique of modern architectures : Discuss the author's critique of modern architecture's avoidance of any external ornamentation including his criticism of the International Style and its proponents and his preference for buildings with ornamentation.
How the human condition is portrayed in 20th century arts : Explain how the "human condition" is portrayed in 20th century arts and humanities. - Analyze the introduction of "function" in architecture during the 20th century.
About game theory and nash equilibrium : Show that a mixed strategy that assigns a positive probability to a dominated pure strategy is dominated (by another mixed strategy that assigns zero probability to that dominated pure strategy). This is supply chain economics question about game the..
Perform an influence analysis : Examine the standardized residuals and perform an influence analysis. Interpret the results.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Database development

Recommend at least three (3) specific tasks that could be performed to improve the quality of datasets, using the Software Development Life Cycle (SDLC) methodology. Include a thorough description of each activity per each phase.

  Expected release date

Primary Assessment Each student will write a 3-5 page APA formatted paper on how they perceive the final collaboration app including the following minimum information App Name, App Colors, App Theme, Sample Artwork, App Sound,Price, and Expected Rele..

  How it would validate the customer complaint

Trouble Ticket 101: Customer in Atlanta complains that when she tries to log into the system server.headquarters.com in New York, she gets disconnected with a time-out. However, her colleague in her New York office reports that he is able to acces..

  Problem and accompanying excel windows

Jones Furniture Company produces beds and desks for college students. The production process requires carpentry and varnishing. Each bed requires 6 hours of carpentry and 4 hour of varnishing.

  Write the statement to store the value 100

Write the statement to store the value 100 in the first element of the array named mintList.

  Drivers for digital dashboards found in automobiles

Believe or not digital dashboards can be found in automobiles. In fact, Mossberg (2010) wrote article titled, "Ford Drives Digital Dashboards to Next Level. Are drivers ready for this kind of technology?

  Why is it valid to use f p as numeraire

Suppose we take a forward rate f with P the zero-coupon bond with the same payoff time, and use f P as numeraire. What is the drift off? Why is it valid to use f P as numeraire?

  Why do you need to run both zenmap gui and nessus

Why do you need to run both Zenmap GUI and Nessus to perform the first three steps of the hacking process

  Describe the roles of a data administrator (da)

You also want to take this opportunity to answer any potential questions about personnel needs with this new database environment. Describe the roles of a data administrator (DA) and a database administrator (DBA); describe the job functions of ea..

  Maximum and minimum values of the function

Determine the absolute maximum and minimum values of the function f(x,y)=(x^2  )+2xy +2y on the rectangle R=   {(x,y):0

  Show the gains or losses with the current plan

1. Show the gains or losses with the current plan.  Explain how those gains were calculated (because that is where I am at a loss). 2. Show the gains or losses with the proposed plan.  Explain how those are calculated.

  Effective code of ethics and business conduct

Craft your response as a "recipe" for an effective code of ethics and business conduct (e.g. two portions professional conduct, half a portion of fairness, one portion respect for others, etc.)

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