Question

In: Math

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

  1. 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

Solution:

The calculations for the spearsman rank correlation is given in the below table.

Store Customers(X) Rank(X) Average profit(Y) Rank(Y) di =Rx - Ry di^2
A 161 6 157 7 -1 1
B 99 1 93 1 0 0
C 135 5 136 5 0 0
D 120 4 123 3 1 1
E 164 7 153 6 1 1
F 221 13 241 14 -1 1
G 179 8 201 10 -2 4
H 204 9 206 11 -2 4
I 214 12 229 13 -1 1
J 101 2 135 4 -2 4
K 231 14 224 12 2 4
L 206 11 195 8 3 9
M 248 15 242 15 0 0
N 107 3 115 2 1 1
O 205 10 197 9 1 1
Total 32

Here, di is the difference between the rank X and rank Y.

The formula for the spearsman's correlation coefficient when there is no tied between the rank is given as,

We are testing,

The null hypothesis state the variable X and Y is not significant.

The alternative hypothesis state that variable X and Y are significant.

The P-value at r = 0.94286 and degree of freedom (n-1 = 13) is approx to 0 obtained by use of the online calculator.

Therefore, we reject the null hypothesis and conclude that the variable X and Y are significantly related.

If you have a doubt about the above answer ask in the comment box otherwise please press like button.


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                              224 L                                206                              195 M                               248                              242 N      ...
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...
[In MATLAB] We have an array of seven values for a number x : [ 1.92,...
[In MATLAB] We have an array of seven values for a number x : [ 1.92, 0.05, -2.43, -0.02, 0.09, 0.85 . 0.06] . We consider any data value in the range -0.1 <x<0.1 as erroneous value. We want to remove all such values and replace them with zeros at the end of the array. Write a script using a for loop with conditional statements Write a script using the find function
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 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