Question

In: Statistics and Probability

Suppose we have the following values on the number of customers (X) and the average profits...

Suppose we have the following values on the number of customers (X) and the average profits (Y) for fifteen stores:

Store                   Customers (X)          Average Profits (Y)

A                               161                              157

B                               99                              93

C                               135                              136

D                               120                              123

E                                164                              153

F                                221                              241

G                               179                              201

H                               204                              206

I                                 214                              229

J                                 101                              135

K                               231                              224

L                                206                              195

M                               248                              242

N                               107                              115

O                               205                              197

Use the Spearman’s Rank Correlation test at the 0.05 level to see if X and Y are significantly related.

Solutions

Expert Solution

a.

X Y
161 157
99 93
135 136
120 123
164 153
221 241
179 201
204 206
214 229
101 135
231 224
206 195
248 242
107 115
205 197

Also, the following calculations are needed to compute the correlation coefficient:

X Y X*Y X2 Y2
161 157 25277 25921 24649
99 93 9207 9801 8649
135 136 18360 18225 18496
120 123 14760 14400 15129
164 153 25092 26896 23409
221 241 53261 48841 58081
179 201 35979 32041 40401
204 206 42024 41616 42436
214 229 49006 45796 52441
101 135 13635 10201 18225
231 224 51744 53361 50176
206 195 40170 42436 38025
248 242 60016 61504 58564
107 115 12305 11449 13225
205 197 40385 42025 38809
Sum = 2595 2647 491221 484513 500715

The correlation coefficient rr is computed using the following expression:

where

In this case, based on the data provided, we get that

Therefore, based on this information, the sample correlation coefficient is computed as follows

b.

where ρ corresponds to the population correlation.

The sample size is n = 15, so then the number of degrees of freedom is df = n-2 = 15 - 2 = 13

The corresponding t-statistic to test for the significance of the correlation is:

The p-value is computed as follows:

Since we have that p-value = 4.648477e-09 < .0001, it is concluded that the null hypothesis H0​ is rejected.

Therefore, it is concluded that there is enough evidence to claim that the population correlation ρ is different than 0, at the 0.05 significance level.

Therefore, it is concluded that there is enough evidence to claim that X and Y are significantly related.


Related Solutions

Suppose we have the following values on the number of customers (X) and the average profits...
Suppose we have the following values on the number of customers (X) and the average profits (Y) for fifteen stores: Store                   Customers (X)            Average Profits (Y) A                               161                              157 B                               99                              93 C                               135                              136 D                               120                              123 E                                164                              153 F                                221                              241 G                               179                              201 H                               204                              206 I                                 214                              229 J                                101                              135 K                               231     ...
Suppose we are interested in estimating the average number of customers in the supermarket. On average,...
Suppose we are interested in estimating the average number of customers in the supermarket. On average, there are 15 customers entering the supermarket every 5 minutes. And on average, a typical customer spends about 20 minutes in the supermarket (from entering to exiting the market). a. Calculate the average number of customers in the supermarket. b. About 20% of customers leave without making a purchase. On average, a customer spends about 5 minutes in the checkout area. Estimate the average...
Suppose that we have a single input variable X and all possible values of X is...
Suppose that we have a single input variable X and all possible values of X is {0, 1, 2}. Also, suppose that we have two groups for outcomes (i.e., Y = 1, 2). It is known that the X|Y = 1 has Binomial(2, 0.7) and X|Y = 2 has the discrete uniform. In addition, P(Y = 1) = 0.3. (1) Predict Y for X = 0, 1, 2, respectively, using the Bayes classifier. (2) Compute the overall Bayes error rate.
Suppose the number of customers arriving at a store obeys a Poisson distribution with an average...
Suppose the number of customers arriving at a store obeys a Poisson distribution with an average of λ customers per unit time. That is, if Y is the number of customers arriving in an interval of length t, then Y∼Poisson(λt). Suppose that the store opens at time t=0. Let X be the arrival time of the first customer. Show that X∼Exponential(λ).
1.) Suppose we have the following values for a dependent variable, Y, and three independent variables,...
1.) Suppose we have the following values for a dependent variable, Y, and three independent variables, X1, X2, and X3. The variable X3 is a dummy variable where 1 = male and 2 = female:X X1 X2 X3 Y 0 40 1 30 0 50 0 10 2 20 0 40 2 50 1 50 4 90 0 60 4 60 0 70 4 70 1 80 4 40 1 90 6 40 0 70 6 50 1 90 8...
Suppose we have a single server in a shop and customers arrive in the shop with...
Suppose we have a single server in a shop and customers arrive in the shop with a Poisson arrival distribution at a mean rate of λ=0.5 customers per minute. The interarrival time have an exponential distribution with the average inter-arrival time being 2 minutes. The server has an exponential service time distribution with a mean service rate of 4 customers per minute. Calculate: 1. Overall system utilization 2. Number of customers in the system 3. Number of customers in the...
Suppose we have N = 6 values from a population. These values are 4, 8, 0,...
Suppose we have N = 6 values from a population. These values are 4, 8, 0, 10, 14 and 6. Let μ and σ denote the population mean and population standard deviation of these six values, respectively. (a) What are the values of μ and σ, respectively? μ = 4.8580; σ = 7 μ = 7; σ = 4.8580 μ = 7; σ = 4.4347 μ = 7; σ = 19.6667 μ = 7; σ = 23.6 (b) What percentage...
Suppose We put five different dice into a hat. The dice have the following number of...
Suppose We put five different dice into a hat. The dice have the following number of side:4,6,8,12,20. When we choose a die from the hat, each of the five of the dice are equally likely to appear. a) What is the probabilty that a “6” appears? b) Now, suppose a “6” appears, what is the probability is was the 6-sided die that was chosen?
Suppose we have the following data on variable X (independent) and variable Y (dependent): X Y...
Suppose we have the following data on variable X (independent) and variable Y (dependent): X Y 2 70 0 70 4 130 a.) By hand, determine the simple regression equation relating Y and X. b.) Calculate the R-Square measure and interpret the result. c.) Calculate the adjusted R-Square. d.) Test to see whether X and Y are significantly related using a test on the population correlation. Test this at the 0.05 level. e.) Test to see whether X and Y...
Suppose we have the following data on variable X (independent) and variable Y (dependent): X         Y...
Suppose we have the following data on variable X (independent) and variable Y (dependent): X         Y 2          70 0          70 4          130 Test to see whether X and Y are significantly related using a t-test on the slope of X. Test this at the 0.05 level. Test to see whether X and Y are significantly related using an F-test on the slope of X. Test this at the 0.05 level.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT