0% found this document useful (0 votes)
52 views4 pages

Individual Assignment 2: Harvested Area Production of Dry Cocoa (Hectare) (Tonne)

1) The document presents data on cocoa harvest areas and production from 2000-2009 across 9 years in hectares and tonnes. 2) A linear regression model is fitted to the data, finding a strong positive correlation (R^2 = 0.94) between harvest area and production. 3) A hypothesis test is conducted to determine if there is a correlation between harvest area and production. The test results show the correlation is true at the 5% significance level, so the null hypothesis that there is no correlation is rejected.

Uploaded by

raan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
52 views4 pages

Individual Assignment 2: Harvested Area Production of Dry Cocoa (Hectare) (Tonne)

1) The document presents data on cocoa harvest areas and production from 2000-2009 across 9 years in hectares and tonnes. 2) A linear regression model is fitted to the data, finding a strong positive correlation (R^2 = 0.94) between harvest area and production. 3) A hypothesis test is conducted to determine if there is a correlation between harvest area and production. The test results show the correlation is true at the 5% significance level, so the null hypothesis that there is no correlation is rejected.

Uploaded by

raan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Probability and Statistics Multimedia University (MMU)

INDIVIDUAL ASSIGNMENT 2
Harvested Production
area of dry Cocoa
(Hectare) (Tonne)
YEAR x y xy x2 y2
20,77 16,94
2000 8 1 352000098 431725284 286997481
17,36 15,99
2001 4 9 277806636 301,508,496 255968001
13,90 10,20
2002 3 3 141852309 193293409 104101209
12,99
2003 4 6,851 89021894 168844036 46936201
10,86
2004 8 6,523 70891964 118113424 42549529
2005 8,707 4,646 40452722 75811849 21585316
2006 5,219 2,238 11680122 27237961 5008644
2007 3,890 1,702 6620780 15132100 2896804
2008 2,578 814 2098492 6646084 662596
2009 1,697 559 948623 2879809 312481

97,998 66476 993373640 1341192452 767018262

Table 1

Harvested Area per Production of Dry Cocoa


18,000
16,000 f(x) = 0.9 x − 2150.96
R² = 0.94
14,000
12,000
Y -axis (Tonne)

10,000
8,000 Linear ()
6,000
4,000
2,000
0
0 5,000 10,000 15,000 20,000 25,000
X-axis (Hectare)

Scatter Graph 1

1|Page
NYAANAPUTHRAAN
1181201849
Probability and Statistics Multimedia University (MMU)

Calculation:

∑ x = 97,998
∑ y = 66476
∑ xy = 993373640
∑ x 2 = 1341192452
∑ y2 = 767018262

S xx =∑ x 2−¿ ¿ ¿
S yy = ∑ y2 −¿ ¿ ¿
( x)( y)
S xy = ∑ xy − ∑ n ∑

(97,998)2
S xx =∑ x 2−¿ ¿ ¿ = 1341192452− 10
= 380831651.6

(66476)2
S yy =∑ y2 −¿ ¿ ¿ = 767018262− = 325112404.4
10
( x)( y)
= ∑ xy − ∑ n ∑ = 993373640−
(97998)(66476)
S xy =341922135.2
10

S xy 341922135.2
b1 = =
S xx 380831651.6 = 0.8978

1 1
b o = (∑ y−b1 ∑ x ¿ ¿ = (66479 – (0.8978) (97998)) = –2151
n 10

S xy 341922135.2
r= = = 0.971726
√(S yy )(S xx) √(325112404.4)(380831651.6)
The harvested area has a strong positive correlation to the production of dry
cocoa.
2|Page
NYAANAPUTHRAAN
1181201849
Probability and Statistics Multimedia University (MMU)

Hypothesis Testing:
Step 1:
H O : p=0 H a : p >0

(Right tailed test)


Step 2:
Z α =5 %=−1.6449

Step 3:
n−2
t=r
√ 1−r 2

10−2
t=0.971726
√ 1−0.9717262
= 69.7226176

Step 4:
t 5 % ,10−2=1.860

Step5:
Since t = 69.7226 and
it falls under the
rejection region, thus,
we reject H 0 .

Step 6:

3|Page
NYAANAPUTHRAAN
1181201849
Probability and Statistics Multimedia University (MMU)
At 5% significance level, the data collected that the harvested area has a strong positive linear correlation to
the production of dry cocoa is true.

4|Page
NYAANAPUTHRAAN
1181201849

You might also like