How can I get more digits for a p-value?

stsflre picture stsflre · Oct 27, 2010 · Viewed 13.1k times · Source

Does someone know an easy way to get Stata to display more than just three digits for the p-value when running a Tobit regression?

Normally Stata reports that the p-value is .001 or .065, but I would like to see more digits, for example, .0011123 or .065320.

To be clear, I don't want to (necessarily) alter the way the data is produced in the regression table.

I only want to be able to get Stata to display more digits for those p-values I am interested in.

Answer

whuber picture whuber · Oct 27, 2010

Follow up the tobit command with

est tab, p(%12.10g)

(for example). This ought to work even in pretty old versions of Stata. A little less easy is to write your own output procedure.