Question

In: Math

1. Use the diamond data: Is there enough evidence in the data that population average price...

1. Use the diamond data:

Is there enough evidence in the data that population average price of diamond for color “E” is more than 1500.

Please solve using R please.

Thank you

Color Price
D 1302
E 1510
G 1510
G 1260
D 1641
E 1555
F 1427
G 1427
H 1126
I 1126
F 1468
G 1202
E 1327
I 1098
E 1693
F 1551
G 1410
G 1269
H 1316
H 1222
E 1738
F 1593
G 1447
H 1255
F 1635
H 1485
F 1420
H 1420
F 1911
H 1525
F 1956
H 1747
I 1572
E 2942
G 2532
E 3501
E 3501
F 3501
F 3293
G 3016
F 3567
G 3205
D 3490
E 3635
F 3635
F 3418
D 3921
F 3701
F 3480
G 3407
E 3767
F 4066
E 4138
F 3605
G 3529
F 3667
I 2892
G 3651
G 3773
F 4291
E 5845
G 4401
G 4759
H 4300
F 5510
G 5122
H 5122
I 3861
F 5881
F 5586
F 5193
H 5193
F 5263
I 5441
I 4948
H 5705
F 6805
H 6882
H 6709
I 6682
E 3501
G 3432
F 3851
H 3605
E 3900
H 3415
H 4291
E 6512
E 5800
F 6285

Solutions

Expert Solution

Soln

data_5Nov = read.csv(file.choose(),header = T)

head(data_5Nov)

Output

Color Price

1     D 1302

2     E 1510

3     G 1510

4     G 1260

5     D 1641

6     E 1555

data = data_5Nov[data_5Nov$Color=="E",] ## to get only the ‘E’ Color records

Alpha = 0.05

Null and Alternate Hypothesis

H0: µ = 1500

Ha: µ > 1500

t.test(data$Price, mu = 1500,alternative = "greater")
Output
        One Sample t-test
 
data:  data$Price
t = 4.75, df = 15, p-value = 0.000129
alternative hypothesis: true mean is greater than 1500
95 percent confidence interval:
 2717.118      Inf
sample estimates:
mean of x 
 3429.062 
 

Result

Since the p-value is less than 0.05, we reject the null hypothesis in favour of alternate hypothesis.

Conclusion

Population average price of diamond for color “E” is more than 1500.


Related Solutions

Is there enough evidence to conclude that the average salary at the Company A is LESS...
Is there enough evidence to conclude that the average salary at the Company A is LESS than the average salary at the Company B ( α = 0.04)? Average Salary Company A Company B $58,000 $47,000 $59,000 $74,000 $60,000 $56,000 $73,000 $55,000 $63,000 $65,000 $62,000 $52,000 $59,000 $68,000 $55,000 $63,000 $61,000 $66,000 $60,000 $66,000 $54,000 $57,000 $66,000 $59,000 $61,000 $58,000 $48,000 $63,000 $61,000 $66,000 $60,000 $62,000 $54,000 $62,000 $67,000 $53,000 $63,000 $46,000 $53,000 $54,000 $55,000 $65,000 $52,000 $61,000 $49,000 $72,000...
I wonder if there is enough evidence that the average departure delay is less than 3.073...
I wonder if there is enough evidence that the average departure delay is less than 3.073 hours? Null hypothesis H0: Alternative hypothesis Ha: alpha = 5% Average= -4.37, S= 5.88, n=30 what is the P value? What is the Critical value? How did your test statistic compare to your critical value? Reject or Fail to reject Conclusion:
Find the average price of homes in the county you selected and use that as population...
Find the average price of homes in the county you selected and use that as population mean prices to state a hypothesis about the data. Note that you already have a sample mean of your area, Use this to set up a hypothesis test. Develop a summary of the five-step hypothesis testing model. ( I tried to provide as much information) Also please show work. Average Price of home in my county= $580,400 Mean=640069.371428571 stand error=   20175.166257334 The Sample mean...
7. The following data is the weight of diamond x with the US dollar price y....
7. The following data is the weight of diamond x with the US dollar price y. x : 0.3 0.4 0.5 0.5 1.0 0.7 y : 510 1151 1343 1410 5669 2277 (a) Find the regression equation for the data points given. (b) Determine the percentage of variation in price of diamond y that is explained by the weight x. (c) Is it reasonable to predict the price of a 0.8-carat diamond using this model? If yes, predict it. If...
Use "PLUC" data and the description for the dataset on the blackboard. Is there sufficient evidence...
Use "PLUC" data and the description for the dataset on the blackboard. Is there sufficient evidence that the population mean of "PLUC.pre" is different than that of "PLUC.post"? Use R to find the p-value for the test. ***Answer is 8.739E-08*** PLUC.post PLUC.pre 6.483496 8.078464 8.607279 8.539505 12.41932 13.32073 11.72048 8.640824 12.26601 9.979111 11.15877 8.878284 7.527066 10.6834 10.60626 8.728163 6.276827 10.68463 10.1099 11.35035 6.520483 12.71441 11.91813 8.892171 10.66304 8.830107 9.777328 10.50259 9.220989 5.537055 11.79612 8.710783 11.11839 12.75601 8.965028 6.423624 11.48719 3.823811...
Explain why the evidence given is not enough to inductively support the conclusion in this case:...
Explain why the evidence given is not enough to inductively support the conclusion in this case: “He has a high GPA. Most people who successfully apply to business school have high GPAs. So he is very likely to get into business school.”
According to the case of Cobbs v. Grant, the court said there was not enough evidence...
According to the case of Cobbs v. Grant, the court said there was not enough evidence to support a verdict of negligence, yet the original gastrectomy led to multiple hospital stays and two follow-up surgeries. These complications were known risks that can occur even if the surgeon performs the operation flawlessly. If you were the patient and knew about these risks, would you have decide to consent to the first surgery? What factors would you consider?
Use the following information to answer questions 1-3. A population of 1,000 students spends an average...
Use the following information to answer questions 1-3. A population of 1,000 students spends an average of $10.50 a day on dinner. The standard deviation of the expenditure is $3. A simple random sample of 64 students is taken. Determine the expected value of the sample mean. a. $3.00 b. $10.50 c. $5.25 Determine the standard deviation of the sample mean. a. 0.363 b. 3.000 c. 0.375 Determine the probability that these 64 students will spend a combined total of...
The average price for new mobile homes is known to be distributed with a population standard...
The average price for new mobile homes is known to be distributed with a population standard deviation of 300. If a random sample of 36 homes resulted in a sample mean of 55,000, obtain a 90% confidence interval.
Does this data provide enough evidence at the α = 0.05 confidence level that there is dependence based on someone’s culture and a particular custom they uphold?
Culture\Custom X Y Z Total A 49 71 88 208 B 102 24 24 150 C 9 39 43 91 Total 160 134 155 449 Does this data provide enough evidence at the α = 0.05 confidence level that there is dependence based on someone’s culture and a particular custom they uphold? (X,Y,Z are customs and A,B,C are cultures)
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT