Cramers V with weighted data
Hello, I was wondering if anyone knew how to perform a Cramers V with weighted data? I found some code in this old Statalist post below. Would the code I produced based on the blog post below be an...
View Article2SLS Appropriate with a Binary Endogenous Regressor and a Continuous...
HI, I would appreciate some advice regarding the suitability of conventional fixed-effects 2SLS for my panel data analysis. My dependent variable (y) is continuous, while my potentially endogenous...
View ArticleNew on SSC: rcsplot — publication-ready restricted cubic spline plots with...
I am pleased to announce that rcsplot is now available from the SSC archive. To install: ssc install rcsplot rcsplot fits a restricted cubic spline (RCS) model for a continuous exposure and produces a...
View ArticleQuery about Lag
I have a query regarding lag taking in the stata. Please, can you give a information about the lag.
View ArticlePrediction Models and Stabilised Inverse-Probability of Treatment Weighting
Hi Statalist, I am trying to build a prediction model to estimate the true burden of respiratory syncytial virus (RSV), the leading cause of hospitalisation in young children, in Western Australia...
View Article2026 Stata Conference proceedings now available
Proceedings for presentations at the 2026 Stata Conference in Boston last week are now available on RePEc services: https://econpapers.repec.org/paper/bocusug26/ and...
View ArticlePlausible Exogeneity test on Control Function Instruments
I have used control function approach to test for endogeneity of my variables. Now I want to test the validity of my instrument using Plausible Exogeneity. Is there a way to do that in Stata?
View ArticleSSC Archive access statistics
Statistics for September 2026 access to the SSC Archive are now available at http://repec.org/docs/sscAuthors.html shows the oervall ranking of almost 1600 authors of community-contributed software for...
View Articlewrong SE in dsregress with cluster() option
Hi statalisters, it looks like when you run the following model: Code: dsregress Y T, controls(X1 X2...) cluster (clustervar) dsregress does not generate an error and simply provide the double lasso...
View ArticleHelp with using Monte Carlo Simulation to do sensitivity power analysis on a...
Hi, I am a psychology honours student who is using a mixed multilevel model for one of my research questions. I am considering using Monte Carlo simulation to do a sensitivity power analysis. However,...
View Articleget AMEs by combining -margins- with some sort of parallel process?
Dear Statalist: I am running a massive multinomial logistic regression using restricted data on an organization's servers. I'm trying to get average marginal effects. This is not my machine, I have to...
View ArticleSSC activity, September 2026
During the last month, 28 packages have been added to the SSC Archive, and 42 packages have been updated, for a total of 4,014 packages. At this week's Stata Conference in Boston, I will present...
View ArticleStata Sociology Virtual Symposium 2026
The 2026 Stata Sociology Virtual Symposium is a meeting of researchers in sociology from around the world discussing current theory and applied methods using Stata. The proceedings consist of invited...
View ArticleWinsorization of variables using winsor2
I winsorized 25 variables simultaneously using the winsor2 command in Stata. However, I noticed that the first variable in the variable list does not appear to have been winsorized correctly and...
View Articlehmerge: a prototype hash-based -merge- (m:1, 1:1) that skips the master sort,...
It occurred to me today that once upon a time I remember gtools having a long to-do list of speedups the author wanted to implement but never did, and that there were probably plenty of speedups we...
View ArticleReducing data set
Is there a way to exclude cases from a dataset if they do not have sufficient observations? I wrote: keep house if _n(VCF0900c >= 45) but it didn't work Is there a solution to this problem? Thanks...
View ArticleNew Stata command: xtie2 – Interactive panel data estimation with automatic...
Dear Statalist members, I would like to introduce xtie2, a new user-written Stata command for fixed-effects panel estimation with automatic pairwise interactions. The command automatically generates...
View Articlerelative survival poisson model
HI Statalist, I am trying to model rs using a poisson model as per Royston and Lambert's book Flexible Paremetric Survival Analysis using Stata (2011). I have found the mean/variance is not equal. Does...
View ArticleRepeated cross-sectional LCA with multi-level data
Hi there, I want to conduct a latent class analysis of repeated cross-sectional data. Participants in the dataset were sampled and recruited at the school level; therefore, I would like to include a...
View ArticlePSA: Replacing string values does not entirely remove the old values from the...
I want to alert people who de-identify, anonymize, or share data to a behavior of Stata's .dta writer. I reported it to StataCorp Technical Support on 7 September. Details of their reply are at the...
View Article