Quantcast
Channel: Statalist
Browsing index pages (74058 articles)
↧

Class programming

Dear All When writing a Stata code I want to dump the description of the current object. If the object already exists, I can do it with: Code: classutil des .myobj But now I want to do it in the...

View Article


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 Article


2SLS 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 Article

New 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 Article

Query about Lag

I have a query regarding lag taking in the stata. Please, can you give a information about the lag.

View Article


Prediction 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 Article

2026 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 Article

Plausible 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 Article


SSC 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 Article


wrong 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 Article

Help 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 Article

get 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 Article

SSC 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 Article


Stata 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 Article

Winsorization 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 Article


hmerge: 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 Article

Reducing 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 Article


New 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 Article

relative 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 Article

Repeated 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 Article
Browsing index pages (74058 articles)


Latest Images