Bar graph percentages
Could I please ask to for an advice. I have install cat plot and tab plot into my Stata (13). I have done a survey. For each questions the responders could respond by choosing on of the following...
View Article-eventstudy2- available on SSC: program to perform event studies with complex...
Thanks to Kit Baum, the program eventstudy2 is now available on SSC. eventstudy2 allows the user to analyze capital market reactions to corporate events. Complex test statistics for (cumulative)...
View ArticleJohn M. Chambers Statistical Software Award 2016
John M. Chambers Statistical Software Award 2016 The Statistical Computing Section of the American Statistical Association announces the competition for the John M. Chambers Statistical Software Award....
View Articleusing "keep if" but trying to shorten code
I have a _dta file with data for 100 metro areas. My current code uses the "tabulate" function to list the mean and standard deviation for three variables (variable1, variable2 and variable3) for only...
View ArticleFixed effects in cross sectional data
Hi everyone, I have been stuck with a problem for a while and I hope someone here can help me. I am new to econometrics so please excuse the elementary nature of the question! I want to know if there...
View Articleheckprob - please help to validate my code
. heckprob q10a_dum1 educ_dum2 educ_dum3 femdum2 age age2 inc_q_dum1 inc_q_dum2 inc_q_dum3 inc_q_dum4 regionwb_DUM1 regionwb_DUM2 regionwb_DUM3 regionwb_DUM4 regionwb_DUM5, select(GLEE) vce(cluster...
View ArticleWriting double quotes to a file
I am struglling with writing double quotes to a file, see the following example : cap file close myfile file open myfile using address.do, write replace file write myfile "global root `" " " '...
View Articlespmap basic problem
I am new in SPMAP and I am finding some problem in dispaying the name of the regional units in the map. Moreover I would like to know how to specify jencks interval in spmap and how to eliminate "(" or...
View Articlefixed effects model: controlling for different groups
Hello. I have got panel data and use fixed effects model for my regression. : xtset id date xtreg deposit age income, fe vce(Cluster id) Now I want to control for different groups. As it is not...
View ArticleStata and Strings
Hi, I know this came up already and I googled this a thousand times already, but I kind a always run into the same problem and I finally want to know what's the best way to solve this issue. I have a...
View ArticleError message when using xtabond2
Dear Stata users, I am using xtabond2 to estimate an econometric model. However, when running my regressions, I get the follwing message from STATA "Favoring space over speed. To switch, type or click...
View Articleaweights in binary logit regressions
I have learnt that since Stata 10.1, the use of analytical weights were removed due to their interpretational difficulties. When running a regression while still hoping to correct for sampling issues,...
View ArticleOutput table (exporting files) - eststo and estab
Good day all, I have used the *eststo. command and *estab. to export stata regression coefficient tables to excel but it is not working for my marginal effects coefficients. what happens is the initial...
View ArticleMultinomial logit, IIA and gllamm
Hi Statalisters, I am using a discrete time multinomial logit with five competing risks, plus non-choice being the sixth outcome. It is pretty clear that I have to deal with the IIA issue somehow. The...
View ArticleHow to combine two graphs with different width/height so that x-axes are on...
I do have two "twoway connected plots" that I want to combine side by side of each other. (To give an example: graph 1: process 1 graph 2: process 2 y-axes for both graphs: temperature in process...
View Articlesvy: glm with gamma family and log link
Hi, I am running a svy: glm model with gamma family and log link. below is the command and the results : svy: glm KS4_PTSTNEWG S_Trelation_A if sample1==1, family(gamma) link(log) eform log Iteration...
View ArticleUrgent Date Question
Hello all! I know that this could probably be found in documentation somewhere but I need to have this finished ASAP so I thought I'd come here. I have quarterly dates in the format 19854 and need them...
View ArticleAdvice on data management in Stata
Hi I'm just about to start cleaning and putting together a very large dataset (something I've never done before) and would like some advice on the best way to go about it. I recently received 10...
View ArticleNeed Help to Produce a Descriptive Statistics Table
Hello I created a regression table and now I would like to get descriptive data for the variables in my regression. I do not want general descriptive information for each variable, but specific...
View ArticleWhat matching method for Propensity Score Matching
Dear Statalister, This if my first post so please forgive any etiquette mistakes... I'm trying to figure what matching method to use for my study. I'm using Stata/IC 14.0, and the user-written program...
View Article