Question

In: Statistics and Probability

The file Hotel Prices contains the prices in British pounds (about US$ 1.52 as of July...

The file Hotel Prices contains the prices in British pounds (about US$ 1.52 as of July 2013) of a room at two-star, three-star, and four-star hotels in cities around the world in 2013.

City Two-Star Three-Star Four-Star
Amsterdam 74 88 116
Bangkok 23 35 72
Barcelona 65 90 106
Beijing 35 50 79
Berlin 63 58 76
Boston 102 132 179
Brussels 66 85 98
Cancun 42 85 205
Chicago 66 115 142
Dubai 84 67 111
Dublin 48 66 87
Edinburgh 72 82 104
Frankfurt 70 82 107
Hong Kong 42 87 131
Istanbul 47 77 91
Las Vegas 41 47 85
Lisbon 36 56 74
London 74 90 135
Los Angeles 80 118 200
Madrid 47 66 79
Miami 84 124 202
Montreal 76 113 148
Mumbai 41 72 90
Munich 79 97 115
New York 116 161 206
Nice 69 87 133
Orlando 45 78 120
Paris 76 104 150
Rome 75 82 108
San Francisco 92 137 176
Seattle 95 120 166
Shanghai 22 49 79
Singapore 58 104 150
Tokyo 50 82 150
Toronto 72 92 149
Vancouver 74 105 146
Venice 87 99 131
Washington 85 128 158

e. Compute the covariance between the average price at two-star and three-star hotels, between two-star and four-star hotels, and between three-star and four-star hotels.

f. Compute the coefficient of correlation between the average price at two-star and three-star hotels, between two-star and four-star hotels, and between three-star and four-star hotels.

g. Which do you think is more valuable in expressing the relation-ship between the average price of a room at two-star, three-star, and four-star hotels—the covariance or the coefficient of cor-relation? Explain.

h. Based on (f), what conclusions can you reach about the relationship between the average price of a room at two-star, three-star, and four-star hotels?

Solutions

Expert Solution

Using excel,

e. We may compute covariance for every pair of the three variables using the function "COVAR":

The formula for obtaining covariance between two variables X and Y can be obtained using the formula:

We get,

Cov (Two star, Three star) = 492.28; Cov (Two star, Four star) = 548.15; Cov (Three star, Four star) = 914.17

Covariance between two variables is nothing but the extent to which the two variables are dependent on each other. A positive covariance implies a direct relationship and a higher value would mean a higher level of dependency.It ranges from minus infinity to plus infinity.However, it is affected by the unit of measurement.

Among the three covariances computed above, we find that the dependence between Three star & Four star if far greater compared to the other two pairs.

b. The correlation between pairs of the three variables can be obtained using the function "CORREL":

The formula for obtaining correlation between two variables X and Y can be obtained using the formula:

It is nothing but where SD denote the standard deviations of X and Y.

Correlation is more of a quantitative measure of relation between two variables, expressing not only the direction but also the strength of the relationship. It ranges from -1 to 1; '-' indicating a negative relationship.It is a unit less measure.

We get,

Cor (Two star, Three star) = 0.842; Cor (Two star, Four star) = 0.650; Cor (Three star, Four star) = 0.855

We find that all the three pairs are positively correlated. Also, the figures obtained above suggest that the variables (Two star, Three star) and (Three star, Four star) exhibit a stronger relationship as compared to (Two star, Four star).

g. Comparing the result obtained in e and f, we find that both Covariance and Correlation suggest that all three pairs of the variables suggest a positive dependency / relationship.However, the latter provides a better picture of the relation between the two, since, it is a standardized version of covariance. Also it is independent of both location and scale and hence would depict the relationship with same efficiency between any two variables, whatsoever the unit, unlike the former.

h. Average price at two-star, three-star, and four-star are:

Two star hotel average price

Three star hotel average price

Four star hotel average price

Based on the result obtained in f and the averages above,, we find that the average price increases as the stars increases. And the adjacent stars exhibit a stronger dependency i.e.'Two and Three star' and'Three and Four star' than 'Two and Four star'.


Related Solutions

The file Hotel Prices contains the prices in British pounds (about US$ 1.52 as of July...
The file Hotel Prices contains the prices in British pounds (about US$ 1.52 as of July 2013) of a room at two-star, three-star, and four-star hotels in cities around the world in 2013. City Two-Star Three-Star Four-Star Amsterdam 74 88 116 Bangkok 23 35 72 Barcelona 65 90 106 Beijing 35 50 79 Berlin 63 58 76 Boston 102 132 179 Brussels 66 85 98 Cancun 42 85 205 Chicago 66 115 142 Dubai 84 67 111 Dublin 48 66...
If the spot rate for British pounds is 0.6 pounds equals 1 US $, and annual...
If the spot rate for British pounds is 0.6 pounds equals 1 US $, and annual interest rate on fixed rate one-year deposits of pounds is 3.25% and for US$ is 2.25%, what is the eighteen-month forward rate for one dollar in terms of pounds? Assuming the same interest rates, what is the 36-month forward rate for one pound in dollars? Is this an indirect or a direct rate? If the forward rate is an accurate predictor of exchange rates,...
1. The Excel file “FoodBank” contains the number of pounds of food donated to a local...
1. The Excel file “FoodBank” contains the number of pounds of food donated to a local food bank for each of the past 30 weeks. For planning purposes, the manager of the food bank would like a forecasting model to predict future donations. Create simple exponential smoothing models in Excel using α=0.2, α=0.5, and α=0.8. (Recall that damping factor = 1-α.) Week Donations 1 260 2 264 3 268 4 242 5 269 6 261 7 267 8 256 9...
A hotel salesperson enters sales in a text file. Each line contains the following, separated by...
A hotel salesperson enters sales in a text file. Each line contains the following, separated by semicolons: The name of the client, the service sold (such as Dinner, Conference, Lodging, and so on), the amount of the sale, and the date of that event. Write a program that reads such a file and displays the total amount for each service category. Use the following data for your text file:5 pts Bob;Dinner;10.00;January 1, 2013 Tom;Dinner;14.00;January 2, 2013 Anne;Lodging;125.00;January 3, 2013 Jerry;Lodging;125.00;January...
The follow table list foreign exchange rates between US dollars and British pounds (GBP) during April...
The follow table list foreign exchange rates between US dollars and British pounds (GBP) during April Date U.S. Dollars per GBP 4/1 1.9564 4/4 1.9293 4/5 1.914 4/6 1.9374 4/7 1.961 4/8 1.8925 4/11 1.8822 4/12 1.8558 4/13 1.796 4/14 1.7902 4/15 1.7785 4/18 1.7504 4/19 1.7255 4/20 1.6914 4/21 1.672 4/22 1.6684 4/25 1.6674 4/26 1.6857 4/27 1.6925 4/28 1.7201 4/29 1.7512 Which day would have been the best day to convert $200 into British pounds? Which day would...
PotashCorp The data set in the file ch18_MCSP_PotashCorp contains average quarterly share prices for PotashCorp and...
PotashCorp The data set in the file ch18_MCSP_PotashCorp contains average quarterly share prices for PotashCorp and prices for potash mineral. Investigate the relationship between these variables. (a) Some people think that if the share price of a mining company is high, that is because investors expect high mineral prices for thecorresponding quarter. Can the potash price be estimated from the PotashCorp share price? The data includes a period when the price of potash mineral was exceptionally high. If you eliminate...
The data file "supermarket.csv" contains data on the total amount of eggs sold, relevant prices and...
The data file "supermarket.csv" contains data on the total amount of eggs sold, relevant prices and advertising information at a supermarket. 1) Treating the data as linear, run a multivariate regression of total egg sales on the three other variables. 2) Perform a log-log transformation of the data (Achieved by taking the natural logarithm of all variables except ad type). Run a multivariate regression of log total egg sales on log egg prices and log cookie prices (discard the dummy...
he file Utility contains the electricity costs, in dollars, during July of a recent year for...
he file Utility contains the electricity costs, in dollars, during July of a recent year for a random sample of 50 one-bedroom apartments in a large city: SELF TEST 96 171 202 157 185 90 141 149 206 95 163 150 108 119 183 178 147 116 172 175 123 154 130 151 114 102 153 111 148 128 144 143 187 135 191 197 127 82 213 130 165 168 109 167 166 139 149 137 129 158 Decide...
The file P12_16.xlsx contains the daily closing prices of American Express stock for a one-year perio...
The file P12_16.xlsx contains the daily closing prices of American Express stock for a one-year perio a) Using a span of 3, forecast the price of this stock for the next trading day with the moving average method. How well does this method with span 3 forecast the known observations in this series? b) Repeat part a with a span of 10. c) Which of these two spans appears to be more appropriate? Justify your choice. Day Closing Price 1...
C++ There is a file, called EmployeeInfo.txt, that contains information about company employees work for a...
C++ There is a file, called EmployeeInfo.txt, that contains information about company employees work for a week. You will write a program that reads the info from the file, and produces an output file called EmployeePay.txt with information about the employees pay amount for that week. Details: The input file is called EmployeeInfo.txt There are 4 lines of input Each line has the same form Last Name, first Name, hours worked, pay rate, tax percentage, extra deductions Example: John Doe...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT