Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 2 (20 pts) Consider the dataset discm,'eries containing the numbers great inventions and scientific discoveries in each year from 1860 to 1959. data

image text in transcribed
image text in transcribed

Question 2 (20 pts) Consider the dataset discm,'eries containing the numbers great inventions and scientific discoveries in each year from 1860 to 1959. data ("discoveries 'v ) str (discoveries) ## Time-Series [1: 100] from 1860 to 1959: 5 3 0 2 0 3 2 3 6 1 ## creating a dataframe discoveries as. data. frame (cbind(1860: 1959 , discoveries)) colnames (discoveries) str (discoveries) ## 'data. frame' : $ year 100 num ## $ discoveries: num yearn , "discover ies obs . of 2 variables: 1860 1861 1862 1863 1864 5302032361 a) (2.5 pts) Plot the discoveries over time and comment on the trend, if any. b) (2.5 pts) Fit a Poisson response model with a constant term. Now compute the mean number of discoveries per year. What is the relationship between this mean and the coefficient seen in the model? c) (5 pts) Use the deviance from the model to check whether the model fits the data. What does this say about weather the rate of discovericns is constant over time? d) (5 pts) Fit a Poisson response model that is quadratic in the year. Test for the significance of the quadratic term. What does this say about the presence of a trend in discovery? e) (5 pts) Compute the predicted number of discoveries each year and show these predictions as a line drawn over the data. Comment on what you see.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Accounting

Authors: Charles T. Horngren, Walter T. Harrison Jr., M. Suzanne Oliv

9th Edition

130898414, 9780132997379, 978-0130898418, 132997371, 978-0132569309

Students also viewed these Mathematics questions

Question

When should you avoid using exhaust brake select all that apply

Answered: 1 week ago