In: Statistics and Probability
In what follows use any of the following tests: Regression, multiple regression, one- sided t-test or two-sided t-test. All conclusions should be based on 5% P-value threshold.
Choose the best fitting answer.
Open Brains data.
13. Task A: Perform two-sided t-test comparing the birth order and sex columns. What is the P-value?
14. Task B: Perform regression where X-axis is the birth order and Y-axis is the sex (gender). What is the P-value related to the slope?
15. Do these tests make sense?
DATA: https://www.limes.one/Content/DataFiles/Brains.txt
13.
| birth order | sex | |
| Mean | 1.5 | 1.5 |
| Variance | 0.263158 | 0.263158 |
| Observations | 20 | 20 |
| Pearson Correlation | 0 | |
| Hypothesized Mean Difference | 0 | |
| df | 19 | |
| t Stat | 0 | |
| P(T<=t) one-tail | 0.5 | |
| t Critical one-tail | 1.729133 | |
| P(T<=t) two-tail | 1 | |
| t Critical two-tail | 2.093024 |
p value = 1 (two sided test)
14.
| SUMMARY OUTPUT | ||||||||
| Regression Statistics | ||||||||
| Multiple R | 0 | |||||||
| R Square | 0 | |||||||
| Adjusted R Square | -0.055555556 | |||||||
| Standard Error | 0.527046277 | |||||||
| Observations | 20 | |||||||
| ANOVA | ||||||||
| df | SS | MS | F | Significance F | ||||
| Regression | 1 | 0 | 0 | 0 | 1 | |||
| Residual | 18 | 5 | 0.277777778 | |||||
| Total | 19 | 5 | ||||||
| Coefficients | Standard Error | t Stat | P-value | Lower 95% | Upper 95% | Lower 95.0% | Upper 95.0% | |
| Intercept | 1.5 | 0.372677996 | 4.024922359 | 0.000794488 | 0.717032585 | 2.282967415 | 0.717032585 | 2.282967415 |
| birth order | -2.48253E-17 | 0.23570226 | -1.05325E-16 | 1 | -0.495192073 | 0.495192073 | -0.495192073 | 0.495192073 |
p value of slope = 1
15.
Neither of the two tests make sense.