Research Methods

Making an Analysis Easier to Reproduce

Reproducible analysis gives another reader enough information to follow how the figures and tables were produced.

Reproducible analysis gives another reader enough information to follow how the figures and tables were produced.

Draw the inputs and outputs

Write down which input files or database extracts feed each figure, table, and summary. Use file versions or dates and explain when input data are restricted. Keep intermediate steps identifiable so a reviewer can tell where a number was transformed.

Make the order explicit

Explain what must run first, where configuration belongs, and how the environment was recorded. Small examples built from synthetic data can help a colleague check the steps when real records are access-controlled. Test the instructions from a clean working folder.

Compare the outputs

Check row counts, variable names, and representative estimates against your manuscript. If results vary due to random initialization, record how you controlled or measured the variation. Save the validated instructions with the corresponding report.

More from the blog