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 360976 1. {main}() /var/www/astarmathsandphysics/index.php:0 0.0471 1209816 2. Joomla\CMS\Application\SiteApplication->execute() /var/www/astarmathsandphysics/index.php:49 0.0471 1209816 3. Joomla\CMS\Application\SiteApplication->doExecute() /var/www/astarmathsandphysics/libraries/src/Application/CMSApplication.php:267 0.1148 4037352 4. Joomla\CMS\Application\SiteApplication->dispatch() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:233 0.1162 4065064 5. Joomla\CMS\Component\ComponentHelper::renderComponent() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:194 0.1170 4082776 6. Joomla\CMS\Component\ComponentHelper::executeComponent() /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:356 0.1170 4099784 7. require_once('/var/www/astarmathsandphysics/components/com_content/content.php') /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:381 0.1177 4107520 8. ContentController->execute() /var/www/astarmathsandphysics/components/com_content/content.php:42 0.1177 4107520 9. ContentController->display() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:710 0.1640 4347432 10. ContentController->display() /var/www/astarmathsandphysics/components/com_content/controller.php:113 0.1662 4364832 11. Joomla\CMS\Cache\Controller\ViewController->get() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:663 0.1670 4385760 12. ContentViewArticle->display() /var/www/astarmathsandphysics/libraries/src/Cache/Controller/ViewController.php:102 0.1808 4458224 13. Joomla\CMS\Plugin\PluginHelper::importPlugin() /var/www/astarmathsandphysics/components/com_content/views/article/view.html.php:189 0.1809 4458480 14. Joomla\CMS\Plugin\PluginHelper::import() /var/www/astarmathsandphysics/libraries/src/Plugin/PluginHelper.php:182 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; JCommentsACL has a deprecated constructor in /var/www/astarmathsandphysics/components/com_jcomments/classes/acl.php on line 17 Call Stack: 0.0001 360976 1. {main}() /var/www/astarmathsandphysics/index.php:0 0.0471 1209816 2. Joomla\CMS\Application\SiteApplication->execute() /var/www/astarmathsandphysics/index.php:49 0.0471 1209816 3. Joomla\CMS\Application\SiteApplication->doExecute() /var/www/astarmathsandphysics/libraries/src/Application/CMSApplication.php:267 0.1148 4037352 4. Joomla\CMS\Application\SiteApplication->dispatch() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:233 0.1162 4065064 5. Joomla\CMS\Component\ComponentHelper::renderComponent() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:194 0.1170 4082776 6. Joomla\CMS\Component\ComponentHelper::executeComponent() /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:356 0.1170 4099784 7. require_once('/var/www/astarmathsandphysics/components/com_content/content.php') /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:381 0.1177 4107520 8. ContentController->execute() /var/www/astarmathsandphysics/components/com_content/content.php:42 0.1177 4107520 9. ContentController->display() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:710 0.1640 4347432 10. ContentController->display() /var/www/astarmathsandphysics/components/com_content/controller.php:113 0.1662 4364832 11. Joomla\CMS\Cache\Controller\ViewController->get() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:663 0.1670 4385760 12. ContentViewArticle->display() /var/www/astarmathsandphysics/libraries/src/Cache/Controller/ViewController.php:102 0.5672 12253848 13. JEventDispatcher->trigger() /var/www/astarmathsandphysics/components/com_content/views/article/view.html.php:199 0.5674 12254296 14. plgContentJComments->update() /var/www/astarmathsandphysics/libraries/joomla/event/dispatcher.php:160 0.5674 12254296 15. plgContentJComments->onContentAfterDisplay() /var/www/astarmathsandphysics/libraries/joomla/event/event.php:70 0.5676 12262544 16. plgContentJComments->onAfterDisplayContent() /var/www/astarmathsandphysics/plugins/content/jcomments/jcomments.php:339 0.5679 12264280 17. JComments::show() /var/www/astarmathsandphysics/plugins/content/jcomments/jcomments.php:282 0.5685 12297328 18. JCommentsFactory::getACL() /var/www/astarmathsandphysics/components/com_jcomments/jcomments.php:188 0.5685 12297728 19. spl_autoload_call() /var/www/astarmathsandphysics/components/com_jcomments/classes/factory.php:274 0.5686 12297808 20. JLoader::load() /var/www/astarmathsandphysics/components/com_jcomments/classes/factory.php:274

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.

Add comment

Security code
Refresh