Monday, February 8, 2016

Males are more likely to have a major life depression or panic disorders

1. Summary

1) what you found, making sure you discuss the results for the associations between all of your explanatory variables and your response variable. Make sure to include statistical results (odds ratios, p-values, and 95% confidence intervals for the odds ratios) in your summary.

After adjusting for potential confounding factors (Nicotine dependency, social phobia), the odds of being a male were more than two times higher for participants with major depression than for participants without major depression (OR=1.69, 95% CI = 1.31-2.20, p<.0001).
Panic was also significantly associated with being male, such that participants with panic problems were significantly more likely to be males (OR= 1.51, 95% CI=1.1-2.09, p=.011).
Luckily the Model

2) Report whether or not your results supported your hypothesis for the association between your primary explanatory variable and your response variable. 

My primary hypothesis that Males are more likely to have major life depressions is supported by the model
3) Discuss whether or not there was evidence of confounding for the association between your primary explanatory and the response variable (Hint: adding additional explanatory variables to your model one at a time will make it easier to identify which of the variables are confounding variables).

There was no evidence of confounders

2. the output from your logistic regression model.


                           Logit Regression Results                           
==============================================================================
Dep. Variable:                   SEXO   No. Observations:                 1320
Model:                          Logit   Df Residuals:                     1317
Method:                           MLE   Df Model:                            2
Date:                Mon, 08 Feb 2016   Pseudo R-squ.:                 0.01697
Time:                        09:49:06   Log-Likelihood:                -899.14
converged:                       True   LL-Null:                       -914.66
                                        LLR p-value:                 1.817e-07
================================================================================
                   coef    std err          z      P>|z|      [95.0% Conf. Int.]
--------------------------------------------------------------------------------
Intercept       -0.1599      0.066     -2.413      0.016        -0.290    -0.030
PANIC            0.4152      0.164      2.529      0.011         0.093     0.737
MAJORDEPLIFE     0.5272      0.132      3.980      0.000         0.268     0.787
================================================================================
Odds Ratios
              Lower CI  Upper CI   OR
Intercept         0.75      0.97 0.85
PANIC             1.10      2.09 1.51
MAJORDEPLIFE      1.31      2.20 1.69


No comments: