{"id":14,"date":"2014-04-03T11:25:08","date_gmt":"2014-04-03T18:25:08","guid":{"rendered":"https:\/\/blogs.ubc.ca\/lfs252group14\/?page_id=14"},"modified":"2014-04-10T17:25:18","modified_gmt":"2014-04-11T00:25:18","slug":"statistical-analysis","status":"publish","type":"page","link":"https:\/\/blogs.ubc.ca\/lfs252group14\/statistical-analysis\/","title":{"rendered":"Statistical Analysis"},"content":{"rendered":"<p style=\"text-align: left;\">\u00a0Not included in this e-Porfolio but present in the Excel file:<\/p>\n<p style=\"text-align: left;\">Table 1: Raw data collected using stratified sampling (35&#215;5=175 total subjects)<\/p>\n<p><b>Statistical Analysis 1: T-test for Independent Means<\/b><\/p>\n<p><a href=\"https:\/\/blogs.ubc.ca\/lfs252group14\/files\/2014\/04\/Lydon33.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-186 alignnone\" alt=\"\" src=\"https:\/\/blogs.ubc.ca\/lfs252group14\/files\/2014\/04\/Lydon33.jpg\" width=\"482\" height=\"1465\" \/><\/a><\/p>\n<p>Table 2: Data for 2 independent groups of classes and their sample estimates<\/p>\n<p style=\"text-align: left;\"><strong>1. Set up hypothesis:<\/strong><\/p>\n<p style=\"text-align: left;\">H<sub>0: \u00a0\u00a0<\/sub>\u03bc<sub>1<\/sub> = \u03bc<sub>2\u00a0\u00a0\u00a0 <\/sub>There is no relationship between the class size and average marks.<\/p>\n<p style=\"text-align: left;\">H<sub>a: \u00a0\u00a0<\/sub>\u03bc<sub>1<\/sub> &gt; \u03bc<sub>2\u00a0\u00a0\u00a0\u00a0\u00a0 <\/sub>Smaller classes should achieve higher averages than larger classes.<\/p>\n<p style=\"text-align: left;\"><strong>2. Choose method and significance level:<\/strong><\/p>\n<p style=\"text-align: left;\">T-test; \u03b1 = 5%<\/p>\n<p style=\"text-align: left;\"><strong>3. Calculate t-statistic:<\/strong><\/p>\n<p style=\"text-align: left;\">SEest = (6.815^2\/101 + 4.24^2\/30)^0.5 = 1.029<\/p>\n<p style=\"text-align: left;\">t = (77.823 &#8211; 72.26)\/1.029 = 5.406<\/p>\n<p style=\"text-align: left;\"><strong>4. Compare t-statistics vs. \u03b1<\/strong><\/p>\n<p style=\"text-align: left;\">d.f. = 30 &#8211; 1 = 29<\/p>\n<p style=\"text-align: left;\">The t* multiplier that corresponds to \u03b1=0.05 and\u00a0 d.f.=29 is 1.699.<\/p>\n<p style=\"text-align: left;\">Because t &gt; 1.699, we fail to reject Ha and reject H<sub>0<\/sub><\/p>\n<p style=\"text-align: left;\">\n<p style=\"text-align: left;\"><b>Statistical Analysis 2: Regression<\/b><\/p>\n<p style=\"text-align: left;\">Dependent variable: Class Average Mark<\/p>\n<table class=\"alignleft\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"128\"><b>Parameter<\/b><\/td>\n<td valign=\"top\" width=\"128\"><b>Estimate<\/b><\/td>\n<td valign=\"top\" width=\"128\"><b>Standard Error<\/b><\/td>\n<td valign=\"top\" width=\"128\"><b>T-Stat<\/b><\/td>\n<td valign=\"top\" width=\"128\"><b>P-Value<\/b><\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"128\">Intercept<\/td>\n<td valign=\"top\" width=\"128\">79.17<\/td>\n<td valign=\"top\" width=\"128\">0.707<\/td>\n<td valign=\"top\" width=\"128\">111.982<\/td>\n<td valign=\"top\" width=\"128\">2.3E-163<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"128\">Class Size<\/td>\n<td valign=\"top\" width=\"128\">-0.0549<\/td>\n<td valign=\"top\" width=\"128\">0.0095<\/td>\n<td valign=\"top\" width=\"128\">-5.772<\/td>\n<td valign=\"top\" width=\"128\">3.55E-08<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: left;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Table 3: Regression statistics obtained using Excel<\/p>\n<p style=\"text-align: left;\">\u00a0Hypothesis: \u00a0 H<sub>0<\/sub>: <em>b<\/em><sub>1<\/sub> = 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Slope is zero because class size has no influence on scores.<\/p>\n<p style=\"text-align: left;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0\u00a0 H<sub>a<\/sub>: \u00a0<em>b<\/em><sub>1<\/sub> &lt; 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Slope is negative because bigger classes lead to lower scores.<\/p>\n<p style=\"text-align: left;\">The p-value is way smaller than our significance level of 0.05, therefore we reject H<sub>0<\/sub>.<\/p>\n<p style=\"text-align: left;\">The average of the residuals calculated in Excel is -0.001.<\/p>\n<p style=\"text-align: left;\"><a href=\"https:\/\/blogs.ubc.ca\/lfs252group14\/files\/2014\/04\/g2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-200\" alt=\"\" src=\"https:\/\/blogs.ubc.ca\/lfs252group14\/files\/2014\/04\/g2.jpg\" width=\"621\" height=\"387\" srcset=\"https:\/\/blogs.ubc.ca\/lfs252group14\/files\/2014\/04\/g2.jpg 863w, https:\/\/blogs.ubc.ca\/lfs252group14\/files\/2014\/04\/g2-300x186.jpg 300w, https:\/\/blogs.ubc.ca\/lfs252group14\/files\/2014\/04\/g2-800x497.jpg 800w\" sizes=\"auto, (max-width: 621px) 100vw, 621px\" \/><\/a><\/p>\n<p style=\"text-align: left;\">\u00a0<span style=\"line-height: 1.5em;\">Graph 4: Scatter plot of class average vs. class size\u00a0 for the entire sample<\/span><\/p>\n<p style=\"text-align: left;\"><a href=\"https:\/\/blogs.ubc.ca\/lfs252group14\/files\/2014\/04\/g1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-201\" alt=\"\" src=\"https:\/\/blogs.ubc.ca\/lfs252group14\/files\/2014\/04\/g1.jpg\" width=\"603\" height=\"338\" srcset=\"https:\/\/blogs.ubc.ca\/lfs252group14\/files\/2014\/04\/g1.jpg 943w, https:\/\/blogs.ubc.ca\/lfs252group14\/files\/2014\/04\/g1-300x168.jpg 300w, https:\/\/blogs.ubc.ca\/lfs252group14\/files\/2014\/04\/g1-800x448.jpg 800w\" sizes=\"auto, (max-width: 603px) 100vw, 603px\" \/><\/a><\/p>\n<p style=\"text-align: left;\">Graph 5: Scatter plot of residuals vs. class size for the entire sample<\/p>\n<p style=\"text-align: left;\"><a href=\"https:\/\/blogs.ubc.ca\/lfs252group14\/files\/2014\/04\/Graph-5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-69 alignnone\" alt=\"\" src=\"https:\/\/blogs.ubc.ca\/lfs252group14\/files\/2014\/04\/Graph-5.png\" width=\"472\" height=\"808\" srcset=\"https:\/\/blogs.ubc.ca\/lfs252group14\/files\/2014\/04\/Graph-5.png 524w, https:\/\/blogs.ubc.ca\/lfs252group14\/files\/2014\/04\/Graph-5-175x300.png 175w\" sizes=\"auto, (max-width: 472px) 100vw, 472px\" \/><\/a><\/p>\n<p style=\"text-align: left;\">Graph 6: Scatter plots for the two groups analyzed in T-test<\/p>\n<p style=\"text-align: left;\"><a href=\"https:\/\/blogs.ubc.ca\/lfs252group14\/files\/2014\/04\/Graph-6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-70 alignnone\" alt=\"\" src=\"https:\/\/blogs.ubc.ca\/lfs252group14\/files\/2014\/04\/Graph-6.png\" width=\"464\" height=\"806\" srcset=\"https:\/\/blogs.ubc.ca\/lfs252group14\/files\/2014\/04\/Graph-6.png 516w, https:\/\/blogs.ubc.ca\/lfs252group14\/files\/2014\/04\/Graph-6-172x300.png 172w\" sizes=\"auto, (max-width: 464px) 100vw, 464px\" \/><\/a><\/p>\n<p style=\"text-align: left;\">Graph 7: Scatter plots for select strata (academic discipline)<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0Not included in this e-Porfolio but present in the Excel file: Table 1: Raw data collected using stratified sampling (35&#215;5=175 total subjects) Statistical Analysis 1: T-test for Independent Means Table 2: Data for 2 independent groups of classes and their &hellip; <a href=\"https:\/\/blogs.ubc.ca\/lfs252group14\/statistical-analysis\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":23913,"featured_media":0,"parent":0,"menu_order":4,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-14","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/blogs.ubc.ca\/lfs252group14\/wp-json\/wp\/v2\/pages\/14","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.ubc.ca\/lfs252group14\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/blogs.ubc.ca\/lfs252group14\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.ubc.ca\/lfs252group14\/wp-json\/wp\/v2\/users\/23913"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.ubc.ca\/lfs252group14\/wp-json\/wp\/v2\/comments?post=14"}],"version-history":[{"count":35,"href":"https:\/\/blogs.ubc.ca\/lfs252group14\/wp-json\/wp\/v2\/pages\/14\/revisions"}],"predecessor-version":[{"id":206,"href":"https:\/\/blogs.ubc.ca\/lfs252group14\/wp-json\/wp\/v2\/pages\/14\/revisions\/206"}],"wp:attachment":[{"href":"https:\/\/blogs.ubc.ca\/lfs252group14\/wp-json\/wp\/v2\/media?parent=14"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}