2. A company that packages and distributes 500g sugar packets has received complaints that the weight of sugar in the packets packaged at their two different packaging plants differs. To test this statistically, two small random samples were collected from both plants (A sample of n1 = 18 is collected from PlantA and a sample size of n2 is collected from PlantB). Conduct the hypothesis test at alpha 0.05 level of significance to determine the population means are the same from the dataset “sugar”. 2.1. Define the hypothesis. 2.2. Calculate the test statistic. 2.3. Provide a conclusion. data sugar; input Plants $ weight; datalines; PlantA 437 PlantA 490 PlantA 497 PlantA 533 PlantA 555 PlantA 509 PlantA 485 PlantA 500 PlantA 462 PlantA 528 PlantA 638 PlantA 588 PlantA 592 PlantA 484 PlantA 569 PlantA 531 PlantA 517 PlantA 572 PlantB 418 PlantB 525 PlantB 581 PlantB 495 PlantB 489 PlantB 448 PlantB 455 PlantB 484 PlantB 527 PlantB 504 PlantB 489 PlantB 493 PlantB 483 PlantB 463 PlantB 484 PlantB 539 PlantB 439 PlantB 535 PlantB 495 PlantB 508 PlantB 605 PlantB 492 PlantB 514 PlantB 460 PlantB 491 ; run
2. A company that packages and distributes 500g sugar packets has received complaints that the weight of sugar in the packets packaged at their two different packaging plants differs. To test this statistically, two small random samples were collected from both plants (A sample of n1 = 18 is collected from PlantA and a sample size of n2 is collected from PlantB). Conduct the hypothesis test at alpha 0.05 level of significance to determine the population means are the same from the dataset “sugar”. 2.1. Define the hypothesis. 2.2. Calculate the test statistic. 2.3. Provide a conclusion. data sugar; input Plants $ weight; datalines; PlantA 437 PlantA 490 PlantA 497 PlantA 533 PlantA 555 PlantA 509 PlantA 485 PlantA 500 PlantA 462 PlantA 528 PlantA 638 PlantA 588 PlantA 592 PlantA 484 PlantA 569 PlantA 531 PlantA 517 PlantA 572 PlantB 418 PlantB 525 PlantB 581 PlantB 495 PlantB 489 PlantB 448 PlantB 455 PlantB 484 PlantB 527 PlantB 504 PlantB 489 PlantB 493 PlantB 483 PlantB 463 PlantB 484 PlantB 539 PlantB 439 PlantB 535 PlantB 495 PlantB 508 PlantB 605 PlantB 492 PlantB 514 PlantB 460 PlantB 491 ; run
MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Related questions
Question
2. A company that packages and distributes 500g sugar packets has received complaints that the weight of sugar in the packets packaged at their two different packaging plants differs. To test this statistically, two small random samples were collected from both plants (A sample of n1 = 18 is collected from PlantA and a sample size of n2 is collected from PlantB). Conduct the hypothesis test at alpha 0.05 level of significance to determine the population means are the same from the dataset “sugar”.
2.1. Define the hypothesis.
2.2. Calculate the test statistic.
2.3. Provide a conclusion.
data sugar;
input Plants $ weight;
datalines;
PlantA 437
PlantA 490
PlantA 497
PlantA 533
PlantA 555
PlantA 509
PlantA 485
PlantA 500
PlantA 462
PlantA 528
PlantA 638
PlantA 588
PlantA 592
PlantA 484
PlantA 569
PlantA 531
PlantA 517
PlantA 572
PlantB 418
PlantB 525
PlantB 581
PlantB 495
PlantB 489
PlantB 448
PlantB 455
PlantB 484
PlantB 527
PlantB 504
PlantB 489
PlantB 493
PlantB 483
PlantB 463
PlantB 484
PlantB 539
PlantB 439
PlantB 535
PlantB 495
PlantB 508
PlantB 605
PlantB 492
PlantB 514
PlantB 460
PlantB 491
;
run
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps
Recommended textbooks for you
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman