Question

In: Statistics and Probability

Use R studio to answer the following Organic Inorganic 570 482 592 612 630 642 511...

Use R studio to answer the following

Organic

Inorganic

570

482

592

612

630

642

511

582

634

444

513

422

558

460

599

We are interested in testing for significant difference in the mean biomass of pine seedlings grown with organic versus inorganic fertilizer. What case are we in?  In other words, can we assume that s21 = s22. (sorg=50 and sin=87 with samples of sizes of norg = 7 and nin = 8. Use a = 0.10.

  1. Complete the test with the organic fertilizer assigned as the first (numerator) population. (Hint: read in the data as vectors, or copy into a .csv file to enter into R)
  2. Complete the test with the inorganic fertilizer assigned as the first (numerator) population.

Solutions

Expert Solution

Ans a ) the test with the organic fertilizer assigned as the first (numerator) population

using R

> organic=c(570,592,630,511,634,513,558)
> inorganic=c(482,612,642,582,444,422,460,599)
> var.test(organic, inorganic, ratio = 1, alternative = c("two.sided"))

   F test to compare two variances

data: organic and inorganic
F = 0.33038, num df = 6, denom df = 7, p-value = 0.1984
alternative hypothesis: true ratio of variances is not equal to 1
95 percent confidence interval:
0.06454586 1.88169348
sample estimates:
ratio of variances
0.3303842

since p value of F stat is 0.1984 which is greater tha 0.05 so we can assume variance are equal .

b )  the test with the inorganic fertilizer assigned as the first (numerator) population.

using R

> organic=c(570,592,630,511,634,513,558)
> inorganic=c(482,612,642,582,444,422,460,599)
> var.test(inorganic, organic, ratio = 1, alternative = c("two.sided"))

   F test to compare two variances

data: inorganic and organic
F = 3.0268, num df = 7, denom df = 6, p-value = 0.1984
alternative hypothesis: true ratio of variances is not equal to 1
95 percent confidence interval:
0.5314362 15.4928612
sample estimates:
ratio of variances
3.026779

since p value of F stat is 0.1984 which is greater tha 0.05 so we can assume variance are equal .


Related Solutions

Use R studio to answer the following. A study was carried out to investigate the variation...
Use R studio to answer the following. A study was carried out to investigate the variation of rainbow trout weights in a certain creek. The weights (in kilograms) of 10 randomly selected fish are listed below:       0.78, 0.45, 0.35, 0.76, 0.57, 0.42, 0.33, 0.68, 0.66, 0.42 Assume that the population is approximately normally distributed.  Hint: make a vector to enter the weight data into R, e.g.: > wt = c(0.78, ..., 0.42) Find the 90% confidence interval for the unknown population...
Please Use R studio to answer the question. This is the Statistics section of Comparing Groups....
Please Use R studio to answer the question. This is the Statistics section of Comparing Groups. One month before the election, a poll of 630 randomly selected votes showed 54% planning to vote for a certain candidate. A week later, it became known that he had had an extramarital affair, and a new poll showed only 51% of 1010 voters supporting him. Do these results indicate a decrease in voter support fo his candidacy? a) Test an appropriate hypothesis as...
please use R studio to answer the following questions 1. An eductional theorist collects behavioural data...
please use R studio to answer the following questions 1. An eductional theorist collects behavioural data from two groups of children in an early childhood center. She measures how much time the children are active (e.g. running or swinging on the monkey bars) in minutes. The first group of children are encouraged to run about and as such are expected to be active; the second group is encouraged to sit still and paint, and are expected to be less active....
1. Basic use of R/R Studio. Solve the following problem in R and print out the...
1. Basic use of R/R Studio. Solve the following problem in R and print out the commands and outputs. (a) Create a vector of the positive odd integers less than 100; Remove the values greater than 60 and less than 80; Find the variance of the remaining set of values (b) What’s the difference in output between the commands 2*1:5 and (2*1):5? Why is there a difference? (c) If you wanted to enter the odd numbers from 1 to 19...
Use R studio to answer the following questions location 1 location 2 63.9 66.8 71.3 63.8...
Use R studio to answer the following questions location 1 location 2 63.9 66.8 71.3 63.8 70.6 60.7 54.6 66.2 63.7 59.5 61 59.5 69.8 66.1 72.4 64.6 64.4 64.8 69.8 61.6 65.6 61.3 62.8 64.9 63.6 66.2 Temperatures are extremely variable in sections of the Colorado River near the Glen Canyon Dam.  Researchers measure temperature in two locations (1 and 2) with samples of size n1 = 10 and n2 = 16, and calculate variances of s12 = 20 °C...
For the following SN2 reaction, draw the organic and inorganic products of the reaction, and identify...
For the following SN2 reaction, draw the organic and inorganic products of the reaction, and identify the nucleophile, substrate, and leaving group. Ch3Br + CH3C≡ C:–
Please use R-Studio to answer the following question. I mentioned that dnorm(x, mean, sd) doesn’t give...
Please use R-Studio to answer the following question. I mentioned that dnorm(x, mean, sd) doesn’t give the probability of being exactly equal to x. So what does it give? It gives you the height of the normal curve at that x. Plot the graph of a normal random variable with mean 50 and standard deviation 10. Note you will have to create range of xvalues between 0 to 100. Then find the probability using dnorm() then use plot() command
THIS QUESTION REQUIRES THE USE OF R STUDIO. ANY ANSWERS GIVEN THAT ARE NOT IN R...
THIS QUESTION REQUIRES THE USE OF R STUDIO. ANY ANSWERS GIVEN THAT ARE NOT IN R STUDIO CODE WILL NOT SUFFICE. SOLVING WITHOUT THE USE OF R STUDIO IS NOT ACCEPTABLE. The previous question was: Annual salaries for a large company are approximately normally distributed with a mean of 49000 dollars and a standard deviation of 2000 dollars. One manager claims that all of his direct reports are paid "above the 75th percentile" for the company. What is the minimum...
Please Use R studio and show all the steps to answer this question NY Marathon 2013...
Please Use R studio and show all the steps to answer this question NY Marathon 2013 the table below shows the winning times (in minutes) for men and women in the new york city marathon between 1978 and 2013. (the race was not run in 2012 because of superstorm sandy.) assuming that performances in the big apple resemble performances elsewhere, we can think of these data as a sample of performance in marathon competitions. Create a 90% confidence interval for...
Please Use R studio to answer this question NY Marathon 2013 the table below shows the...
Please Use R studio to answer this question NY Marathon 2013 the table below shows the winning times (in minutes) for men and women in the new york city marathon between 1978 and 2013. (the race was not run in 2012 because of superstorm sandy.) assuming that performances in the big apple resemble performances elsewhere, we can think of these data as a sample of performance in marathon competitions. Create a 90% confidence interval for the mean difference in winning...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT