Issue using margins after clogit regression
Hi all, I am running a clogit regression - 'clogit oc i.student i.monthly i.collage age agesq i.month2 i.student#i.monthly i.student#i.collage, group(id) cluster(id)' where student, monthly and collage...
View Articledummy dropping
I runned a model with several dummies in Stata 13 and later the same model using Stata 14. The dummy variables dropped were not the same. Is there any official document that fully explains how Stata...
View ArticleTest Post about Outliers
I am trying to use OLS regression. I have tested my model for normality and it meets the OLS assumption except the outliers. I am wondering what's the best way to fix this without threating the...
View ArticleLimiting Effects of Outliers
I am trying to use OLS regression. I have tested my model for normality and it meets the OLS assumption except the outliers. I am wondering what's the best way to fix this without threating the...
View ArticleCompare Regression Coefficients
Hi Statalisters: I have a little problem I hope someone can help me with. I run 2 multiple regression models with the same independent variables but different dependent variables. Now, I want to know...
View ArticleRunning estimation within preserve/restore boundaries and store estimates...
Hello Stata users, I am analysing a panel dataset in which I need to use preserve and restore boundaries to identify subsamples of my dataset in order to be able to estimate fixed effect models. I...
View ArticleModeling Fixed Effects Variables and Categorical Predictors
I have the following database (some columns): person_id Manager's ID (byte) firm_id Firm ID (byte) firm_name Firm Name (string) firm_average_irr Firm's average IRR over a period of x years (no time...
View ArticleAppending different data types
Hello all, I am quit new to stata and I am already trying to get a big job done by appending 81 different files. The files are downloaded (.csv and .xlsx formats) and the data needs to be appended. The...
View Articleconformability error r(503)
I need help regarding the mlogtest for mlogit. There is an issue of "conformability error r(503)" for the mlogtest. The first 3 specs of my mlogit result results come out OK. But not for spec 4-6....
View ArticleComparing median times to OS between two crossing IPTW-adjusted KM curves
Hi all, I m doing IPTW-adjusted survival analyses to compare two treatments with Stata 13. I ve generated IPTW-adjusted KM curves for treatment A and B by using the following commands: stset...
View ArticleProblems with generating new variable from existing string variable
Hi, I am using StataSE 13.1 I have a dataset of 24,000 observations, of which i want to generate a new variable out of one of its string variable: Description of variables: ID = the unique personal...
View ArticleAre there any new commands in STATA to handle unbalanced panel regression?
Are there any new commands in STATA to handle unbalanced panel regression?
View ArticleAppending gone wrong
Hello all! I am trying to append two cluster-level datasets - baseline and endline. However, everytime I append, the values of some of the variables of endline turn into missings. In addition, the...
View ArticleBiprobit wild cluster bootstrap
Dear users, I have to estimate a biprobit model with cluster standard errors but I have few cluster issue. I would like to know how to implement the wild cluster boostrap to account for the fact I have...
View ArticleCompute mean performance before turnover event
Dear Statalisters, I am currently stuck with my data preparation, so I could use some help! I would like to compute the three-year average performance of each company before a CEO turnover took place....
View Articledrop specific data and merge datasets
I am confrontated with two problems related to dropping data and merging sets. 1) In the table below, you see that there are several companys (like alphacrunch or betamaker) who reported monthly...
View Articler(601) using findit and search
Hi, I wanted to install femlogit (and other commands) but I can't install it with findit which return error r(601). When I contacted Stata support, they told me that it is caused by firewall issue but...
View ArticleGenerating Moran Scatterplot and Lisa Cluster Map
Dear Statlist, I'm currently following the useful presentation of Maurizio Pisati, titled "Exploratory spatial data analysis using Stata". I have generated my measures of local spatial autocorrelation,...
View ArticleBART in Stata?
Hello, everyone. Is there anyway to conduct BART ( Bayesian Additive Regression Trees) package in Stata. It seems to exist in R, but what about Stata? I need it for systematic treatment effect...
View Articlecounting census using admission and discharge dates across many hospitals
I have data on multiple hospitals, patient id, date in , date out, illness severity and I want to know if being 'busy' affects discharge. I want to know if the flow of patients, the number or intensity...
View Article