Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgContentJComments has a deprecated constructor in /var/www/astarmathsandphysics/plugins/content/jcomments/jcomments.php on line 25 Call Stack: 0.0000 362584 1. {main}() /var/www/astarmathsandphysics/index.php:0 0.0448 1212088 2. Joomla\CMS\Application\SiteApplication->execute() /var/www/astarmathsandphysics/index.php:49 0.0448 1212088 3. Joomla\CMS\Application\SiteApplication->doExecute() /var/www/astarmathsandphysics/libraries/src/Application/CMSApplication.php:267 0.1131 4127672 4. Joomla\CMS\Application\SiteApplication->dispatch() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:233 0.1146 4155352 5. Joomla\CMS\Component\ComponentHelper::renderComponent() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:194 0.1153 4173064 6. Joomla\CMS\Component\ComponentHelper::executeComponent() /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:356 0.1155 4203584 7. require_once('/var/www/astarmathsandphysics/components/com_content/content.php') /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:381 0.1165 4226304 8. ContentController->execute() /var/www/astarmathsandphysics/components/com_content/content.php:42 0.1165 4226304 9. ContentController->display() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:710 0.1698 4904048 10. ContentController->display() /var/www/astarmathsandphysics/components/com_content/controller.php:113 0.1736 5096200 11. Joomla\CMS\Cache\Controller\ViewController->get() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:663 0.1742 5117128 12. ContentViewArticle->display() /var/www/astarmathsandphysics/libraries/src/Cache/Controller/ViewController.php:102 0.1853 5314240 13. Joomla\CMS\Plugin\PluginHelper::importPlugin() /var/www/astarmathsandphysics/components/com_content/views/article/view.html.php:189 0.1853 5314496 14. Joomla\CMS\Plugin\PluginHelper::import() /var/www/astarmathsandphysics/libraries/src/Plugin/PluginHelper.php:182

Testing for the Equality of Two Means When the Sample Sizes are Large

To test for the equality of the mean of a population, we can usethe central limit theorem, which states that the mean of a sample ofsize n from any population is approximately normally distributed,with the accuracy of the approximation improving with increasing n.When the variance of the population,isnot known and the sample is large, we assume that the variance ofthe sample,-the unbiased estimate of the population variance,-is equal to

Calculations can then be done using the normal distribution.

Example: A machine is calibrated to produce nails with a meanlength of 5.4 cm. 80 nails are to be tested to ensure the machine isstill calibrated correctly. The sample has mean 5.31 cm and variancesoConducta hypothesis test at the 5% level of significance, to test whetherthe machine is calibrated correctly.

Solution:

The null and alternative hypotheses are respectively,

Using the central limit theorem, we assume

The test statistice is

The hypothesis test is two tailed, so the area of each tail is0.025 or 2.5 %.

The critical values of z, corresponding to probability of 2.5%,are

sothe null hypothesis is rejected. There is evidence that the meanlength of the nail;s is not 5.4 cm. The machine needs to berecalibrated.