Question

Suppose we have a dataset called MYDATA. There are two variables: COMPANY and SALARY. The variable...

Suppose we have a dataset called MYDATA. There are two variables: COMPANY and SALARY. The variable COMPANY consists of CO1, CO2, and CO3 and the variable SALARY includes the employees’ salaries from these three companies. Which code is most appropriate SAS code to run ANOVA?

PROC UNIVARIATE DATA = MYDATA;

VAR COMPANY SALARY;

PROC UNIVARIATE DATA = MYDATA;

VAR COMPANY;

PROC GLM DATA=MYDATA;

CLASS COMPANY;

MODEL SALARY = COMPANY;

PROC GLM DATA=MYDATA;

CLASS COMPANY;

MODEL COMPANY = SALARY;

Consider the following completely randomized experimental design with one independent variable, i.e., dietary intervention to reduce body weight (dependent variable). Twenty volunteers were randomly divided into four groups of five; each group was then randomly assigned to one of the following four treatments:

Treatment 1 - control

Treatment 2 - diet

Treatment 3 - physical activity

Treatment 4 - diet plus physical activity

The test statistic has the F distribution with how many degrees of freedom?

20 - 1 = 19

4 - 1 = 3 and 20 - 4 = 16

20 - 4 and 4 - 1 = 3

4 - 1 = 3

Question 3 1 pts

In ANOVA, does the p-value indicate which pair(s) of means are significantly different?

No, it doesn’t.

No, but yes when the p-value is smaller than the significance level.

Yes, it does.

Yes, but no when the p-value is greater than the significance level.

Question 4 1 pts

You are conducting ANOVA and obtained the F statistic of 3.56. The sample size is 10 with 4 treatment. What is the p-value for this test? Use this website to calculate.

http://onlinestatbook.com/2/calculators/F_dist.html (Links to an external site.)Links to an external site.

0.047

0.1163

0.1624

0.0869

Question 5 1 pts

Which R function can perform ANOVA?

ANOVA

aov

Anova

AOV

Question 6 1 pts

In ANOVA, what is the general interpretation of “rejecting the null hypothesis”?

All means are significantly different.

At least one pair of means is significantly different.

All means are same.

All of these are correct.

Question 7 1 pts

A study was conducted to determine if the mean performance score is higher among men than women. An appropriate test is _________.

one sample t-test

independent t-test

paired t-test

ANOVA

Question 8 1 pts

In ANOVA, can we have a different number of people assigned to each treatment group?

Yes, but only when the variabilities are same.

No

It depends on one study to another.

Yes

Question 9 1 pts

Examine the R code and output below.

CompA<-c(1, 3, 5, 3, 4, 3, 4, 5, 5, 2, 3, 3, 1, 3, 5)

CompB<-c(2, 3, 4, 4, 3, 3, 3, 1, 2, 4, 2, 3)

t.test(CompA, CompB, alternative="two.sided")

Welch Two Sample t-test

data: CompA and CompB

t = 1.1356, df = 24.613, p-value = 0.2671

alternative hypothesis: true difference in means is not equal to 0

95 percent confidence interval:

-0.407546 1.407546

sample estimates:

mean of x mean of y

3.333333 2.833333

What is the underlying research hypothesis?

The means from CompA and CompB are different.

The means from CompA and CompB are the same.

The means from CompA are higher than that of CompB.

The means from CompA are lower than that of CompB.

Question 10 1 pts

What does the acronym ANOVA stand for?

Analysis of variance and statistics

Analysis of variance

Analysis of variability

Analysis on variance

Homework Answers

Answer #1

1.

PROC GLM DATA=MYDATA;

CLASS COMPANY;

MODEL SALARY = COMPANY;

2. Moving on to an ANOVA with four groups. We know the answer if this is a one-way ANOVA (that is, a 4 x 1 design): df1 = k – 1 = 4 -1 = 3.

3. No, but yes when the p-value is smaller than the significance level.

4. p-value for this test 0.047

5. aov

6. All means are same.

7. ANOVA

8. In ANOVA, can we have a different number of people assigned to each treatment group? Yes, but only when the variabilities are same as In one-way ANOVA is that very unequal sample sizes can affect the homogeneity of variance assumption.

9. The means from CompA and CompB are different.

