ECN 102: Analysis of Economics Data

Midterm Exam SS1 2025

Author

Remy Beauregard, Department of Economics, UC Davis

This exam consists of 5 short-answer questions (with sub-parts) and 5 multiple choice questions. You will have a maximum of 100 minutes to complete this exam. No additional time may be taken without prior accommodation. Show all work to receive full credit. You may use only the calculators provided by the instructor. For questions requiring computation, it suffices to express your final answer with 2 decimal places. There is a formula sheet and scratch paper provided at the end of this exam. You may remove these pages and discard them after the exam. If you plan to use any of these extra pages for your final answers, please write your name and student ID at the top of each to ensure they are not lost.

This exam is worth 70 points.

Name:

Student ID:

Question 1: Summary Statistics [15 points]

Suppose we are using a dataset that contains one large positive outlier (i.e. one value far greater than all other values). We know this value is not a mistake and so do not want to drop it from our sample. However, we do want to use the proper statistics to describe our data with this outlier:

  1. What statistic of central tendency should we use for this data? Why? [3 points]
  1. What statistic of spread should we use for this data? Why? [3 points]
  1. What can we infer about the skewness of this dataset from the description above? What can we infer about the mean of the data relative to the median? [3 points]
  1. Can we expect this dataset to be normally distributed based on the information above? Please justify your answer. [3 points]
  1. Suppose we really want to work with a normal distribution for our analysis. Is there anything we could do to our dataset above to make it appear more normally distributed? If we are successful, what name would we give the resulting (more normal-looking) distribution? [3 points]

Question 2: Summation Notation [4 points]

Please rewrite (but do not simplify) the following quantities using summation notation (\(\sum\)) with index \(i\):

  1. [2 points] \[3x_1+3x_2+3x_3+3x_4\]
  1. [2 points] (Hint: the formula to find the \(i^{th}\) odd integer is \(2i-1\)) \[1+3+5+7+9+11\]

Question 3: Univariate Inference [8 points]

Suppose we wish to learn about the population mean of a series but only know the information given below. For each of the following scenarios, please give (1) whether or not we would need to conduct inference to answer our question and (2) the name and formula of the test statistic we would construct (if doing inference):

  1. We know \(\bar{x}\), \(s_{\bar{x}}\), \(n\) and hypothesize \(\mu_0\). [2 points]
  1. We know \(\bar{x}\), \(\sigma_{\bar{x}}\), \(n\) and hypothesize \(\mu_0\). [2 points]
  1. We know \(\bar{x}\), \(\sigma_{x}\), \(n\) and hypothesize \(\mu_0\). [2 points]
  1. We know \(\bar{x}\), \(\sigma_{x}\), \(n\), \(\mu\) and hypothesize \(\mu_0\). [2 points]

Question 4: More Univariate Inference [15 points]

We are given the following output from Stata:

(1978 automobile data)

invttail(60,0.05)=1.6706489
invttail(60,0.025)=2.0002978
invttail(59,0.05)=1.671093
invttail(59,0.025)=2.0009954
invttail(58,0.05)=1.6715528
invttail(58,0.025)=2.0017175

Suppose we then use the summarize command to obtain the following results for the three variables below:


    Variable |        Obs        Mean    Std. dev.       Min        Max
-------------+---------------------------------------------------------
       price |         60    5907.467    2577.946       3291      13594
         mpg |         60    21.66667    6.001883         12         41
      weight |         60    2923.833    769.0917       1760       4840
  1. Which of the three variables has the lowest dispersion (spread relative to its mean)? [2 points]
  1. Provide a 90% CI for the mean of mpg. Interpret this range in words. [3 points]
  1. The claim is made that the average price of a car in 1978 is below $6000. Using our sample, test this claim at the 5% significance level. Clearly state your null and alternate hypotheses, your test statistic, and your conclusion. [5 points]
  1. The claim is made that the average weight of a car in 1978 is different from 3500 pounds. Using our sample, test this claim at the 5% significance level. Clearly state your null and alternate hypotheses, your test statistic, and your conclusion. [5 points]

