Thanks once again to Kit Baum, a new version of the wridit package (superseding the one announced the day before yesterday) 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 wridit.

The wridit package is described as below on my website. The new version fixes a bug in the new fridit module, which could have prevented it from handling by-variabkes and Y-variables with names beginning with underscores.

Best wishes

Roger


-----------------------------------------------------------------------------
package wridit from http://www.rogernewsonresources.org.uk/stata16
-----------------------------------------------------------------------------

TITLE
wridit: Generate weighted ridits

DESCRIPTION/AUTHOR(S)
wridit inputs a variable and generates its weighted ridits.
If no weights are provided, then all weights are assumed
equal to 1, so unweighted ridits are generated. Zero weights
are allowed, and imply that the ridits calculated for the
observations with zero weights will refer to the distribution
of weights in the observations with nonzero weights. fridit
inputs a variable and generates its weighted foreign ridits,
with respect to a distribution identified by the data in a
data frame.

Author: Roger Newson
Distribution-Date: 26october2020
Stata-Version: 16

INSTALLATION FILES (click here to install)
wridit.ado
fridit.ado
wridit.sthlp
fridit.sthlp
-----------------------------------------------------------------------------
(click here to return to the previous screen)