10. Anova stands for Analysis of Variance

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Salary information regarding male and female employees of a large company is shown below. Male Female...
Salary information regarding male and female employees of a large company is shown below. Male Female Sample Size: 64 36 Sample Mean Salary (in $1,000): 44 41 Population Variance:    128 72 1.) The standard error for the difference between the two means is 2.) The point estimate of the difference between the means of the two populations is 3.) At 95% confidence, the margin of error is 4.)  The 95% confidence interval for the difference between the means of the two...
1. In one-way ANOVA, involving three groups, the alternative hypothesis would be considered correct if, in...
1. In one-way ANOVA, involving three groups, the alternative hypothesis would be considered correct if, in the population, a. all means were equal b. two means are equal but the third is different c. all three means have different values d. either (b) or (c) above is true QUESTION 2 When Null is true for a one-way ANOVA, variation of the group means is a reflection of a. inherent variation b. differential treatment effects c. nondifferential treatment effects d. a...
Suppose we want to test whether or not three means are equal. We want to perform...
Suppose we want to test whether or not three means are equal. We want to perform this test with a 4% significance level. If we perform an ANOVA test, what is the probability of the test producing accurate results (avoiding a Type I error)? Suppose we, instead, run three separate hypothesis tests (t-tests), each with 4% significance level. Mean 1 = Mean 2 Mean 1 = Mean 3 Mean 2 = Mean 3 What is the probability that all three...
The average salary in this city is $42,400. Is the average more for single people? 46...
The average salary in this city is $42,400. Is the average more for single people? 46 randomly selected single people who were surveyed had an average salary of $42,907 and a standard deviation of $11,240. What can be concluded at the αα = 0.01 level of significance? For this study, we should use Select an answer z-test for a population mean t-test for a population mean The null and alternative hypotheses would be: H0:H0:  ? p μ  Select an answer = ≤...
5. Measuring effect size for the repeated-measures ANOVA Alicia F. Lieberman and Patricia Van Horn have...
5. Measuring effect size for the repeated-measures ANOVA Alicia F. Lieberman and Patricia Van Horn have created a psychotherapy model for young children who have witnessed family violence. The therapy focuses on building the parent’s capacity to nurture and protect the child, thereby promoting the child’s emotional health and repairing the parent-child relationship, which has been disrupted by the stress and trauma of family violence. As a clinical psychology intern, you are learning parent-child therapy with Drs. Lieberman and Van...
Solve in steps The mean yearly salary for high school teachers in Texas is $48,723. Suppose...
Solve in steps The mean yearly salary for high school teachers in Texas is $48,723. Suppose that a random sample of 50 teachers in a specific district has a mean offer of $49,840 and a standard deviation of $3700. Do the sample data provide strong support for the claim that mean salary for the district is higher than the state average? Test the relevant hypotheses using a = 0.05 Step 1: Null Hypothesis and Alternative Hypothesis Step 2: Value for...
Here is a link to the data set collected by the researchers containing patient responses concerning...
Here is a link to the data set collected by the researchers containing patient responses concerning the level of pain relief they experienced over the course of the study. Treatment Placebo 1 1 1 1 1 1 1 1 1 1 1 2 1 2 1 2 1 2 1 2 1 3 1 3 1 3 1 3 1 3 2 4 2 4 2 4 2 4 2 4 2 4 2 4 2 5 2 5 2...
The following data are given for a two-factor ANOVA with two treatments and three blocks.   ...
The following data are given for a two-factor ANOVA with two treatments and three blocks.       Treatment Block 1 2 A 46 31 B 37 26 C 44 35    Using the 0.05 significance level conduct a test of hypothesis to determine whether the block or the treatment means differ.     a. State the null and alternate hypotheses for treatments.   H0 (Click to select)The means are the same.The standard deviations are the same.The standard deviations are different.The means are...
Suppose a team of doctors wants to study the effect of different types of exercise on...
Suppose a team of doctors wants to study the effect of different types of exercise on reducing body fat percentage in adult women. The 48 participants in the study consist of women between the ages of 40 and 49 with body fat percentages ranging from 36%–38%. The participants were each randomly assigned to one of four exercise regimens. Twelve were to complete 45 min of aerobic exercise four times a week. Twelve were to complete 45 min of anaerobic exercise...
Question 1 (1 point) Suppose the national average dollar amount for an automobile insurance claim is...
Question 1 (1 point) Suppose the national average dollar amount for an automobile insurance claim is $746.9. You work for an agency in Michigan and you are interested in whether or not the state average is different from the national average. Treating the national mean as the historical value, What are the appropriate hypotheses for this test? Question 1 options: 1) HO: μ ≤ 746.9 HA: μ > 746.9 2) HO: μ > 746.9 HA: μ ≤ 746.9 3) HO:...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT