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 361976 1. {main}() /var/www/astarmathsandphysics/index.php:0 0.0697 1210720 2. Joomla\CMS\Application\SiteApplication->execute() /var/www/astarmathsandphysics/index.php:49 0.0697 1210720 3. Joomla\CMS\Application\SiteApplication->doExecute() /var/www/astarmathsandphysics/libraries/src/Application/CMSApplication.php:267 0.2330 4191208 4. Joomla\CMS\Application\SiteApplication->dispatch() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:233 0.2344 4218888 5. Joomla\CMS\Component\ComponentHelper::renderComponent() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:194 0.2351 4236600 6. Joomla\CMS\Component\ComponentHelper::executeComponent() /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:356 0.2353 4267120 7. require_once('/var/www/astarmathsandphysics/components/com_content/content.php') /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:381 0.2363 4289840 8. ContentController->execute() /var/www/astarmathsandphysics/components/com_content/content.php:42 0.2363 4289840 9. ContentController->display() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:710 0.2880 4967584 10. ContentController->display() /var/www/astarmathsandphysics/components/com_content/controller.php:113 0.2917 5159736 11. Joomla\CMS\Cache\Controller\ViewController->get() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:663 0.2923 5180664 12. ContentViewArticle->display() /var/www/astarmathsandphysics/libraries/src/Cache/Controller/ViewController.php:102 0.3036 5377720 13. Joomla\CMS\Plugin\PluginHelper::importPlugin() /var/www/astarmathsandphysics/components/com_content/views/article/view.html.php:189 0.3036 5377976 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 361976 1. {main}() /var/www/astarmathsandphysics/index.php:0 0.0697 1210720 2. Joomla\CMS\Application\SiteApplication->execute() /var/www/astarmathsandphysics/index.php:49 0.0697 1210720 3. Joomla\CMS\Application\SiteApplication->doExecute() /var/www/astarmathsandphysics/libraries/src/Application/CMSApplication.php:267 0.2330 4191208 4. Joomla\CMS\Application\SiteApplication->dispatch() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:233 0.2344 4218888 5. Joomla\CMS\Component\ComponentHelper::renderComponent() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:194 0.2351 4236600 6. Joomla\CMS\Component\ComponentHelper::executeComponent() /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:356 0.2353 4267120 7. require_once('/var/www/astarmathsandphysics/components/com_content/content.php') /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:381 0.2363 4289840 8. ContentController->execute() /var/www/astarmathsandphysics/components/com_content/content.php:42 0.2363 4289840 9. ContentController->display() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:710 0.2880 4967584 10. ContentController->display() /var/www/astarmathsandphysics/components/com_content/controller.php:113 0.2917 5159736 11. Joomla\CMS\Cache\Controller\ViewController->get() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:663 0.2923 5180664 12. ContentViewArticle->display() /var/www/astarmathsandphysics/libraries/src/Cache/Controller/ViewController.php:102 0.9399 13796464 13. JEventDispatcher->trigger() /var/www/astarmathsandphysics/components/com_content/views/article/view.html.php:199 0.9402 13796864 14. plgContentJComments->update() /var/www/astarmathsandphysics/libraries/joomla/event/dispatcher.php:160 0.9402 13796864 15. plgContentJComments->onContentAfterDisplay() /var/www/astarmathsandphysics/libraries/joomla/event/event.php:70 0.9404 13805112 16. plgContentJComments->onAfterDisplayContent() /var/www/astarmathsandphysics/plugins/content/jcomments/jcomments.php:339 0.9406 13806848 17. JComments::show() /var/www/astarmathsandphysics/plugins/content/jcomments/jcomments.php:282 0.9413 13839896 18. JCommentsFactory::getACL() /var/www/astarmathsandphysics/components/com_jcomments/jcomments.php:188 0.9413 13840296 19. spl_autoload_call() /var/www/astarmathsandphysics/components/com_jcomments/classes/factory.php:274 0.9414 13840376 20. JLoader::load() /var/www/astarmathsandphysics/components/com_jcomments/classes/factory.php:274

Hypothesis Testing Using Test Statistics or Using Probabilities

There are two ways we can conduct a hypothesis test. Iwill illustrate with an example from the normal distribution assuminga two tailed test.

Using a Test Statistic

We have a null distributionanda single observationWe findSupposewe are conducting a 5% test. We find a test statistic andcorresponding to 5% – assuming a two tailed test - bycalculatingandlooking up the corresponding value ofinthe normal distribution table, we findIfthe value of z we found usingisbigger than this we reject the null hypothesis.

Using a Probability

We have a null distributionanda single observationWe findSupposewe are conducting a 5% test. Everything so far is as it was above.But now, instead of finding the test statistic corresponding to 5% -assuming a two tailed test – we use the calculated value of z tofind a probability. If the probability we find is less than 2.5%-sincewe are conducting a two tailed test - we reject the nullhypothesis.

Things to Remember

Big test statistic implies reject null hypothesis and small teststatistic implies do not reject null hypothesis.

Small probability implies reject null hypothesis and bigprobability implies do not reject null hypothesis.

The test statistic is related to the probability of the nullhypothesis being true – if the test statistic is large theprobability of the null hypothesis being true is small, so reject thenull hypothesis - if the test statistic is small the probability ofthe null hypothesis being true is large so do not reject the nullhypothesis.

Add comment

Security code
Refresh