Question

In: Statistics and Probability

A simple Statistic question by using R, If I have two set of mean proportion data,...

A simple Statistic question by using R,

If I have two set of mean proportion data, what test should I use?

such as,

 [1] 0.7652632 0.7555354 0.7602588 0.7594096 0.7497992 0.5532588 0.7595661 0.6911504
 [9] 0.5964602 0.6369565 0.7355828 0.7346225 0.5913793 0.6499079 0.6327273 0.6091873
[17] 0.6306122 0.5960784 0.5492918 0.6785714 0.5014787 0.5484848 0.5645403 0.6731343
[25] 0.6208191 0.6087248 0.6045045 0.7743390 0.5275862 0.5731278
 [1] 0.6564195 0.5928482 0.6806709 0.5546422 0.5438393 0.5906535 0.6764637 0.6487188
 [9] 0.5901547 0.6626735 0.5955325 0.7462415 0.5971111 0.5731504 0.6334729 0.6124653
[17] 0.6224686 0.5549067 0.6348427 0.6265627 0.5981283 0.5981034 0.6374002 0.6400281
[25] 0.7951639 0.7002149 0.7037493 0.6003284 0.6924103 0.7035969 0.5354807 0.6441660
[33] 0.5850962 0.6178425 0.5608873 0.5515344 0.6188244 0.5907285 0.6370565 0.5762872
[41] 0.6229073 0.6044919 0.6150885 0.5970907 0.6029415 0.6050567 0.5793054 0.4934299
[49] 0.5536594 0.5976290 0.6712677 0.6082890 0.6201184 0.5589970 0.5568638 0.5559723
[57] 0.6501545 0.5920379 0.5645405 0.5882715 0.5729236 0.6249503 0.6778542 0.5434909
[65] 0.5683645 0.6241660 0.6587552 0.5916995 0.5645792 0.6114187 0.5738135 0.6521985
[73] 0.6564125 0.7089936 0.6521985 0.6364080 0.6445784 0.5712456 0.5789808 0.5493933

and please interpret their p value

Solutions

Expert Solution

Solution:

Perfrom t.test for difference in means in R

create 2 vectors A and B

Null hypothesis:

Ho:mu1=mu2

Alternative Hypothesis:

Ha:mu1 not = mu2

alpha=0.05

Rcode:

A <- c(0.7652632 ,0.7555354 ,0.7602588 ,0.7594096 ,0.7497992, 0.5532588, 0.7595661, 0.6911504, 0.596460)
B <- c(0.6564195 ,0.5928482, 0.6806709 ,0.5546422, 0.5438393 ,0.5906535, 0.6764637 ,0.6487188, 0.59015)
t.test(A,B)

Output:

Welch Two Sample t-test

data: A and B
t = 2.98, df = 13.6, p-value = 0.01
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
0.026533 0.163755
sample estimates:
mean of x mean of y
0.71008 0.61493

From output:

t=2.98

p=0.01

0.01<0.05

p<0.05

P values is less than alpha

Reject Null hypothesis

Accept Alternative Hypothesis

Conclusion:There is suffcient statistical evidence at 5% level of significance to conclude that the 2 set means

(mean proportion data) are different


Related Solutions

Given two sets of data, A and B. i) Data set A has an r value...
Given two sets of data, A and B. i) Data set A has an r value of -.81 and data set B has an r value of .94 Describe the differences between the two data sets as completely as you can using the regression information we have learned. ii) Which linear regression equation, the one for A or the one for B, would probably be a better predictor? Why?
I have a proportion that is .5972 and a mean that is .5984. I have a...
I have a proportion that is .5972 and a mean that is .5984. I have a standard error of .0681 and a standard deviation of .0688. What can explain the relationship between proportion and mean and the relationship between standard error and standard deviation that makes these numbers so similar but different> More info: Found proportion and standard error by dividing number of houses sold by houses with fireplaces and then using the standard error formula with a sample size...
Using R calculate the following properties of the Data Set given below: (a) The average (mean)...
Using R calculate the following properties of the Data Set given below: (a) The average (mean) value for each of the four features (b) (b) the standard deviation for each of the features (c) repeat steps (a) and (b) but separately for each type of flower (d) (d) draw four box plots, one for each feature, such that each figure shows three boxes, one for each type of flower. Properly label your axes in all box plots. Data Set {...
For expert using R I try to solve this question((USING DATA FAITHFUL)) but each time I...
For expert using R I try to solve this question((USING DATA FAITHFUL)) but each time I solve it, I have error , I try it many times. So,everything you write will be helpful.. Modify the EM-algorithm functions to work for a general K component Gaussian mixtures. Please use this function to fit a K= 1;2;3;4 modelto the old faithful data available in R (You need to initialize the EM-algorithm First ).    Which modelseems to t the data better? (Hint:...
Using the R built-in data set called Chick Weight, we want to compare the mean weight...
Using the R built-in data set called Chick Weight, we want to compare the mean weight across the different types of Diet. IMPORTANT: We only want to compare chicks at the final value of Time, 21. In this problem, use ?? = 0.05. Make a boxplot to compare weight across the different types of Diet. Based on the boxplot, describe any differences (or lack of differences) you see. Run an ANOVA to compare weight across the different types of Diet....
I have the appropriate data set. This is the question: How much variance in maximum wind...
I have the appropriate data set. This is the question: How much variance in maximum wind speed is explained by atmospheric pressure? With a one-unit change in atmospheric pressure, what is the corresponding change in maximum wind speed?   Can you tell me the procedure to use in SPSS in order to answer these questions?
Hi, I have a question about the perceptual set. I have known what the perceptual set...
Hi, I have a question about the perceptual set. I have known what the perceptual set is, but I have no idea about is it better described as a kind of bottom-up processing or top-down processing? Please help me. I do highly appreciate your help. Regards,
Using R program and with a For loop. Assuming a data set of 1000 observations and...
Using R program and with a For loop. Assuming a data set of 1000 observations and 10 predictors. How would one use a for loop to cycle through different proportions of training and test sizes. For example, 20% of data goes to training and 80% for test in first iteration. Each iteration adding another 10% to the training set. So first set= (20% train, 80% test), second set = (30% train, 70% test), third set= (40% train,60%test) and so on....
Question: A set of data has a normal distribution with a mean of 53 and a...
Question: A set of data has a normal distribution with a mean of 53 and a standard deviation of 6. Find the... A set of data has a normal distribution with a mean of 53 and a standard deviation of 6. Find the percent of data within each interval... a. from 47 to 65 b. from 41 to 47 c. greater than 59 d. less than 65 Please show all steps. Note: a - d are NOT potential answers, they...
We have been using the same set of data (Data Set One) in the notes to...
We have been using the same set of data (Data Set One) in the notes to illustrate production and costs. I have provided Data Set One in both tables below. When costs were calculated in the notes, fixed costs were $200. By using the term fixed costs economists are only referring to the fact that a firm must pay this expense no matter how much output it produces or sells. An example of a fixed cost could be the rent...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT