Question: For the data file: gotp R and type in >install.packages(alr4) data name is : MinnLand 6.14 Testing for lack-of-fit (Data file: MinnLand) Refer to the
For the data file: gotp R and type in >install.packages("alr4") data name is : MinnLand

6.14 Testing for lack-of-fit (Data file: MinnLand) Refer to the Minnesota farm sales data introduced in Problem 5.4 6.14.1 Fit the regression model log (acrePrice) - year via oLS where year is not a factor, but treated as a continuous predictor. What does this model say about the change in price per acre over time? Call this model A 154 CHAPTER 6 TESTING AND ANALYSIS OF VARIANCE 6.14.2 Fit the regression model via log (acrePrice) - fyear via oLs, where fyear is a factor with as many levels are there are years in the data, including the intercept in the model. What does this model say about the change in price per acre o this model B. (Hint: fyear is not included in the data file. You need to create it from the variable year.) ver time? Call 6.14.3 Show that model A is a special case of model B, and so a hypoth- esis test of NH: model A versus AH model B is reasonable 6.14.4 A question of interest is whether or not model A provides arn adequate description of the change in log(acrePrice) over time. The hypothesis test of NH modelA versus AH model B addresses this question, and i can be called a lack-of fit test for model A Perform the test and summarize results. 6.14 Testing for lack-of-fit (Data file: MinnLand) Refer to the Minnesota farm sales data introduced in Problem 5.4 6.14.1 Fit the regression model log (acrePrice) - year via oLS where year is not a factor, but treated as a continuous predictor. What does this model say about the change in price per acre over time? Call this model A 154 CHAPTER 6 TESTING AND ANALYSIS OF VARIANCE 6.14.2 Fit the regression model via log (acrePrice) - fyear via oLs, where fyear is a factor with as many levels are there are years in the data, including the intercept in the model. What does this model say about the change in price per acre o this model B. (Hint: fyear is not included in the data file. You need to create it from the variable year.) ver time? Call 6.14.3 Show that model A is a special case of model B, and so a hypoth- esis test of NH: model A versus AH model B is reasonable 6.14.4 A question of interest is whether or not model A provides arn adequate description of the change in log(acrePrice) over time. The hypothesis test of NH modelA versus AH model B addresses this question, and i can be called a lack-of fit test for model A Perform the test and summarize results
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
