Asking for Help
I receive lots of requests for help with methodological, statistical, and software problems. When asking for help with statistical software issues (e.g. Stata or R troubles), there are a few basic guidelines I request that you follow that will greatly aid my ability to help you with problems such as debugging code, data management, graphing errors, getting a model to estimate correctly, convergence problems, or other common issues. The most important principle is that—when possible—you should provide me with the files necessary to reproduce the problem you are having. That is, instead of only sending problematic Stata or R output to me, also send the data and coding files necessary to reproduce the problem. Keep in mind that these guidelines apply both when you are asking for help over email and when asking for help in person. Specifically, if you provide all of the following I can—almost certainly—adequately answer your question:
(1) Include basic descriptive statistics of your model variables. If you use Stata, desctable is an easy way to do this.
(2) Send a small version of the dataset you are using that includes all necessary model variables, but excludes extraneous variables in the dataset. E.g. If you are using the GSS, do not send along a dataset with thousand of variables; if you are only using 10 variables for your analysis—only include those in the dataset you send.
(3) Send a coding file (e.g. do-file for Stata) that includes only the necessary code to reproduce the problem you are encountering. I.e. This file should load the appropriate dataset and estimate any models and post-estimation necessary for the specific issue you are asking for help with. If your problem is with data management, include only the code relevant to recoding/manipulating the specific variable(s) causing the problem. That is, you should not send the files for an entire project—only send what is necessary to reproduce your specific issue.
(4) Send the relevant output that illustrates the problem and any errors messages you are encountering. E.g. This can be a Stata log-file or a text file. Again, only include output relevant to the problem you are experiencing.
(5) To ensure that my email does not reject/spam your message, do not send large files as email attachments. Instead, create a folder in Dropbox, Box, or Google Drive and include the necessary files. All of these services allow you to send a "shareable link" that will allow me to access the files.