Thanks as always to Kit Baum, a new version of the bmjcip package is now available for download from SSC. In Stata, use the ssc package to do this, or adoupdate if you already have an old version of bmjcip.
The bmjcip package is described as below on my website. The new version adds a new option pformat(format), allowing the user to reset the display format for P-values and Q-values. The default format is still %-10.2g, intended as a compromise between 20th century medical scientists (who do not like scientific notation) and 21st century geneticists (who use e-formats routinely in their results tables because they routinely use mega-SNP biochips, implying that a P-value <0.0005 is not as good as zero).
Best wishes (and have a good 2023)
Roger
-----------------------------------------------------------------------------
package bmjcip from http://www.rogernewsonresources.org.uk/stata11
-----------------------------------------------------------------------------
TITLE
bmjcip: Format confidence intervals and P-values for medical journals
DESCRIPTION/AUTHOR(S)
bmjcip reformats a list of numeric variables, containing estimates
and/or confidence limits and/or P-values, to string variables,
containing the same values formatted for presentation in medical
journals. The new string variables replace the old numeric
variables, and have the same names, variable labels, variable
characteristics, and positions in the dataset. bmjcip is usually
used in output datasets (or resultssets) produced by the parmest
package, and the reformatted string variables are usually later
output using the listtab package, for input to Microsoft Word or
other word processors. It requires the sdecode package in order to
work. The sdecode, parmest and listtab packages can all be
downloaded from SSC.
Author: Roger Newson
Distribution-Date: 29december2022
Stata-Version: 11
INSTALLATION FILES (click here to install)
bmjcip.ado
bmjcip.sthlp
-----------------------------------------------------------------------------
(click here to return to the previous screen)
The bmjcip package is described as below on my website. The new version adds a new option pformat(format), allowing the user to reset the display format for P-values and Q-values. The default format is still %-10.2g, intended as a compromise between 20th century medical scientists (who do not like scientific notation) and 21st century geneticists (who use e-formats routinely in their results tables because they routinely use mega-SNP biochips, implying that a P-value <0.0005 is not as good as zero).
Best wishes (and have a good 2023)
Roger
-----------------------------------------------------------------------------
package bmjcip from http://www.rogernewsonresources.org.uk/stata11
-----------------------------------------------------------------------------
TITLE
bmjcip: Format confidence intervals and P-values for medical journals
DESCRIPTION/AUTHOR(S)
bmjcip reformats a list of numeric variables, containing estimates
and/or confidence limits and/or P-values, to string variables,
containing the same values formatted for presentation in medical
journals. The new string variables replace the old numeric
variables, and have the same names, variable labels, variable
characteristics, and positions in the dataset. bmjcip is usually
used in output datasets (or resultssets) produced by the parmest
package, and the reformatted string variables are usually later
output using the listtab package, for input to Microsoft Word or
other word processors. It requires the sdecode package in order to
work. The sdecode, parmest and listtab packages can all be
downloaded from SSC.
Author: Roger Newson
Distribution-Date: 29december2022
Stata-Version: 11
INSTALLATION FILES (click here to install)
bmjcip.ado
bmjcip.sthlp
-----------------------------------------------------------------------------
(click here to return to the previous screen)