Thanks as always to Kit Baum, a new package srslogit is now available for download from SSC. In Stata, use the ssc command to do this.
The srslogit package is described as below on my website. It fits a primary logit model and (optionally) a secondary ridit spline model in the ridit of the predicted odds. It requires the existing SSC packages wridit and bspline in order to work, and optionally adds to the dataset new variables, containing the predicted odds, probabilities, and inverse probability weights for the 2 logistic models. Its main application is probably in computing treatment-propensity weights and completeness-propensity weights.
Best wishes
Roger
---------------------------------------------------------------------------------
package srslogit from http://www.rogernewsonresources.org.uk/stata16
---------------------------------------------------------------------------------
TITLE
srslogit: Logit regression with secondary ridit splines
DESCRIPTION/AUTHOR(S)
srslogit fits a primary logit model for a binary dependent variable
in a list of independent variables, followed optionally by a
secondary ridit spline model for the same binary dependent variable
in the ridit of the predicted dependent variable from the primary
logit model. It optionally outputs variables created in this
process, including the predicted values (also known as propensity
scores) and inverse probability weights (also known as inverse
propensity weights) from the primary and secondary logit models.
These propensity weights may be used as treatment propensity weights
(if the dependent variable is a treatment indicator) or as
completeness-propensity weights (if the dependent variable is a
completeness indicator). srslogit uses the SSC packages wridit and
bspline, which have to be installed in order for srslogit to run.
Author: Roger Newson
Distribution-Date: 28august2021
Stata-Version: 16
INSTALLATION FILES (click here to install)
srslogit.ado
srslogit.sthlp
---------------------------------------------------------------------------------
(click here to return to the previous screen)
Related Posts with New package srslogit on SSC
DID Model with multiple treatment GroupDear All, I am in the midst of doing up my thesis paper and have encountered some problem with rega…
Firm fixed effects in SEM (unbalanced panel data)Dear all, that is my first post here on Statalist; I hope my request is in line with this forum's p…
Error when doing graphing or using twoline commandI am a newbie in this field. I just used this Stata Program today. My current Stata ver is 14.1 and …
Replace missing observations with the average of non-missing observationsDear Stata Users, Please, help me to resolve the following issue with reduced sample of data below:…
What is the Stata command to generate a variable that would take the initial value of the other variable?Dear all, I have panel covering the period 1970-2010 with country-year being the unit of analysis. …
Subscribe to:
Post Comments (Atom)
0 Response to New package srslogit on SSC
Post a Comment