Question 5: Bivariate Inference [18 points]

  1. Write down the population model (equation) for a bivariate regression of \(y\) on \(x\) if our assumptions about linearity, unbiasedness, homoskedasticity, and independence hold. [2 points]
  1. Assuming our four population assumptions hold, complete the statement (fill in the blanks) for how we expect \(b_2\) to be distributed. [5 points]

\[\frac{b_2-\underline{\hspace{1.5em}}}{\underline{\hspace{1em}}}\sim N(0,1)\text{ when }n>\underline{\hspace{1em}}\]

Suppose we now run a regression and obtain these results:


      Source |       SS           df       MS      Number of obs   =        60
-------------+----------------------------------   F(1, 58)        =     15.05
       Model |  80799680.8         1  80799680.8   Prob > F        =    0.0003
    Residual |   311302776        58  5367289.24   R-squared       =    0.2061
-------------+----------------------------------   Adj R-squared   =    0.1924
       Total |   392102457        59  6645804.35   Root MSE        =    2316.7

------------------------------------------------------------------------------
       price | Coefficient  Std. err.      t    P>|t|     [95% conf. interval]
-------------+----------------------------------------------------------------
         mpg |  -194.9806   50.25323    -3.88   0.000    -295.5733   -94.38778
       _cons |   10132.05   1129.152     8.97   0.000     7871.802    12392.29
------------------------------------------------------------------------------
  1. Write down the sample regression model we have estimated (with proper variable names). [3 points]
  1. Suppose we are worried Stata made a mistake computing our R-squared value (\(0.2061\)). Verify this calculation using other information from the regression output. [2 points]
  1. Suppose we are worried Stata made a mistake computing the default t-statistic for \(b_2\) (\(-3.88\)). Verify this calculation using other information from the regression output. [2 points]
  1. What will \(\sum_{i=1}^ne_i\) equal for regression? What property will \(\sum_{i=1}^ne_i^2\) have? [2 points]
  1. Suppose we standardized both our series X and Y and reran the regression above. If we now obtain a \(b_2\) value of \(-0.45\), what does that tell us about \(r_{xy}\)? Interpret this value. [2 points] BONUS: What is the value of \(\frac{s_{price}}{s_{mpg}}\)? [+2 points]

Multiple Choice [2 points each]

Suppose we know a r.v. \(X\sim(16,16)\), draw 16 samples of size 36 (each), and compute 16 sample means.

MC 1

What would we expect the population mean of the distribution of sample means to be equal to?

  1. \(\sqrt{16}=4\)

  2. \(16\)

  3. \(\frac{16}{16}=1\)

  4. \(\frac{\sqrt{16}}{16}=\frac14\)

  5. \(\sqrt{\frac{16}{16}}=1\)

MC 2

What would we expect the population variance of the distribution of sample means to be equal to?

  1. \(16\)

  2. \(\frac{16}{36}=\frac49\)

  3. \(\frac{16}{16}=1\)

  4. \(\sqrt{\frac{16}{16}}=1\)

  5. \(\sqrt{\frac{16}{36}}=\frac23\)

MC 3

How would we expect our sample means to be distributed and why?

  1. Normally distributed because X is normally distributed

  2. Normally distributed by the CLT because we drew \(16<30\) samples

  3. NOT normally distributed by the CLT because we drew \(16<30\) samples

  4. Normally distributed by the CLT because our sample size per draw was \(36>30\)

  5. NOT normally distributed by the CLT because our sample size per draw was \(36>30\)

MC 4

What range would we expect to contain roughly 99.7% of the values of sample means?

  1. \(16\pm3\times16\)

  2. \(16\pm3\times\sqrt{16}\)

  3. \(16\pm3\times\frac{16}{16}\)

  4. \(16\pm3\times\frac{16}{36}\)

  5. \(16\pm3\times\sqrt{\frac{16}{36}}\)

MC 5

Which of the following is true about the population standard deviations of \(X\) and \(\bar{X}\)?

  1. \(\sigma_{\bar{x}}\geq\sigma_x\) always

  2. \(\sigma_{\bar{x}}=\sigma_x\) always

  3. \(\sigma_{\bar{x}}\leq\sigma_x\) always

  4. The answer will depend on our sample size \(n\)

  5. None of the above