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.0001 363376 1. {main}() /var/www/astarmathsandphysics/index.php:0 0.0758 1212912 2. Joomla\CMS\Application\SiteApplication->execute() /var/www/astarmathsandphysics/index.php:49 0.0758 1212912 3. Joomla\CMS\Application\SiteApplication->doExecute() /var/www/astarmathsandphysics/libraries/src/Application/CMSApplication.php:267 0.1442 4113368 4. Joomla\CMS\Application\SiteApplication->dispatch() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:233 0.1456 4141080 5. Joomla\CMS\Component\ComponentHelper::renderComponent() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:194 0.1464 4158792 6. Joomla\CMS\Component\ComponentHelper::executeComponent() /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:356 0.1466 4189824 7. require_once('/var/www/astarmathsandphysics/components/com_content/content.php') /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:381 0.1476 4212544 8. ContentController->execute() /var/www/astarmathsandphysics/components/com_content/content.php:42 0.1476 4212544 9. ContentController->display() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:710 0.1941 4847624 10. ContentController->display() /var/www/astarmathsandphysics/components/com_content/controller.php:113 0.1969 4948608 11. Joomla\CMS\Cache\Controller\ViewController->get() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:663 0.1975 4969216 12. ContentViewArticle->display() /var/www/astarmathsandphysics/libraries/src/Cache/Controller/ViewController.php:102 0.2075 5042040 13. Joomla\CMS\Plugin\PluginHelper::importPlugin() /var/www/astarmathsandphysics/components/com_content/views/article/view.html.php:189 0.2075 5042296 14. Joomla\CMS\Plugin\PluginHelper::import() /var/www/astarmathsandphysics/libraries/src/Plugin/PluginHelper.php:182

Hypothesis Testing for the Difference in the Means of Two Normal Populations

If we have two populations with population statisticsandthenthe mean difference between the means of two samples isandif the sample sizes areand(frompopulations 1 and 2 respectively) are large, then difference betweenthe sample means is normally distributed:(fromthe central limit theorem).

When the sample sizes are small we need to make the additionalassumptions

  1. andarenormally distributed

  2. The samples are independent

  3. The variances of the populations are equal

In practice the sample variances can be very dissimilar, but theequality of the population variances can be tested using the F –test.

In general we do not know the population variances and mustcalculate estimates for the population variances,andIfwe assumeandarenormally distributed then we can use an estimator for commonvarianceand the difference between the means of the two samples is has a t –distribution withdegreesof freedom

Example: A sample of the heights of boys and girls is taken andthe following results are obtained. Conduct a hypothesis test thatboys are 3 cm taller than girls.

Boy's heights: 153, 149, 148, 158, 159, 141, 142, 145

Girl's heights: 143, 147, 133, 126, 139, 132, 143

and

This is greater thansothere is evidence to reject the null hypothesis thatBoysare more than three cm taller than girls.