ECON1280 HW1, Semester 2 2022-23
The University of Hong Kong, School of Business
• Homework caught copying other’s work or past solutions will receive a zero.
• No proof is needed if using formulas taught in class, otherwise provide your justification.
• Penalty may apply if students fail to type their assignment. Questions about the penalty and assignment
in general can be directed toward TAs.
Question 1(10 points) Tourists visiting Croatia are asked to participate in a survey, consisting of
various questions regarding their experience during their trip, which have been provided below. For each
question, describe the type of data obtained based on (1) the type and amount of information contained
in the data, and (2) levels of measurement.
a. Which of the following areas did you visit?
• (i) Coast; (ii) Islands; (iii) Mountains; (iv) Zagreb (Croatia’s capital).
b. What are the last four digits of your phone number?
c. Was the average amount you spent on food per day greater than USD100?
• (i) Yes; (ii) No.
d. What is the optimal number of days you would recommend a tourist spends in Croatia?
e. How often would you recommend visiting Croatia?
• Every year; once in a five years; Once in a lifeltime; Never
Question 2 (10 points) For predicting credit default, a sample of financial data analysts was asked to
provide forecasts of credit scores for next year. The results are summarized in the following table:
Forecast (£ 000) Number of Clients
11.95 < 12.45 5
12.45 < 13.95 18
13.95 < 14.45 16
14.45 < 15.95 23
15.95 < 16.45 11
Page 1 of 3a. Estimate the sample mean forecast. Answers without proper calculation and/or justification will receive 0.
b. Estimate the sample standard deviation. Answers without proper calculation and/or justification will receive 0.
Question 3 (10 points) A random sample of 70 business majors was asked a series of demographic
questions including major, gender, age, year in school, and current grade point average (GPA). Other
questions were also asked for their levels of satisfaction with campus parking, campus housing, and
campus dining. Responses to these satisfaction questions were measured on a scale from 1 to 5, with
5 being the highest level of satisfaction. Finally, these students were asked if they planned to attend
graduate school within 5 years of their college graduation (0: no; 1: yes). These data are contained in
the data file Finstad and Lie Study n70 23sp.csv.
a. Construct a cluster bar chart of the respondents’ major and gender.
b. Construct a pie chart of their majors.
Question 4 (20 points) The demand for bottled water increases during the hurricane season in Florida.
The manager at a plant that bottles drinking water wants to be sure that the process to fill 1-gallon
bottles (approximately 3.785 liters) is operating properly. Currently, the company is testing the volumes
of 1-gallon bottles. A random sample of 50 bottles is tested. Study the filling process for this product
and submit a report of your findings to the operations manager. The data are stored in the data file
Water n50 23sp.cvs.
a. Construct a frequency distribution and cumulative frequency distribution.
b. Construct a histogram.
c. Incorporate these graphs into a well-written summary. How could we apply statistical thinking in
d. Find the range, variance, and standard deviation of the volumes. Answers without screenshots of
your process will receive 0.
e. Find and interpret the interquartile range for the data. Answers without screenshots of your
process will receive 0.
f. Find the value of the coefficient of variation. Answers without screenshots of your process will
Question 5(10 points) Bishop’s supermarket records the actual price for consumer food products and
the weekly quantities sold. The data are stored in the data file Bishop n30 23sp.cvs.
a. Obtain the scatter plot for the actual price of a gallon of orange juice and the weekly quantities
sold at that price.
b. Does the scatter plot follow the pattern from economic theory? Explain briefly.
Page 2 of 3Question 6 (20 points) Search the FRED database for the "Real Personal Income" (Series ID: RPI)
and download the data series from 2011-12-1 to 2021-12-1.
a. Compute the population mean. Answers without screenshots of your process will receive 0.
b. Compute the population median. Answers without screenshots of your process will receive 0.
c. Find the five-number summary for this data. Answers without screenshots of your process will receive 0.
d. Compute and comment on symmetry or skewness. Answers without proper justification will receive 0.
Question 7 (10 points) In April 2018, a study was conducted to understand the role of Twitter. The
study showed that Twitter helps business by illustrating the practical implications of a decision, connecting businesses to prominent technologies and trends - eWom, big data, and smart cities - and identifying
possible future directions. The practical implications of the study have a mean of 686 results and a
standard deviation 66.
a. It can be guaranteed that 75% of businesses being connected to prominent technologies and trends
will be in what interval? Answers without proper calculation and/or justification will receive 0.
b. Using the empirical rule, it can be estimated that approximately 95% of businesses being connected
to prominent technologies and trends will be in what interval? Answers without proper calculation
and/or justification will receive 0.
Question 8 (10 points) Management of a local retail outlet in the U.S. wants to predict weekly online
shopping sales. It administers an aptitude test to all sales people, where test scores range from 0 to 10
with greater scores indicating a higher aptitude. Test scores and weekly sales (in Thousands of USD)
are as follows:
Test Score (x) 10 9 8 8 9
Weekly Sales (y) 23 61 17 29 20
a. Calculate the sample covariance without the aid of programming languages. Answers without proper calculation and/or justification will receive 0.
b. Compute the sample correlation between test scores and weekly sales without the aid of programming languages. Answers without proper calculation and/or justification will receive 0.
c. Based on your answers to parts (a) and (b), state your understanding of the relation between
aptitude test scores and weekly sales. Explain briefly.
Page 3 of 3
Assignment file attached Attached