Question

In: Statistics and Probability

data Therapy Medication Score Cog Zoloft 54 Cog Zoloft 42 Cog Zoloft 50 Cog Zoloft 47...

data

Therapy Medication Score
Cog Zoloft 54
Cog Zoloft 42
Cog Zoloft 50
Cog Zoloft 47
Cog Zoloft 48
Cog Zoloft 44
Cog Prozac 70
Cog Prozac 68
Cog Prozac 66
Cog Prozac 61
Cog Prozac 61
Cog Prozac 40
Cog Lexapro 54
Cog Lexapro 52
Cog Lexapro 55
Cog Lexapro 54
Cog Lexapro 58
Cog Lexapro 54
Assert Zoloft 30
Assert Zoloft 35
Assert Zoloft 34
Assert Zoloft 35
Assert Zoloft 36
Assert Zoloft 38
Assert Prozac 50
Assert Prozac 54
Assert Prozac 55
Assert Prozac 54
Assert Prozac 55
Assert Prozac 58
Assert Lexapro 68
Assert Lexapro 70
Assert Lexapro 62
Assert Lexapro 62
Assert Lexapro 54
Assert Lexapro 56

USE R to do it will soon, and if you use r, could you give me a code

Suppose that a clinical psychologist is interested in comparing the relative effectiveness of two forms of psychotherapy (cognitive-behavioral and assertiveness training) in combination with three different medications (Zoloft, Prozac, and Lexapro) for alleviating depression. Thirty-six individuals are randomly sampled and randomly assigned a combination of treatment. The Depression Scale of MMPI serves as the response (score). The goal is to lower the score.

(a) Write out the initial hypotheses to be tested in words.


(b) Write out the appropriate statistical model and explain all terms. (Let i be associated with therapy)


(c) Construct an interaction plot where medication is the “trace factor”. Based on the plot, does there appear to be evidence of an interaction? Hint: Since there are 3 different medications, you’ll have to modify the following arguments for the code in R for the interaction plot to ensure that all 3 types of medication the are plotted. Note that you can use any number in the pch argument and any colors in the col argument. You will need to save this as a PDF, Word doc, or png.

The code here is for two levels: pch=c(1,2), col = c("red", "blue")

What can you do for three levels?

(d) Calculate the degrees of freedom for each term including the residual. Make sure to show work on how you calculated the degrees of freedom. Source Degrees of Freedom

Note: The sample size is 36

(e) Obtain the ANOVA table in R and confirm the degrees of freedom you reported in part (d). Should the main effects or simple effects be analyzed?



(f) Based on your answer above, report the appropriate results. If the main effects are appropriate, specify the estimated difference in average score for the therapies and/or medications along with the corresponding 95% confidence intervals for those which are statistically different. If the simple effects are appropriate, provide the estimated difference in average scores at a given type therapy along with the corresponding 95% confidence intervals for those which are statistically different.


(g) If a psychiatrist is currently using assertiveness training with a patient and currently has access to Prozac, should they switch their patient to using Prozac instead of Lexapro? Justify your answer


Solutions

Expert Solution


Related Solutions

Group A: 60, 57, 53, 42, 44, 48, 54, 39, 52, 45 Group B: 50, 49,...
Group A: 60, 57, 53, 42, 44, 48, 54, 39, 52, 45 Group B: 50, 49, 60, 55, 43, 56, 53, 69, 49, 52 Using Wilcoxen Rank Sum test to test a difference in the medians of the two populations using Alpha= 0.05
0, 3, 11, 24, 36, 47, 42, 53, 56, 59, 52, 58, 50, 64, 63, 61,...
0, 3, 11, 24, 36, 47, 42, 53, 56, 59, 52, 58, 50, 64, 63, 61, 65, 78, 89, 91 A. Calculate the mean, median, and mode. B. Which measure, mean or median, best describes the central tendency of this data? Why?
Given the following grouped frequency distribution Data Frequency 50 - 54 12 55 - 59 23...
Given the following grouped frequency distribution Data Frequency 50 - 54 12 55 - 59 23 60 - 64 11 65 - 69 8 70 - 74 5 75 - 79 7 80 - 84 3 85 - 89 1 90 - 94 1 Find the mean (give you answer to one decimal) = Find the standard deviation (give your answer to two decimals) = What is the shape of this distribution? Your answer will be hand graded.
In studies for a medication, 42% percent of patients gained weight as a side effect. Suppose...
In studies for a medication, 42% percent of patients gained weight as a side effect. Suppose 50 patients are randomly selected. Can we use the normal approximation to the binomial to approximate the probability that exactly 22 patients will gain weight as a side effect. If no, explain why. If yes, what mean and standard deviation do we use and what probability do we calculate? (dont actually calculate). Answer yes or no and follow up as requested?
Given are five observations for two variables,  and . 3 6 12 17 20 59 54 47...
Given are five observations for two variables,  and . 3 6 12 17 20 59 54 47 14 16 The estimated regression equation for these data is y = 70.84 - 2.83x a. Compute SST, SSE , and SSR. (to 2 decimals) (to 2 decimals) (to 2 decimals) b. Compute the coefficient of determination r^2. Comment on the goodness of fit. (to 3 decimals) The least squares line provided an - Select your answer -goodbadItem 5 fit;   of the variability in  has been...
in a random sample of 54 patients undergoing a standard surgical procedure,10 required pain medication. in...
in a random sample of 54 patients undergoing a standard surgical procedure,10 required pain medication. in a random sample of 80 patients undergoing a new procedure, 19 required pain medication. test the claim that few pain medication for the new procedure as compared to the standarfd procedure at the 5% significance level.
Antitubercular Therapy: What medications are the first line treatment? What is the time frame for medication...
Antitubercular Therapy: What medications are the first line treatment? What is the time frame for medication therapy with an active case of TB? What does this have to do with direct observation therapy and adherence?
For Q. no. 47-50 please select “A” for True and select “B” for False              ...
For Q. no. 47-50 please select “A” for True and select “B” for False               In long run equilibrium, a monopolistic competitive firm will most likely produce a level of output for which price equals average total cost.               One of the necessary conditions for a contestable market is that new firms entering the market have a cost advantage over the existing firms.                       The prisoner's dilemma can be used to help analyze such diverse topics...
Using basic Python 2. Given the following dictionary: speed ={'jan':47, 'feb':52, 'march':47, 'April':44, 'May':52, 'June':53, 'july':54,...
Using basic Python 2. Given the following dictionary: speed ={'jan':47, 'feb':52, 'march':47, 'April':44, 'May':52, 'June':53, 'july':54, 'Aug':44, 'Sept':54} Get all values from the dictionary and add it to a new list called speedList, but don’t add duplicates values to the new list. Your code should print out: speedList [47, 52, 44, 53, 54] 3. Given the following list of numbers: numberList = [10, 20, 33, 46, 55, 61, 70, 88, 95] First iterate the list and print only those numbers,...
Using the data set below: Score Frequency 20-30 5 30-40 8 40-50 13 50-60 12 60-70...
Using the data set below: Score Frequency 20-30 5 30-40 8 40-50 13 50-60 12 60-70 5 Draw a Histogram Draw a polygon After listening to YouTube “histogram and polygon,” explain how histogram is different and similar to polygon.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT