The following data set provides information on acres harvested and planted by year and value in the US.
Year |
ASPARAGUS - ACRES HARVESTED |
ASPARAGUS - ACRES PLANTED |
2015 |
21,700 |
23,500 |
2014 |
23,800 |
25,800 |
2013 |
24,500 |
26,800 |
2012 |
25,300 |
27,800 |
2011 |
26,800 |
28,400 |
2010 |
28,000 |
29,200 |
2009 |
29,200 |
30,700 |
2008 |
32,200 |
33,700 |
2007 |
38,600 |
40,900 |
2006 |
43,200 |
44,700 |
2005 |
49,300 |
51,700 |
2004 |
61,500 |
66,000 |
2003 |
58,000 |
62,000 |
2002 |
66,000 |
70,500 |
2001 |
70,150 |
75,150 |
2000 |
77,400 |
82,800 |
1999 |
75,890 |
79,590 |
1998 |
74,430 |
From the data set, use the planting data for the United States for recent years. Using a calculator or statistical software, find the equation for the linear regression line for 2010 to 2015. What is its slope?
In order to solve this question I used R software.
R codes and output:
> d=read.table('data.csv',header=T,sep=',')
> head(d)
Year HARVESTED PLANTED
1 2015 21700 23500
2 2014 23800 25800
3 2013 24500 26800
4 2012 25300 27800
5 2011 26800 28400
6 2010 28000 29200
> attach(d)
> fit=lm( HARVESTED~ PLANTED)
> fit
Call:
lm(formula = HARVESTED ~ PLANTED)
Coefficients:
(Intercept) PLANTED
-3594.368 1.063
Hence slope of the regression equation for the years 2010 to 2015 is 1.1
Get Answers For Free
Most questions answered within 1 hours.