Thanks as always to Kit Baum, a new version of the wridit package is now available for download from SSC. In Stata, use the ssc command to do this, or adoupdate if you already have an old version of wridit.
The wridit package is described as below on my website. In the new version, the fframe() option of the module fridit has a xvar(varname) option, allowing users to calculate foreign ridits for a variable with respect to a variable with a different name in the foreign frame, instead of with respect to a variable with the same name in a different frame.
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: 21july2021
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)
Related Posts with New version of wridit on SSC
Panel VECM in STATA I am giving a general description of the model in a panel setting: Let y, a, b, and z are four vari…
Bootstrapped SE with Two-Sample IV: "insufficient observations to compute bootstrap standard errors"I am not sure if this is kosher but I am trying to calculate bootstrapped standard errors for a two-…
Replace missing values from a different rowI have data that are in long format where one ID has four rows of data. Only one row has information…
Code for Marginsplot Interaction Terms - Error/questionsHi all, I am trying to determine whether the effect of income (continuous var) on cash usage depend…
How to sort data for distinct IDs with multiple visits and multiple valuesDear all, I have a dataset that has multiple visits for each person. However each person had a diff…
Subscribe to:
Post Comments (Atom)
0 Response to New version of wridit on SSC
Post a Comment