Question

In: Math

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 below:

Brand W (New): 67 72 74 82 81

Brand P (New): 75 76 80 72 73

Brand W (Old): 46 44 45 51 43

Brand P (Old): 63 62 66 62 60

Solutions

Expert Solution

DATA df;

   INPUT Age $ count ;

DATALINES;

New 67

New 72

New 74

New 82

New 81

old 46

old 44

old 45

old 51

old 43

New 75

New 76

New 80

New 72

New 73

old 63

old 62

old 66

old 62

old 60

;

DATA df;

   DO brand = 'w','p';

      DO age = 'n','o';

         DO cell = 1 TO 5;

            INPUT count @;

            OUTPUT;

         END;

      END;

   END;

DATALINES;

67 72 74 82 81 46 44 45 51 43 75 76 80 72 73 63 62 66 62 60

;

PROC ANOVA DATA=lab62;

  

   CLASS brand age;

   MODEL count = brand |age;

      MEANS brand | age ;

RUN;

if p-value < alpha, we reject the null hypothesis

if p-value > alpha, we fail to reject the null hypothesis

here p-value is less than alpha for all three factors, hence they all are significant


Related Solutions

1.How many ways can you select 1 tennis racket, 1 can of tennis balls, and 1...
1.How many ways can you select 1 tennis racket, 1 can of tennis balls, and 1 pair of tennis shoes from 4 tennis rackets, 5 cans of tennis balls, and 3 pairs of tennis shoes? 2. There are 26 letters and 10 digits. How many different ID tags consisting of 3 letters followed by 3 digits can be made if the first letter must be an L or a U and repetition is allowed in both the letters and the...
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...
Luke Athletics Inc has purchased a $200,000 machine to produce tennis balls. The machine will be...
Luke Athletics Inc has purchased a $200,000 machine to produce tennis balls. The machine will be fully depreciated by the straight-line method for its economic life of five years and will be worthless after its life. The firm expects that the sales price of the toy is $25 while its variable cost is $5. The firm should also pay $350,000 as fixed costs each year. The corporate tax rate for the company is 25 percent, and the appropriate discount rate...
A machine is programmed to produce tennis balls so that the mean bounce is 36cm when...
A machine is programmed to produce tennis balls so that the mean bounce is 36cm when the ball is dropped from a platform. An experiment is conducted using 35 tennis balls. The 5% level of significance is to be used to test the hypothesis. The sample mean was computed to be 35.5 cm and the standard deviation of the sample is 0.9 cm. Is there evidence that the sample mean is less than 36 cm?
I would need both SAS & R code, the output and .txt file/s, please. Because many...
I would need both SAS & R code, the output and .txt file/s, please. Because many HMOs either do not cover mental health costs or provide only minimal coverage, min- isters and priests often need to provide counseling to persons suffering from mental illness. An in- terdenominational organization wanted to determine whether the clerics from different religions have different levels of awareness with respect to the causes of mental illness. Fifteen clerics from different Christian denominations were sampled. Each was...
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...
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...
This C++ CODE has many functions that needs to be tested piece by piece For example,...
This C++ CODE has many functions that needs to be tested piece by piece For example, you going to display each function with [ ] and a , separating each piece of data, like so: [1,2,3,4]? results must be copied and pasted as commnets at the bottom of this file this is the code: #include <iostream> #include <string> #include <cstddef> //for NULL using namespace std; class List {    private:        struct Node        {           ...
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
Use SAS. Please include the code and the answers. 1. Generate 625 samples of size 961...
Use SAS. Please include the code and the answers. 1. Generate 625 samples of size 961 random numbers from U(1, 9). For each of these 625 samples calculate the mean: a) Find the simulated probability that the mean is between 5 and 5.2. b) Find the mean of the means. c) Find the standard deviation of the means. d) Draw the histogram of the means.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT