Tumgik
onlinename18-blog · 4 years
Text
My study was on the those diagnosed with agoraphobia compared with those with out and to see if one sought treatment for alcohol.  There were 1800 people with agoraphobia and out of those 194 sought help with drinking. While there were 32917 respondents and 1406 sought help with drinking.
0 notes
onlinename18-blog · 4 years
Text
LIBNAME mydata "/courses/d1406ae5ba27fe300 " access=readonly; DATA new; set mydata.nesarc_pds; LABEL PANLIFE="Panic Disorder w Agora" S2CQ1="Ever Sought Help w/ Drinking" S2CQ2A1="Ever Went to AA or 12 Stop Prog" S2CQ2A3="Ever Went to Detox Clinic" S2CQ2A6="Ever Went to Rehab Program";
*\IF PANLIFE=1;
IF S2CQ1=9 THEN S2CQ1=2; IF S2CQ2A1=9 THEN S2CQ2A1=2; IF S2CQ2A3=9 THEN S2CQ2A3=2; IF S2CQ2A6=9 THEN S2CQ2A6=2;
PROC SORT; BY IDNUM;
PROC FREQ; TABLES ETHRACE2A*S2CQ1/chisq; PROC GCHART; VBAR ETHRACE2A/discrete TYPE=Mean SUMVAR=PANLIFE; RUN;
0 notes
onlinename18-blog · 4 years
Text
LIBNAME mydata "/courses/d1406ae5ba27fe300 " access=readonly; DATA new; set mydata.nesarc_pds; LABEL PANLIFE="Panic Disorder w Agora" S2CQ1="Ever Sought Help w/ Drinking" S2CQ2A1="Ever Went to AA or 12 Stop Prog" S2CQ2A3="Ever Went to Detox Clinic" S2CQ2A6="Ever Went to Rehab Program";
IF PANLIFE=1;
IF S2CQ1=9 THEN S2CQ1=2; IF S2CQ2A1=9 THEN S2CQ2A1=2; IF S2CQ2A3=9 THEN S2CQ2A3=2; IF S2CQ2A6=9 THEN S2CQ2A6=2;
PROC SORT; BY IDNUM;
PROC CORR; VAR S1Q7D S1Q10B; RUN;
Here we see the results of the Pearson Coorelation for Variables S1Q7D and S1Q10B. RSquared values of 0.29 and p values of <.0001 say the variables are statistically significant with (0.29 x 0.29 = 0.084) 8.4% of the relationship being able to be explained by the variable.  
0 notes
onlinename18-blog · 4 years
Text
LIBNAME mydata "/courses/d1406ae5ba27fe300 " access=readonly; DATA new; set mydata.nesarc_pds; LABEL PANLIFE="Panic Disorder w Agora" S2CQ1="Ever Sought Help w/ Drinking" S2CQ2A1="Ever Went to AA or 12 Stop Prog" S2CQ2A3="Ever Went to Detox Clinic" S2CQ2A6="Ever Went to Rehab Program";
IF PANLIFE=1;
IF S2CQ1=9 THEN S2CQ1=2; IF S2CQ2A1=9 THEN S2CQ2A1=2; IF S2CQ2A3=9 THEN S2CQ2A3=2; IF S2CQ2A6=9 THEN S2CQ2A6=2;
PROC SORT; BY IDNUM;
PROC FREQ; TABLES ETHRACE2A/chisq; RUN;
I have ran the Chi Squared test in my code above due to my variables both being categorical.  Whites were almost 66% of the Agoraphobic population Followed by blacks and hispanics with each group having about 15%.  Asians and American Indians showed the least agoraphobia with only 2% each.  The Chi squared results were an impressive 2485 which I have no idea how to interpret.  And Im pretty sure there was something significant about the p value being less than .05 which it was and came in at .0001.
0 notes
onlinename18-blog · 4 years
Text
LIBNAME mydata "/courses/d1406ae5ba27fe300 " access=readonly; DATA new; set mydata.nesarc_pds; LABEL PANLIFE="Panic Disorder w Agora" S2CQ1="Ever Sought Help w/ Drinking" S2CQ2A1="Ever Went to AA or 12 Stop Prog" S2CQ2A3="Ever Went to Detox Clinic" S2CQ2A6="Ever Went to Rehab Program";
IF PANLIFE=1;
IF S2CQ1=9 THEN S2CQ1=2; IF S2CQ2A1=9 THEN S2CQ2A1=2; IF S2CQ2A3=9 THEN S2CQ2A3=2; IF S2CQ2A6=9 THEN S2CQ2A6=2;
PROC SORT; BY IDNUM;
PROC FREQ; TABLES ETHRACE2A/chisq; RUN;
I have ran the Chi Squared test in my code above due to my variables both being categorical.  Whites were almost 66% of the Agoraphobic population Followed by blacks and hispanics with each group having about 15%.  Asians and American Indians showed the least agoraphobia with only 2% each.  The Chi squared results were an impressive 2485 which I have no idea how to interpret.  And Im pretty sure there was something significant about the p value being less than .05 which it was and came in at .0001.
0 notes
onlinename18-blog · 4 years
Text
LIBNAME mydata "/courses/d1406ae5ba27fe300 " access=readonly; DATA new; set mydata.nesarc_pds; LABEL PANLIFE="Panic Disorder w Agora" S2CQ1="Ever Sought Help w/ Drinking" S2CQ2A1="Ever Went to AA or 12 Stop Prog" S2CQ2A3="Ever Went to Detox Clinic" S2CQ2A6="Ever Went to Rehab Program";
IF PANLIFE=1
IF S2CQ1=9 THEN S2CQ1=2; IF S2CQ2A1=9 THEN S2CQ2A1=2; IF S2CQ2A3=9 THEN S2CQ2A3=2; IF S2CQ2A6=9 THEN S2CQ2A6=2;
PROC SORT; BY IDNUM; /*PROC PRINT; VAR PANLIFE S2CQ1 S2CQ2A1 S2CQ2A3 S2CQ2A6;*/ /*PROC FREQ; TABLES PANLIFE S2CQ1 S2CQ2A1 S2CQ2A3 S2CQ2A6;*/ PROC GCHART; VBAR S2CQ1/discrete TYPE=Mean SUMVAR=PANLIFE; RUN;
Tumblr media
0 notes
onlinename18-blog · 4 years
Text
LIBNAME mydata "/courses/d1406ae5ba27fe300 " access=readonly; DATA new; set mydata.nesarc_pds; LABEL PANLIFE="Panic Disorder w Agora" S2CQ1="Ever Sought Help w/ Drinking" S2CQ2A1="Ever Went to AA or 12 Stop Prog" S2CQ2A3="Ever Went to Detox Clinic" S2CQ2A6="Ever Went to Rehab Program"; IF S2CQ1=9 THEN S2CQ1=2; IF S2CQ2A1=9 THEN S2CQ2A1=2; IF S2CQ2A3=9 THEN S2CQ2A3=2; IF S2CQ2A6=9 THEN S2CQ2A6=2;
PROC SORT; BY IDNUM; /*PROC PRINT; VAR PANLIFE S2CQ1 S2CQ2A1 S2CQ2A3 S2CQ2A6;*/ PROC FREQ; TABLES PANLIFE S2CQ1 S2CQ2A1 S2CQ2A3 S2CQ2A6; RUN;
Tumblr media
Here I have the frequency tables for all 1910 participants that answered yes to ever seeking help for drinking.  Each variable was cleaned up by taking people who didnt know if they sought help to being included with people who answered no. For ‘S2CQ1′ the 8266 missing participants are the are those who were lifetime abstainers from alcohol.  For the following 3 questions, the 41183 missing participants are the remaining participants who didnt know, or have never sought help with drinking, or were lifetime abstainers.
0 notes
onlinename18-blog · 4 years
Text
LIBNAME mydata "/courses/d1406ae5ba27fe300 " access=readonly; DATA new; set mydata.nesarc_pds; LABEL PANLIFE="Panic Disorder w Agora" S2CQ1="Ever Sought Help w/ Drinking" S2CQ2A1="Ever Went to AA or 12 Stop Prog" S2CQ2A3="Ever Went to Detox Clinic" S2CQ2A6="Ever Went to Rehab Program"; IF PANLIFE=1; PROC SORT; BY IDNUM; PROC FREQ; TABLES PANLIFE S2CQ1 S2CQ2A1 S2CQ2A3 S2CQ2A6; RUN;
Tumblr media
Out of the 1800 Panic disorder patients, 194 (10.78%) sought help for drinking and all used one or more of the options above.  Over 80% chose AA making it the most popular choice among the three.  Rehab was next with 54% of patients attempting this form of treatment at least once and last was the detox clinic with 43%.  For each question, this was how the 194 people answered who sought help
0 notes
onlinename18-blog · 4 years
Photo
Tumblr media
1 note · View note