Question

In: Statistics and Probability

to determine whether the method of using herion has changed in Years you use data collected...

to determine whether the method of using herion has changed in Years you use data collected in1980 and again in 2015 as part of an annual survey of arrested drug users. in 1980 you find that 73% of heroin users injected the drug, 12% smoked it, and 15% snorted it. the data from 2015 which were collected from a sample of 500 heorin users, are below. assume you want to test whether the null hypothesis that there has been no change in the distribution of responses in 1980 to 2015 at alpha=0.5

2015 data: injection 330

smoke:80

snort:90

total:500

Solutions

Expert Solution

Solution

The solution is based on Chi-square Test for Goodness of Fit.

Let Oi be the 2015 dat and Ei be the 1980 data

Claim: There has been no change in the distribution of responses in 1980 to 2015

Hypotheses:

Null: H0: 2015 data are in accordance with the 1980 percentages

Vs

Alternative HA: H0 is false

Test Statistic:

χ2 = ∑[i = 1,k]{(Oi - Ei)2/Ei} = 13.0229

Under H0, Ei follow the percentages of 1980

With the above terminology, χ2cal =    [Details of calculations follow at the end]

Distribution, Significance Level, α, Critical Value, p-value

Under H0, χ2 ~ χ2k – s, Chi-square distribution with degrees of freedom = k – s,where k = number of classes

and s = number of parameters estimated.

Here, k = 3 and s = 0 since the 1980 percentages are given and hence there is no need for estimation.

p-value = P(χ2k – s > χ2 cal)

Given significance level = α , critical value = χ2crit = upper α% of χ2k - s, α = 7.8147

p-value = 0.0046

Critical value and p-value are obtained using Excel Function: Statistical CHIINV and CHIDIST

Decision

Since, χ2cal > χ2crit, or equivalently, since p-value < α, H0 is rejected.

Conclusion

There is not sufficient statistical evidence to conclude that the claim is valid and hence

we conclude that here has been change in the method of using heroin from 1980 to 2015. ANSWER

Calculation Details

Heroin usage method

Injection

Smoke

Snort

Total

Oi - 2015 data

330

80

90

500

pi = 1980 % in decimal form

0.73

0.12

0.15

1

Ei = 500 x pi

365

60

75

500

χ2

3.3561644

6.6666667

3

13.0229

CHECK: ΣOi = ΣEi.

Done

K =

3

S =

0

α =

0.05

χ2cal =

13.0229

DF =

3

χ2crit =

7.8147

p-value =

0.0046

DONE


Related Solutions

Using the descriptions of data collected, indicate whether it is subjective or objective data: Group of...
Using the descriptions of data collected, indicate whether it is subjective or objective data: Group of answer choices Study participant reporting pain level using a pain scale Study coordinators calculating a participants BMI using their recorded weight and height Study coordinators reviewing patients’ charts to identify the number of medications they are taking Study participants discussing their challenges completing an exercise program in a focus group
Using a series of data collected quarterly (20 years), XYZ University has modelled the demand and...
Using a series of data collected quarterly (20 years), XYZ University has modelled the demand and supply function of their program offering as below: Qd = 16,000 - 4000P Qs = -9,000 + 6000P Note: P is fees (,000) per subject b. At the current equilibrium fees, the government believes that poor people deprive of a good education, and hence, enforce that the university should only charge the fees at RM 2,000 per subject. i. Based on the above scenario,...
I have collected about 200 samples worth of data to determine whether students that are not...
I have collected about 200 samples worth of data to determine whether students that are not full time, full time being defined as anyone with 12 or more units, have a higher GPA than students who are full time. For this case our variances are not equal to each other and our samples are independent of each other. How would you set up the hypothesis test for this case? I originally have it set up like this but not sure...
Use the Gauss–Jordan method to determine whether each of the following linear systems has no solution,...
Use the Gauss–Jordan method to determine whether each of the following linear systems has no solution, a unique solution, or an infinite number of solutions. Indicate the solutions (if any exist). i.     x1+ x2 +x4 = 3              x2 + x3 = 4        x1 + 2x2 + x3 + x4 = 8 ii.    x1 + 2x2 + x3 = 4        x1 + 2x2 = 6 iii.   x1 + x2 =1      2x1 + x2=3      3x1 + 2x=...
To try to determine whether the composition of the earth’s atmosphere has changed over time, scientists...
To try to determine whether the composition of the earth’s atmosphere has changed over time, scientists can examine the gas in bubbles trapped inside ancient amber.  (That’s the plot of Jurassic Park.) Assume that the following 9 measures are a random sample from the late Cretaceous era (75 to 95 million years ago). The data represent the percent of nitrogen in each sample. 63.4     65.0     64.4     63.3     54.8     64.5     60.8     49.1     51.0 You asked to conduct a hypothesis test to determine whether the mean is less than 61. 1....
Do you think how unions have changed over the years and whether it is simply a...
Do you think how unions have changed over the years and whether it is simply a matter of time before all states are "right-to-work" states? or whether unions will grow in stature and strength in the years to come?
Determine the current state of the unified transfer tax. How has it changed in recent years?
Determine the current state of the unified transfer tax. How has it changed in recent years?
You have collected the following data for your company, in an attempt to determine a way...
You have collected the following data for your company, in an attempt to determine a way to predict future Indirect Labor expenses. week Indirect Mfg. Labor Exp Machine hours DL hrs 3 of Production batches 1 2800 700 120 450 2 6700 1200 110 520 3 3200 300 340 500 4 1500 200 160 110 5 1500 400 740 220 6 3600 600 310 380 7 7800 1300 800 700 8 8400 1400 430 730 9 4300 1500 700 600...
Scenario 1 A group of researchers has recently collected data to investigate whether or not different...
Scenario 1 A group of researchers has recently collected data to investigate whether or not different kinds of performance feedback influences flow (a state of intense task absorption). In particular, they are interested in testing whether or not flow differs when participants are given feedback that is either positive or negative. The researchers have computed descriptive statistics, but are asking you to test the difference between groups. Positive Feedback: n = 30, M = 3.64, s = 0.40 Negative Feedback:...
A state legislator wants to determine whether his voters' performance rating (0 - 100) has changed...
A state legislator wants to determine whether his voters' performance rating (0 - 100) has changed from last year to this year. The following table shows the legislator's performance from the same ten randomly selected voters for last year and this year. Use this data to find the 90% confidence interval for the true difference between the population means. Assume that the populations of voters' performance ratings are normally distributed for both this year and last year. Rating (last year)...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT