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
Calculating changes in a variable over irregular intervals when a condition is met in grouped dataI've been calculating changes in GDP in countries for adjacent quarters (gen ch_gdp =gdp_quart-gdp_q…
Getting the underlying data from LROCI have run a probit model and then used the command -lroc to draw a ROC curve. I want to extract the…
How to create dummy variable with condition that it needs to have 3 observation in 5 years?I have a question how to create a dummy variable with certain conditions. I know how to create a dum…
Birth CohortsHi statalist! I would like to make birth cohorts (5 years gap and above 25 years old adult). I have…
Herfindahl-Hirschman Index, command ignores existing valuesHello! I am a PhD student in International Business and Economics. I am studying MNEs. I would like…
Subscribe to:
Post Comments (Atom)
0 Response to New version of wridit on SSC
Post a Comment