Standard errors for calibrated parameters: Example

Consider a simple model with two structural parameters $(\theta_1,\theta_2)$ and three reduced-form moments $(\mu_1,\mu_2,\mu_3)$. The theoretical mapping between parameters and moments is given by $$\begin{pmatrix} \mu_1 \\ \mu_2 \\ \mu_3 \end{pmatrix} = \begin{pmatrix} \theta_1 \\ \theta_1+\theta_2 \\ 2\theta_2 \end{pmatrix} = h(\theta_1,\theta_2).$$

We observe the noisy estimates $(\hat{\mu}_1,\hat{\mu}_2,\hat{\mu}_3) = (1.1,0.8,-0.1)$ of the true moments. The standard errors of the three empirical moments are $(\hat{\sigma}_1,\hat{\sigma}_2,\hat{\sigma}_3)=(0.1,0.2,0.05)$.

We will estimate the parameters $(\theta_1,\theta_2)$ by minimum distance, matching the model-implied moments $h(\theta_1,\theta_2)$ to the empirical moments: $$\hat{\theta} = \text{argmin}_{\theta}\; (\hat{\mu}-h(\theta))'\hat{W}(\hat{\mu}-h(\theta)).$$

To compute standard errors for the estimated parameters, test hypotheses, and compute the efficient weight matrix $\hat{W}$, we use the formulas in Cocci & Plagborg-Møller (2023), which do not require knowledge of the correlation structure of the empirical moments.

Define the model

We first import relevant packages and define the model and data.

(Note: In our simple example, we have a formula for the Jacobian of $h(\cdot)$ with respect to the parameters. This could be supplied to the MinDist call using the optional argument moment_fct_deriv. The default behavior is to compute Jacobians numerically.)

Initial parameter estimates and standard errors

We first estimate the model using an ad hoc diagonal weight matrix $\hat{W}=\text{diag}(\hat{\sigma}_1^{-2},\hat{\sigma}_2^{-2},\hat{\sigma}_3^{-2})$. The numerical optimization for computing the estimates $(\hat{\theta}_1,\hat{\theta}_2)$ is started off at $(0,0)$.

(Note 1: In this simple linear example, there exists a closed-form formula for the minimum distance estimator. This formula can be supplied to the fit() function using the optional argument estim_fct.)

(Note 2: In some cases the minimum distance parameter estimate may have already been computed elsewhere. It can then be passed to the fit() function via the optional argument param_estim. The function will compute the corresponding standard errors without re-estimating the model.)

Test of parameter restrictions

Let us test whether the parameters $\theta_1$ and $\theta_2$ equal zero.

Using a 5% significance level, we cannot reject that $\theta_2$ is zero individually based on its t-statistic. However, we can reject the joint hypothesis that both parameters equal zero.

Suppose we wanted to test the joint null hypothesis that $(\theta_1,\theta_2)=(1,0)$. To do this, we first reformulate it as the hypothesis that the transformed vector $r(\theta_1,\theta_2)=(\theta_1-1,\theta_2)$ has all elements equal to zero. We can then test the hypothesis as follows.

Over-identification test

Since we have more moments (3) than parameters (2), we can test the over-identifying restriction. One common way of doing this in applied work is to estimate the model using only two of the moments and then checking whether the third, non-targeted moment at the estimated parameters is approximately consistent with the data.

Since the t-statistic is below 1.96, we can't reject the validity of the model at the 5% level.

Efficient estimation

The above estimation results relied on an ad hoc diagonal weight matrix. We can compute the weight matrix that minimizes the worst-case standard errors, and then report the corresponding estimates and standard errors.

We see that $\theta_1$ is estimated off the 1st moment only, while $\theta_2$ is estimated off the 3rd moment only (up to small numerical error).

(Note: The efficient estimates are not based on a single choice of weight matrix, since the efficient weight matrix depends on the specific parameter of interest. In the background, the analysis is actually run separately for each parameter. For this reason, it is not advised to use the test() or overid() commands with efficient estimation results. These commands are better used with estimation results that correspond to a single choice of weight matrix.)

Inference about transformed parameters

Suppose we want a confidence interval for the transformed parameter $\theta_1^2+\theta_2$. In a more realistic setting, this parameter might be some model-implied counterfactual of interest. We can do inference on transformed parameters using the transf argument to the fit function, as already used above.

(Note: If the gradient of the transformed parameter is available, we can supply it to the fit() function using the optional transf_deriv argument.)

More information about the variance-covariance matrix

Suppose we happen to also know that the first two empirical moments $\hat{\mu}_1$ and $\hat{\mu}_2$ are (asymptotically) independent. We can use this information to sharpen our inference about the parameters. First we define the known and unknown parts of the var-cov matrix of the empirical moments.

Then we define a MinDist object using this var-cov matrix and apply the estimation/testing routines.

Full-information analysis

Suppose finally that we know the entire var-cov matrix of the empirical moments. For example:

In this full-information setting, the econometric analysis is standard (Newey & McFadden, 1994). The estimation and testing routines work as before.