Question

In: Statistics and Probability

A farmer was interested in a relationship between the amount of fertilizer (x) and the number...

  1. A farmer was interested in a relationship between the amount of fertilizer (x) and the number of bushels (y) of soybeans produced. The farmer conducted an experiment and obtained the following data.

Hundreds of pounds per acre (x)

Bushels per acre (y)

1.0

25

2.5

32

3.0

35

3.0

32

3.4

35

4.0

39

4.0

41

4.5

40

  1. Draw a scatter plot. Do the sample data appear to indicate a linear relationship between the amount of fertilizer and the number of bushels?

b. Do the data appear to be positively or negatively correlated?

  1. Find and graph (on the scatter diagram in part a) the line of the best fit for estimating the bushels per acre given hundreds of pounds of fertilizer.
  1. Estimate the number of bushels given 3.5 hundred pounds of fertilizer.

Solutions

Expert Solution

Sol:

with plot function in R obtain a scatterplot

Rcode:

df2 =read.table(header = TRUE, text ="
fertilzer_peracre bushels_produced
1.0 25
2.5 32
3.0 35
3.0 32
3.4 35
4.0 39
4.0 41
4.5 40

"
)
df2

linreg <- lm(bushels_produced~fertilzer_peracre,data=df2)
summary(linreg)
plot(x= df2$fertilzer_peracre,y=df2$bushels_produced,
main="Scatterplot of bushels_produced vs fertilzer_peracre",
xlab="fertilzer_peracre",ylab="bushels_produced")

Intrpetation:

From scatterplot we observe there exists a strong linear realtionship between  amount of fertilizer (x) and the number of bushels (y) of soybeans produced.

With lm fucntion in R fit a linear regression of  the number of bushels (y) of soybeans produced and amount of fertilizer (x)

Rcode:

linreg <- lm(bushels_produced~fertilzer_peracre,data=df2)
summary(linreg)
plot(x= df2$fertilzer_peracre,y=df2$bushels_produced,
main="Scatterplot of bushels_produced vs fertilzer_peracre",
xlab="fertilzer_peracre",ylab="bushels_produced")
abline(coef(linreg)[1:2],col='red')

## rounded coefficients for better output
cf <- round(coef(linreg), 4)

check to avoid having plus followed by minus for negative coefficients
eq <- paste0("bushels_produced = ", cf[1],
ifelse(sign(cf[2])==1, " + ", " - "), abs(cf[2]), "fertilzer_peracre "
)

## printing of the equation
mtext(eq, 3, line=0)

Solution-b:

we have

bushels_produced= 20.094177 + 4.655377  *fertilzer_peracre

for x=fertilzer_peracre =3.5

bushels_produced= 20.094177 + 4.655377  *3.5

=36.388

the number of bushels given 3.5 hundred pounds of fertilizer.=36.388


Related Solutions

A farmer is interested in comparing three different brands of fertilizer, Grow'em Big, Jim's Fertilizer and...
A farmer is interested in comparing three different brands of fertilizer, Grow'em Big, Jim's Fertilizer and Sally's Best. He planted wheat in 4 different fields, one with each brand of fertilizer and the fourth one with no fertilizer as a control. Each field is 69 acres in size. The farmer recorded the yield in bushels for each acre of every field. They are interested in knowing whether certain brands of fertilizer have an impact on yield. Assume that the mean...
A sports researcher is interested in determining if there is a relationship between the number of...
A sports researcher is interested in determining if there is a relationship between the number of home wins depends on the sport. A random sample of 200 games is selected and the results are given below. Football Basketball Soccer Baseball Home team wins 30 20 15 35 Visiting team wins 20 30 35 15 What is the test statistic value for the above data? A 4 B 10 C 20 D None of the above
A sports statistician is interested in determining if there is a relationship between the number of...
A sports statistician is interested in determining if there is a relationship between the number of home team and visiting team losses and different sports. A random sample of 526 games is selected and the results are given below. Calculate the​ chi-square test statistic chi Subscript 0 Superscript 2 to test the claim that the number of home team and visiting team losses is independent of the sport. Use alphaequals0.01. Football Baseball Soccer Basketball Home Losses 39 156 25 83...
A sports researcher is interested in determining if there is a relationship between the number of...
A sports researcher is interested in determining if there is a relationship between the number of home team and visiting team wins and different sports. A random sample of 633 games is selected and the results are given below. Conduct test of hypothesis to test the claim that the number of home team and visiting team wins is independent of the sport. Use a=0.05. Football BasketBall Soccer Baseball Hometeam Wins 89 165 91 49 Visiting Team Wins 60 89 52...
To investigate the relationship between yield of potatoes, y, and the level of fertilizer application, x,...
To investigate the relationship between yield of potatoes, y, and the level of fertilizer application, x, an experimenter divides a field into eight plots of equal size and applies differing amounts of fertilizer to each. The yield of potatoes (in pounds) and the fertilizer application (in pounds) are recorded for each plot. The data are as follows: x 1 1.5 2 2.5 3 3.5 4 4.5 y 25 31 27 28 36 35 32 34 Test at the 5% significance...
3) A sports statistician is interested in determining if there is a relationship between the number...
3) A sports statistician is interested in determining if there is a relationship between the number of home team and visiting team losses and different sports. A random sample of 526 games is selected and the results are given below. Find the critical value Λ 2 0 to test the claim that the number of home team and visiting team losses is independent of the sport. Use ΅ = 0.01. Football Basketball Soccer Baseball Home Team Loss 39 156 25...
A researcher is interested in determining whether there is a relationship between the weekly number of...
A researcher is interested in determining whether there is a relationship between the weekly number of room air-conditioning units sold and the time of year. What type of descriptive chart would be most useful in performing this analysis? Explain your choice.
A sales manager is interested in determining the relationship between the amount spent on advertising and...
A sales manager is interested in determining the relationship between the amount spent on advertising and total sales. the manger collects data for the past  months and runs a regression of sales on advertising expenditures. The results wıth some missing values are presented below. Regression Statistics Multiple R R Square Adjusted R Square Standard Error Observations 0.492 0.242 0.208 40.975 ANOVA df SS MS F Significance Regression Residual Total 1 Coefficients Standard Error t Stat P-value Constant Advertising To test the...
2. A researcher is interested in testing the relationship between the amount of fat in one's...
2. A researcher is interested in testing the relationship between the amount of fat in one's diet and the development of cancer (of any type). a. What is the research hypothesis? What is the null hypothesis? b. How will the researcher determine whether or not there is a relationship between dietary fat and cancer? What steps will the researcher take? c. Assume that the researcher made an error of the second type (i.e., a type II error). What did the...
A horticulturist is studying the relationship between tomato plant height and fertilizer amount. Thirty tomato plants...
A horticulturist is studying the relationship between tomato plant height and fertilizer amount. Thirty tomato plants grown in similar conditions were subjected to various amounts of fertilizer over a four-month period, and then their heights were measured. The results are shown in the accompanying table. Fertilizer Amount (ounces) Tomato Plant Height (inches) 1.9 20.4 5.0 29.1 4.2 28.2 1.3 24.3 4.9 29.2 5.4 29.8 3.1 34.6 0.0 25.3 2.3 26.2 2.5 25.7 0.9 26.5 1.0 28.6 4.5 25.7 3.8 36.8...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT