Question

In: Math

SAS code please. Two cholesterol-lowing medications (statins) and a placebo were given to each of 10...

SAS code please.

Two cholesterol-lowing medications (statins) and a placebo were given to each of 10 volunteers with total cholesterol; readings of 240 or higher. After 6 weeks, the flowing total cholesterol values were recorded:

Stain A: 220 190 180 185 210 170 178 200 177 189

Stain B: 160 168 178 200 172 155 159 167 185 199

Placebo: 240 220 246 244 198 238 277 255 190 188

(a) Run a one-way ANOVA followed by a Duncan’s multiple range test.

(b) Create a contrast to compare Placebo against the mean of Stain A and Stain B.

Solutions

Expert Solution

The ANOVA Procedure
Tukey's Studentized Range (HSD) Test for cholvalues

Note:This test controls the Type I experimentwise error rate.

Alpha 0.05
Error Degrees of Freedom 27
Error Mean Square 462.3481
Critical Value of Studentized Range 3.50633
Minimum Significant Difference 23.842
Comparisons significant at the 0.05 level are indicated by ***.
treat Difference Simultaneous 95% Confidence Limits
Comparison Between
Means
placebo - A 39.7 15.858 63.542 ***
placebo - B 55.3 31.458 79.142 ***
A - placebo -39.7 -63.542 -15.858 ***
A - B 15.6 -8.242 39.442
B - placebo -55.3 -79.142 -31.458 ***
B - A -15.6 -39.442 8.242

from tukey paiwise comparsions

A - placebo
B - placebo

are different


Related Solutions

Need SAS code for inferred two population variance testing 2 brand of tires. N= 10 each...
Need SAS code for inferred two population variance testing 2 brand of tires. N= 10 each and alpha= 0.1 data is below Using hand calculation, there is significant evidence that there is a significant difference between the 2 variance. I need a SAS code to: reproduce the test statistics and what is the p-value for inferring 2 variances. brand I Brand II 1 38.99 2 44.6 1 39.7 2 46.9 1 42.3 2 48.7 1 39.5 2 41.5 1 39.6...
Using SAS is preferred but not required. Please provide SAS code and the relevant output if...
Using SAS is preferred but not required. Please provide SAS code and the relevant output if SAS is used. •             Link to referenced FEV.CSV: https://drive.google.com/open?id=1t1CRIbnTE7xL_OE9Bmajb564RXcg8nDo For all hypothesis testing problems: •             state the null and alternative hypotheses, •             calculate the value of the test statistic, •             determine if the results are statistically significant (using rejection region or p-value approaches), •             then state your conclusion in terms of the problem. 1.            FEV (forced expiratory volume) is an index of pulmonary function...
Problem 6: Researchers are testing two new cholesterol medications. Medication is given to some males and...
Problem 6: Researchers are testing two new cholesterol medications. Medication is given to some males and females and a placebo is given to others. The tablesbelow summarize the resulting HDL cholesterol levels after 8 weeks. Problem 6a: Is there evidence of effect modification with medication A? Provide a brief (1-2 sentences) explanation. Medication A Women N Mean HDL Std Dev of HDL New drug 40 35.47 2.45 Placebo 41 38.42 3.42 Men N Mean HDL Std Dev of HDL New...
I need the code in SAS and R and outputs please 2. The data below come...
I need the code in SAS and R and outputs please 2. The data below come from a study investigating a method of measuring body composition, and give the body fat percentage (% fat), age and sex for 18 adults aged between 23 and 61 years. Source: Mazess, R.B., Peppler, W.W., and Gibbons, M. (1984) Total body composition by dual-photon (153GD) absorptiometry. American Journal of Clinical Nutrition, 40, 834-839. age % fat sex 23 9.5 male 23 27.9 female 27...
In SAS code please. Tennis balls are tested in a machine to show how many bounces...
In SAS code please. Tennis balls are tested in a machine to show how many bounces they can withstand before they fail to bounce 30% of their dropping height. Two brands of balls (W and P) are compared. In addition, the effect of shelf life on these brands is tested. Half of the balls of each brand are 6 months old, the other half, fresh. Using a two-way analysis of variance, what conclusions can you reach? The data are shown...
Two groups, A and B, of arthritis sufferers are given a placebo and a prescription drug...
Two groups, A and B, of arthritis sufferers are given a placebo and a prescription drug respectively for a period of one month. Then, the time in seconds taken to walk 10 yards is measured. The measured times in the two groups are A[1], ... ,A[m] and B[1] , ... , B[n] . It is required to test the hypothesis H[0] : mu=nu  where mu and nu denote respectively the mean walking times in the (hypothetical) populations of sufferers treated with...
Write code in SAS to do each of the following I have posted the data below...
Write code in SAS to do each of the following I have posted the data below from a pace delimited data set consisting of 66 randomly selected cars Upload the data set to SAS and store it as a SAS data set called cars. Make sure the full values are stored for all character variables. Create a comparative bar chart (with appropriate title and labels) displaying the brands of each car by fuel type (so that fuel type is on...
Please type SAS code for questions below Age < 65 N = Age ≥ 65 N...
Please type SAS code for questions below Age < 65 N = Age ≥ 65 N = Total N = Sex      Male      Female Region      Northeast      Midwest      South      West Race      White      Black      Asian      All other race groups
16. Cholesterol levels were measured before and after patients were given a drug designed to lower...
16. Cholesterol levels were measured before and after patients were given a drug designed to lower their cholesterol. Test to see if cholesterol dropped with α = 0.01. Patient 1 2 3 4 5 6 7 8 9 10 11 12 13 Before 238 240 220 246 202 222 210 233 204 229 244 220 219 After 235 241 219 235 198 208 202 211 188 201 235 211 207 a) Determine the null and alternative hypotheses for this scenario....
Please write SAS code 1) How to find age<65*Female? 2) How to assign region for the...
Please write SAS code 1) How to find age<65*Female? 2) How to assign region for the below description? Age < 65 Age ≥ 65 Total N Sex      Male      Female Region      Northeast      Midwest      South      West Race      White      Black      Asian      All other race groups Table 1: RACERPI2: 01 – White Only (New Category: White) 02 – Black/African American Only (New Category: Black) 03 – AI/AN Only (New Category: All Other Race Groups) 04 – Asian Only (New Category: Asian) 05 – Race...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT