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

Using Descriptive Statistics for Preliminary analysis of data to be used in...

Hello. In many papers that use DiD (or staggered DiD or similar) work, I haven't seen one use new, powerful descriptive statistics tools like the dtable (or BenJan's dstat) package. I am a retired...

View Article


Merging macrodata with microdata

I have been trying to merge macro-level data from WDI with microlevel data from Afrobarometer survey using COUNTRY as the unique identifier, but without success. I destringed the COUNTRY in the macro...

View Article


Question: correct way to use fixed SD in truncreg

Dear all, is this the correct way to apply a fixed standard deviation to a truncated regression? The goal is to use a known SD and gather a precise mean estimate from the truncreg: display `sd' // 5.62...

View Article

calligram: new package for word clouds in any shape, from survey text to maps

Dear Stata Community, I would like to share calligram, a new community-contributed command for making word clouds in Stata. It started as my earlier wordcloud2 command and has grown into a different...

View Article

obtang number of cases for congressional districts

obtaing number of cases for a variable I have a survwy data set tat includes the congreessional district with a variable I have aed cdstat, ncoded to be a floating variable. I cannot determine how mnny...

View Article


logit postestimation

I have a fairly simple dataset in which a binary response is matched against drug dose: Code: * Example generated by -dataex-. To install: ssc install dataex clear input float dose int preg 0 1 0 1 0 1...

View Article

Why the option sort() allow accepting non-existing variable in graph bar?

Dear Stata users, I ran into a problem today that has been bothering me. I was making a bar chart, and when I was writing the sort() suboption inside the over() option, I accidentally misspelled a...

View Article

What is or where is parse_collapse_clist?

Dear Stata users, I use -retainlbl- command worte by Mead Over. When I try to run it on collapse, it failed. And the error suggests that command parse_collapse_clist is unrecognized. I searched in my...

View Article


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
Browsing index pages (66291 articles)


Latest Images