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

  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