These can be downloaded from two sites, namely from the the Statistical Software components (SSC) archive site and from this website. A user who wants the latest version of a package should download from SSC, if the user's version of Stata is ccompatible with the latest version of the package. The download facility on this website is mainly provided for users of superseded versions of Stata, who need to download a superseded version of the package, written in the user's Stata version, or in an earlier version.
Downloading Roger Newson's packages from SSC
Downloading Roger Newson's packages from this website
List of all versions of all Stata packages on this website
Whichever download source is used, the user may want to download the latest versions of all the packages, or at least the latest version of each package that can work on the user's version of Stata. This is because these packages are often used together, as a dialect of the Stata language. I have therefore provided do-files to describe, install and uninstall these maximal sets of package versions from each source. These do-files can be downloaded from the sections of this page corresponding to the two download sources, and then run in Stata using the run or do commands.
Downloading Roger Newson's packages from SSC
Downloading Roger Newson's packages from this website
List of all versions of all Stata packages on this website
Users who have installed the full set of packages for their versions of Stata may also write do-files to be run using the dolog package, taking advantage of this and other installed packages. I have therefore provided template (or crib) do-files for Stata versions 9 or higher. These can be downloaded from the table below.
| Do-file name | Description | Stata version | Download |
|---|---|---|---|
| crib11.do | Template for semicolon-delimited do-files in Stata Version 11 | 11 | Download |
| crcrib11.do | Template for carriage-return-delimited do-files in Stata Version 11 | 11 | Download |
| crib10.do | Template for semicolon-delimited do-files in Stata Version 10 | 10 | Download |
| crcrib10.do | Template for carriage-return-delimited do-files in Stata Version 10 | 10 | Download |
| crib9.do | Template for semicolon-delimited do-files in Stata Version 9 | 9 | Download |
| crcrib9.do | Template for carriage-return-delimited do-files in Stata Version 9 | 9 | Download |
To find more about Stata statistical software, click here.
Downloading Roger Newson's packages from SSC
Downloading Roger Newson's packages from this website
List of all versions of all Stata packages on this website
Statistical Software components (SSC) archive site
Stata Corporation
Return to top of page
Return to Roger Newson's main resource page
I usually follow a policy of distributing my Stata programs mainly from the Statistical Software components (SSC) archive site. Users of the latest version of Stata can download my programs from there, using the ssc command in Stata. Users of earlier versions of Stata should check that a package is written in the user's Stata version, or in an earlier version, before downloading it from SSC.
To help users of the latest Stata version to download my packages from SSC, I have written 3 Stata do-files descasisay.do, instasisay.do and uninstasisay.do, which users can download from this page. descasisay.do attempts to describe the current versions, on SSC, of the packages, using the ssc describe command. instasisay.do attempts to install, on the user's site, the current versions, on SSC, of the packages, using the ssc install command, and replacing all existing versions of these packages. uninstasisay.do attempts to uninstall, on the user's site, all of my SSC packages (but does not attempt to uninstall any other SSC packages provided by other authors). The user therefore may install (and uninstall) all my packages at once, instead of installing (and uninstalling) them one by one. This option is useful, as these packages are often used together as a dialect of the Stata language.
To execute these do-files in a Stata session, download them from this page to your local folder. Then, type, in Stata,
do descasisay
to execute descasisay.do, and/or type, in Stata,
do instasisay
to execute instasisay.do, and/or type, in Stata,
do uninstasisay
to execute uninstasisay.do.
| Do-file name | Description | Stata version | Download |
|---|---|---|---|
| descasisay.do | Describe Roger Newson's packages from SSC | None | Download |
| instasisay.do | Install Roger Newson's packages from SSC | None | Download |
| uninstasisay.do | Uninstall Roger Newson's packages from SSC | None | Download |
Return to top of page
Return to Roger Newson's main resource page
The SSC archive is maintained by Kit Baum, who does an excellent job, and is greatly appreciated in the Stata Community for this. However, there are two main limitations of using SSC alone:
findit keyword
or
net search keyword
in Web-aware Stata.
I have therefore attempted to remedy these disadvantages by having my own site, which contains a separate folder for programs written in each Stata version, and .pkg files written by myself. My own site currently contains most of my Stata packages. A few additional packages (probably obsolete in the latest version of Stata) can be found at the SSC archive site. Users are advised to access them inside Web-aware Stata, using the commands
findit package_name
or
net search package_name
or
net from http://www.imperial.ac.uk/nhli/r.newson/
if the user's version of Stata supports one of those commands.
I have provided some Stata do-files for use by users of versions of Stata from version 9 upwards, which a user can run in Stata, to describe and install, from my website, the latest version of each Stata package compatible with the version of Stata used by the user. I have also provided do-files to uninstall each of these sets of packages. All of these do-files can be downloaded from the table below.
| Do-file name | Description | Stata version | Download |
|---|---|---|---|
| descasisay_11.do | Describe packages in Stata versions up to 11 | None | Download |
| instasisay_11.do | Install packages in Stata versions up to 11 | None | Download |
| uninstasisay_11.do | Uninstall packages in Stata versions up to 11 | None | Download |
| descasisay_10.do | Describe packages in Stata versions up to 10 | None | Download |
| instasisay_10.do | Install packages in Stata versions up to 10 | None | Download |
| uninstasisay_10.do | Uninstall packages in Stata versions up to 10 | None | Download |
| descasisay_9.do | Describe packages in Stata versions up to 9 | None | Download |
| instasisay_9.do | Install packages in Stata versions up to 9 | None | Download |
| uninstasisay_9.do | Uninstall packages in Stata versions up to 9 | None | Download |
However, if the user cannot download the package version using Stata, or does not want to, then s/he can download the package versions (as .zip files) from the table below. These .zip files can be unzipped into the user's personal ado folder, and should then work if the user has the same version of Stata, or a higher version. If there are multiple versions of a package, corresponding to multiple Stata versions, then the user should choose the highest available version at or below his/her own Stata version.
Return to top of page
Return to Roger Newson's main resource page
| Package name | Description | Stata version | Download |
|---|---|---|---|
| addinby | Add in data from a disk dataset using a foreign key | 10 | Download |
| addinby | Add in data from a disk dataset using a foreign key | 11 | Download |
| adodev | Reorder ado-path for developers and other independent-minded users | 10 | Download |
| bmjcip | Format confidence intervals and P-values for medical journals | 9 | Download |
| bmjcip | Format confidence intervals and P-values for medical journals | 10 | Download |
| bmjcip | Format confidence intervals and P-values for medical journals | 11 | Download |
| bpmedian | Bonett-Price confidence intervals for medians and their contrasts | 10 | Download |
| bspline | Create a basis of B-splines or reference splines | 6 | Download |
| bygap | Insert a by-gap observation at the start of each by-group | 7 | Download |
| bynote | Create a note with a user-specified format for use with the by option | 10 | Download |
| cgroup | Group contiguous observations with identical values of a varlist | 10 | Download |
| chardef | Assign values to a characteristic of a list of variables | 11 | Download |
| creplace | Exchange values cyclically between variables | 11 | Download |
| descsave | Extension of describe creating output files | 7 | Download |
| descsave | Extension of describe creating output files | 8 | Download |
| descsave | Extension of describe creating output dataset and do-file | 9 | Download |
| descsave | Extension of describe creating output dataset and do-file | 10 | Download |
| dolog | Execute commands from a file, creating a log file | 6 | Download |
| dolog | Execute commands from a file, creating a log file | 7 | Download |
| dolog | Execute commands from a file, creating a log file | 8 | Download |
| dolog | Execute commands from a file, creating a log file | 9 | Download |
| dolog | Execute commands from a file, creating a log file | 10 | Download |
| dolog | Execute commands from a file, creating a log file | 11 | Download |
| dologx | Multiple versions of dolog for executing certification scripts | 8 | Download |
| dologx | Multiple versions of dolog for executing certification scripts | 9 | Download |
| dologx | Multiple versions of dolog for executing certification scripts | 10 | Download |
| dologx | Multiple versions of dolog for executing certification scripts | 11 | Download |
| dotex | Execute a do-file generating a SJ LaTeX log | 7 | Download |
| dotex | Execute a do-file generating a SJ LaTeX log | 10 | Download |
| dotex | Execute a do-file generating a SJ LaTeX log | 11 | Download |
| dsconcat | Concatenate a list of Stata data files into the memory | 6 | Download |
| dsconcat | Concatenate a list of Stata data files into the memory | 7 | Download |
| dsconcat | Concatenate a list of Stata data files into the memory | 9 | Download |
| dsconcat | Concatenate a list of Stata data files into the memory | 10 | Download |
| eclplot | Horizontal and vertical confidence interval plots | 8 | Download |
| eclplot | Horizontal and vertical confidence interval plots | 9 | Download |
| eclplot | Horizontal and vertical confidence interval plots | 10 | Download |
| estparm | Save results from a parmest resultsset and test equality | 10 | Download |
| estparm | Save results from a parmest resultsset and test equality | 11 | Download |
| expgen | Duplicate observations and add generated variables | 6 | Download |
| expgen | Duplicate observations and add generated variables | 9 | Download |
| expgen | Duplicate observations and add generated variables | 10 | Download |
| explist | Creating exponentially-spaced lists of numbers | 7 | Download |
| factext | Extract factor values from a label variable created by parmest | 7 | Download |
| factext | Extract factor values from a label variable created by parmest | 10 | Download |
| factmerg | Merge a list of factors to create string variables | 7 | Download |
| factref | Insert new observations with reference values for factors | 7 | Download |
| fvregen | Regenerate factor variables in a parmest output dataset | 11 | Download |
| gphepssj | Translate a list of Stata graph files to Stata Journal .eps figures | 7 | Download |
| haif | Homoskedastic adjustment inflation factors for model selection | 10 | Download |
| haif | Homoskedastic adjustment inflation factors for model selection | 11 | Download |
| harmby | Harmonize values of variables within by-groups | 7 | Download |
| inccat | Concatenate input files to an output file (possibly with insertions) | 7 | Download |
| ingap | Insert gap observations in a data set | 7 | Download |
| ingap | Insert gap observations in a dataset | 10 | Download |
| intext | Read text files into string variables (without losing blanks) | 7 | Download |
| intext | Read text files into string variables (without losing blanks) | 9 | Download |
| invcise | Compute standard errors using the inverse confidence interval method | 10 | Download |
| keyby | Key the dataset by a variable list | 9 | Download |
| keyby | Key the dataset by a variable list | 10 | Download |
| lablist | List value labels (if present) for one or more variables | 9 | Download |
| lincomest | Extension to lincom saving the combination as estimation results | 7 | Download |
| lincomest | Extension to lincom saving the combination as estimation results | 8 | Download |
| lincomest | Extension to lincom saving the combination as estimation results | 10 | Download |
| listtab | List variables as rows of a TeX, HTML or word processor table | 11 | Download |
| listtex | List variables as rows of a TeX, HTML or word processor table | 7 | Download |
| listtex | List variables as rows of a TeX, HTML or word processor table | 8 | Download |
| listtex | List variables as rows of a TeX, HTML or word processor table | 9 | Download |
| listtex | List variables as rows of a TeX, HTML or word processor table | 10 | Download |
| metaparm | Meta-analysis and transformations using parmest resultssets | 8 | Download |
| parmest | Save estimation results as a data set with 1 obs per parameter | 5 | Download |
| parmest | Save estimation results as a data set with 1 obs per parameter | 6 | Download |
| parmest | Convert estimation results to a data set with 1 obs per parameter | 7 | Download |
| parmest | Convert estimation results to a data set with 1 obs per parameter | 8 | Download |
| parmest | Create datasets with 1 observation per estimated parameter | 9 | Download |
| parmest | Create datasets with 1 observation per estimated parameter | 10 | Download |
| parmest | Create datasets with 1 observation per estimated parameter | 11 | Download |
| pcontract | Make a data set of frequencies and percentages | 8 | Download |
| powercal | Generalized power calculations saving results in variables | 7 | Download |
| prodvars | Create product variables for two lists of input variables | 10 | Download |
| qqvalue | Generate quasi-q-values by inverting multiple-test procedures | 10 | Download |
| qrowname | Extract lists of quoted row and column names from a matrix | 7 | Download |
| regaxis | Regular linear and logarithmic axis scales, ranges and tick lists | 8 | Download |
| rsource | Run R from inside Stata using an R source file | 9 | Download |
| rsource | Run R from inside Stata using an R source file | 10 | Download |
| rtfutil | Utilities for writing Rich Text Format (RTF) files | 11 | Download |
| scheme_rbn1mono | Minimal monochrome graphics schemes | 9 | Download |
| scheme_rbn1mono | Minimal monochrome graphics schemes | 10 | Download |
| sdecode | Decode a numeric variable to string, formatting unlabelled values | 7 | Download |
| sdecode | Decode a numeric variable to string, formatting unlabelled values | 9 | Download |
| sdecode | Decode a numeric variable to string, formatting unlabelled values | 10 | Download |
| sdecode | Decode a numeric variable to string, formatting unlabelled values | 11 | Download |
| sencode | Encode a string variable non-alphanumerically into a numeric variable | 7 | Download |
| sencode | Encode a string variable non-alphanumerically into a numeric variable | 9 | Download |
| sencode | Encode a string variable non-alphanumerically into a numeric variable | 10 | Download |
| senspec | Sensitivity and specificity results saved in generated variables | 8 | Download |
| smileplot | Multiple test procedures and smile plots | 7 | Download |
| smileplot | Multiple test procedures and smile plots | 8 | Download |
| smileplot | Multiple test procedures and smile plots | 10 | Download |
| somersd | Confidence intervals for Somers' D and Kendall's tau-a | 5 | Download |
| somersd | Kendall's tau-a, Somers' D and median differences | 6 | Download |
| somersd | Kendall's tau-a, Somers' D and percentile slopes | 9 | Download |
| somersd | Kendall's tau-a, Somers' D and percentile slopes | 10 | Download |
| stcmd | Run the Stat/Transfer st command from inside Stata | 6 | Download |
| stcmd | Run the Stat/Transfer st command from inside Stata | 9 | Download |
| stcmd | Run the Stat/Transfer st command from inside Stata | 10 | Download |
| strdate | Replace string date variables with numeric date variables | 7 | Download |
| subsave | Save a subset of the dataset in memory to a disk file | 9 | Download |
| varlabdef | Define a value label with values corresponding to variables | 10 | Download |
| xcollapse | Make data set of summary statistics on disk or in memory | 8 | Download |
| xcontract | Make data set of frequencies and percents on disk or in memory | 8 | Download |
| xdatelist | Create ascending numeric lists of dates | 7 | Download |
| xdatelist | Create ascending numeric lists of dates | 10 | Download |
| xgroup | Group the data creating a group variable and/or output dataset | 10 | Download |
| xsvmat | Convert a matrix to variables in an output dataset | 10 | Download |
Return to top of page
Return to Roger Newson's main resource page
Roger B. Newson
Email: r.newson@imperial.ac.uk
Text written 26 October 2009. (Packages and do-files may have been added, deleted or revised since then.)
Stata Corporation
Statistical Software components (SSC) archive site
Return to top of page
Return to Roger Newson's main resource page