Skip to main content Accessibility help
×
Hostname: page-component-848d4c4894-2xdlg Total loading time: 0 Render date: 2024-06-19T17:55:47.344Z Has data issue: false hasContentIssue false

D - Bootstrapping Standard Errors of Marginal Effects on Inefficiency

Published online by Cambridge University Press:  05 February 2015

Subal C. Kumbhakar
Affiliation:
Binghamton University, State University of New York
Hung-Jen Wang
Affiliation:
National Taiwan University
Alan P. Horncastle
Affiliation:
Oxera Consulting, Oxford
Get access

Summary

This appendix shows an example of how to bootstrap standard errors of variables' marginal effects on inefficiency. The example follows the model discussed on page 81.

Recall the model we considered is estimated by the following commands.

  1. • use milk

  2. • global xvar llabor lfeed lcattle lland

  3. • sfmodel ly, prod dist(t) frontier($xvar) mu(comp) usigmas(comp) vsigmas()

  4. • sf_srch, n(1) frontier($xvar) mu(comp) usigmas(comp)

  5. • ml max, difficult gtol(1e-5) nrtol(1e-5)

The marginal effects of comp on the inefficiency is calculated here:

  1. • sf_predict, bc(bc_w) marginal

The following is the marginal effect on unconditional E(u) from FOC.

The mean marginal effect of comp on uncond E(u) is -. 03604191 (see comp_M).

The following is the marginal effect on uncond V(u) from FOC.

The mean marginal effect of comp on uncond V(u) is -. 0064839 (see comp_V).

Now, we bootstrap the standard errors of the statistics −. 03604191 and −. 0064839; that is, the mean marginal effect of comp on both E(u)and V(u). This is undertaken using the program below.

Before the illustration, we discuss an important issue. One of the difficulties in bootstrapping statistics from an ML model is what to do with a replication for which the numerical maximization fails. The approach, which we recommend, is to record and examine the problematic bootstrap sample and try to understand and fix the problem. The problem may be solved, for example, by using a different set of initial values. This procedure, however, requires more elaborate codes and user interaction with the program.

The following program, however, takes an easier route for demonstration purposes. It simply discards the samples that fail to converge. In order to make it work, the program has to aim at a number of replications which is larger than the desired (user specified) number in order to make room for the error samples. By default, the program aims at bootstrapping five times as many as the specified samples, but an algorithm is added so that the program stops when the desired (user specified) number of useable (i.e., no estimation error) bootstrap samples is reached.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2015

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×