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 362584 1. {main}() /var/www/astarmathsandphysics/index.php:0 0.1724 1212024 2. Joomla\CMS\Application\SiteApplication->execute() /var/www/astarmathsandphysics/index.php:49 0.1724 1212024 3. Joomla\CMS\Application\SiteApplication->doExecute() /var/www/astarmathsandphysics/libraries/src/Application/CMSApplication.php:267 0.2435 4127608 4. Joomla\CMS\Application\SiteApplication->dispatch() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:233 0.2448 4155288 5. Joomla\CMS\Component\ComponentHelper::renderComponent() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:194 0.2455 4173000 6. Joomla\CMS\Component\ComponentHelper::executeComponent() /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:356 0.2457 4203520 7. require_once('/var/www/astarmathsandphysics/components/com_content/content.php') /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:381 0.2467 4226240 8. ContentController->execute() /var/www/astarmathsandphysics/components/com_content/content.php:42 0.2467 4226240 9. ContentController->display() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:710 0.3057 4903984 10. ContentController->display() /var/www/astarmathsandphysics/components/com_content/controller.php:113 0.3093 5096136 11. Joomla\CMS\Cache\Controller\ViewController->get() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:663 0.3098 5117064 12. ContentViewArticle->display() /var/www/astarmathsandphysics/libraries/src/Cache/Controller/ViewController.php:102 0.3205 5329352 13. Joomla\CMS\Plugin\PluginHelper::importPlugin() /var/www/astarmathsandphysics/components/com_content/views/article/view.html.php:189 0.3205 5329608 14. Joomla\CMS\Plugin\PluginHelper::import() /var/www/astarmathsandphysics/libraries/src/Plugin/PluginHelper.php:182

## 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.