Milestone Assignment 3: Preliminary Results
Descriptive Statistics:
The first test used was ANOVA.
In the table below you can see one example of the descriptive statistics for the response variable- Ethnic group and Drug abuse behavior like categorical predictors. The one question is now( and variable ): Your drug use is a problem for you?
The average ethnic groups were between groups 3.5, or 4-6 that are Mexican National, Puerto Rican and South American(sd= between 0.00, 2.94, 0.00, 1.73 and 3.21- from the first to the fifth group ), and for the mean of groups ( from 5, 3.6, 5, 4.9 into 3.4 ) where the ethnic groups are:
(1) Central American
(2) Cuban
(3) Dominican
(4) Mexican National
(5) Puerto Rican
(6) South American
(7) Other (specify)
(8) Mexican American
and drug using is coded like this:
(1) Disagree Strongly (2)Disagree (3)Uncertain (4)Agree (5)Agree Strongly.
The groups of drug using: 2 ( Disagree ) and 5 ( Agree Strongly ) are in the middle with the mean 3.6 and 3.4. And for the groups 1, 3, 4 is the mean approximately in a value of 5.00.
P-value is greater than 0.05 ( > 0.6342 ) which means that there is not any correlation with the race and drug abuse.
Another test which was conducted:
CHI SQUARE test of statistics. We know that this test is used either as a fit test ( determines if a sample data matches a population ) or we run a chi-square test of independence for comparing two variables in a contingency table to see if they are related. Used was the chi-square test of independence In a more general sense, it tests to see whether distributions of categorical variables differ from each another.
Here was used another explanatory variable TCU001 Use more drugs than intended or for longer amount of time. And we must perform post hoc test known as the BONFERRONI Adjustment.
According to the table above the outcome was that the probability or the p- value is greater than the value 0,05 in all events.
( Chi-Square= 0.4632, Likelihood Ratio Chi-Square= 0.2865, Mantel-Haenszel Chi-Square= 0.3963 ) which means that again there is not any correlation between the ethnic groups and using drugs. If it is really true, we will find the answer on this question in the later examples and analysis. And the image above is not a full picture and one right answer.
Bivariate Analyses:
First I used ANOVA/DUNCAN analysis.
Scatter plots and bar charts revealed that the association between the ethnic group response variable and too for categorical predictors like using drugs are not in coherence. Although most of the answers were yes- positive.
Ethnic groups were not associated ( F Value =0.72 , p>0.4002 ), and for the questions the answers were like this:
Received residential treatment in prison:
1- yes ( 68% )
0- no ( 32%),
Received residential treatment after release from prison:
0- no ( 50%)
1- yes (14%)
2- Still in Prison (36%).
Your drug use is a problem for you:
1 (11%)Disagree Strongly
2 (10%)Disagree
3 (5%)Uncertain
4 (37%)Agree
5 (38%)Agree Strongly.
Use more drugs than intended or for longer amount of time:
1- yes (89%)
0- no (11%)
Unable to cut down:
1- yes (72%)
0- no (28%)
In the Scatter plot below is:
In this Explanatory variable ( Use more drugs than intended or for longer amount of time ) and in a response variable Ethnic groups is clear that only two categories- Puerto Rican and Other answered no and the same is true for yes (Puerto Rican and Other).
According to the answers above and in the scatter plot below we can see that 89% of the people had some problem in using drugs and association between the races are not obvious ( below is one example of the Scatter plot, though it is not fully completed ), we can partly see that 1- yes is for the group with the positive association and 0 for none. And 0- negative is too for only Puerto Rican and Other categories( points 5 and 7).
Again, Ethnic groups were not- significantly associated with the number of steps involved in the process (F Value =0.72, p= 0.4002 ) and the drugs using. For example the table TCU001 is for categorical: Use more drugs than intended or for longer amount of time still with the p-value> 0.4002 – no association.
Other bar graphs show us that in most cases there is not any association in using drugs:
RTPRRC Received residential treatment in prison or 1- yes (68% ) 0- no ( 32% )
RTARRC Received residential treatment after release from prison still 0- no ( 50%)
1- yes (14%)
2- Still in Prison (36%)
CESI001 Your drug use is a problem for you showed us again:
(1)Disagree Strongly (2)Disagree (3)Uncertain (4)Agree (5)Agree Strongly
with the most answers 4- Agree and 5- Agree Strongly that is 36 respectively 38%.
1 and 2 are for disagree strongly or disagree(11, 10%).
TCU002 is Unable to cut down 1- yes (72%) 0- no (28%).
Although the most answers were positive: for example drug use is a problem or Unable to cut down, still p- value is unbelievably high.
There is again no association between the race and using drugs( p-value= 0.4002 ).
Another test, PROC GLM- general linear model that I used is for a basic linear regression. I was adding all of the categorical explanatory variables.
( RTPRRC Received residential treatment in prison
RTARRC Received residential treatment after release from prison
CESI001 Your drug use is a problem for you
TCU001 Use more drugs than intended or for longer amount of time
TCU002 Unable to cut down )
As you can see below:
only explanatory variable Received residential treatment after release from prison is in the correlation with the categorical response variable( R-Square=0.199, The F statistic is 11.87 and the P- value is very small ( p- value = 0.0011 ). Considerably less than our alpha level of .05 which tells us that we can reject the null hypothesis and conclude that only this one Received residential treatment after release from prison is significantly associated with Ethnic groups.
Other p-values for the other explanatory variables were not associated ( p- value is always greater than the alpha level 0.05 ).
In The GLM Procedure Means are 5.05 for no, negative association and mean 4.52 is for yes, positive association. StDev in the first case is 1.43 and second 2.22. Min values are equal for both of the variables- O and Max value is 7.00 too for both ones.
Once again there is no association for any of the races and for the most of the variables.
In the last scatter plot is graphically explained that the ethnic groups are significantly similar in both cases- both have the same values, negative or positive ( only groups 5 and 7 ) Puerto Rican and Other.
Where a negative correlation is visible from the left point- values 5, nearly 6 ( South American did not touch ) and the skewness is to the lower right near the point 4 ( Mexican National, again did not touch ). One positive value is too at the bottom on the right, which is in this case Spending lots of time getting, using, recovering from drug use plus the groups 5 and 7- Puerto Rican and Other.










