ECON 83a: Statistics for Economic Analysis Problem Set #2 Spring 2021

Java Python ECON 83a: Statistics for Economic Analysis

Problem Set #2, Spring 2021

1. The following data show the yearly salaries of football coaches at some state supported universities.

University            Salary (in $1,000)

A                                 53

B                                 44

C                                 68

D                                47

E                                62

F                                59

G                                53

H                                94

For the above sample, determine the following measures:

a. The mean yearly salary.

b. The range.

c. The variance.

d. The standard deviation.

e. The coefficient of variation.

2. Assume that each of these coaches could as well move to Canada and earn the same salary in that country (subject to conversion to Canadian dollars). Also, as- sume that 1 U.S. dollar is equal to 1.30 Canadian dollars. Therefore, for example, the first coach would earn 68,900 Canadian dollars instead of 53,000 U.S. dollars. Using these guidelines, recalculate theyearly salary of each coach. Moreover:

a. Recalculate the mean yearly salary.

b. Recalculate the range.

c. Recalculate the variance.

d. Recalculate the standard deviation.

e. Recalculate the coefficient of variation.

f. Comment on your results. How did the change of scale affect these measures?

3. Further, assume that a coach who decides to move to Canada receives an addi- tional yearly relocation bonus of 5,000 Canadian dollars.  Therefore, for example, the first coach would earn 73,900 Canadian dollars instead of 68,900 Canadian dol- lars (or 53,000 U.S. dollars). Using these guidelines, recalculate theyearly salary of each coach. Moreover:

a. Recalculate the mean yearly salary.

b. Recalculate the range.

c. Recalculate the variance.

d. Recalculate the standard deviation.

e. Recalculate the coefficient of variation.

f. Comment on your results. How did the change of scale affe ECON 83a: Statistics for Economic Analysis Problem Set #2, Spring 2021 ct these measures?

4. In a statistics class, the average grade on the final examination was 75 with a standard deviation of 5. Use Chebyshev’s theorem to answer the following ques- tions.

a. At least what percentage of the students received grades between 50 and 100?

b. Determine an interval for the grades that will be true for at least 70% of the stu- dents.

5. The following data represent the daily demand (yin thousands of units) and the unit price (x in dollars) for a product.

Daily Demand (y)           Unit Price (x)

47                              1

39                              3

35                              5

44                              3

34                              6

20                              8

15                            16

30                              6

a. Compute and interpret the sample covariance for the above data.

b. Compute and interpret the sample correlation coefficient.

6. Consider a sample with the following data values.

462

490

350

294

574

a. Compute the standardized values for the above five observations.

7. As in the case of Problem Set #1, download Nobel .RData from LATTE.  Again, open this data set in R Studio and update using the biographical information about Paul Milgrom and Robert B. Wilson. Also, create a new variable, called Age, which records an individual’s age at which he or she received the award.

a. Calculate the range of age at award. (Use commands called min and max.)

b. Calculate the interquartile range of age at award.  (Use – twice – a command called quantile, also selecting appropriate options.)

c. Calculate the variance of age at award. (Use a command called var.)

d. Calculate the standard deviation of age at award. (Use a command called sd.)

e. Calculate the covariance of YOA and Age. (Use a command called cov.)

f. Calculate the correlation coefficient of YOA and Age. (Use a command called cor.)

Comment on the relationship between these two variables. What does it mean that these two variables are related in this specificway?

To receive full credit, submit both your answers to these questions and a printout of your commands and output from R Studio’s console         

  • 12
    点赞
  • 12
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值