Does Stata store the results of the se option for the command svy: tabulate...
Good Afternoon, I am able to use the following commands to automate the reporting of summary statistics for a complex survey analysis that I am running: : svy: tabulate myvar, se matrix z = e(b)' local...
View Articleomitted because of collinearity then how to interpret the result
Dear all: I am running a dissertation using stata 13 to investigate how critics(views and experts) influence box office. I initially divide views' critics(raverage) into four categories, so as experts'...
View Article-firthlogit- is updated on SSC
Thanks to Kit Baum, an updated version of firthlogit is now available for installation from SSC. It is a maintenance update, fixing two bugs, one for handling weights and the second for handling...
View ArticleHelp with stset probable error
Please kindly advice me, I am try to do a survival analysis on stroke recurrence, after stset the data, I got the folllowing message: stset survy died failure event: died != 0 & died < . obs....
View Articletab with substr
I need to display all values starting with "310" of the variable proc_rea2. Why when I ask stata to display all values beginning with 3, it works, and when I do it for values beginning with 310, it...
View Articlelooking for words in variable string values
I have a dataset with some codes and descriptions like below. How can I search for words in the description variable (descr)? : proc descr 3001016 TEMPO DE CIRCULACAO ARTERIAL 3001024 CATETERISMO DE...
View ArticleDiagnostics dichotomous logit: overdispersion
Hi, I am new to Stata and I am cur​rently analysing syndication patterns across venture capital investments in Europe (y/n when investment is syndicated). For correct model specification I checked...
View ArticleConstant term - fixed effects
Dear all, This might be a silly question, however, can't find any information about it online (there is a lot on the constant term but little when dealing with its significance). I understand that the...
View ArticleLabel var after reshape- loop
Hi all, i would appreciate any help in the with the following- I want to label variable after reshaping to wide format. I have the original do-files, and what i wish to do is to label every var by it...
View Articlekeeping observations of specific cases
I have a dataset in which each line corresponds to a specific procedure (variable proc_cod) of a particular hospitalization (variable id_aih). A hospitalization can have different procedures performed....
View ArticleInteraction in -reghdfe-
I have the regression reghdfe log(demand) log(price) region#c.log(price), absorb("fixed effect...") vce(robust) In order to have the price elasticity change among regions, I added this interaction...
View ArticleUsing Arellano-Bond with Difference-in-Difference
Hello. I am not sure whether I can use Arellano-Bond method together with DiD specification. Is it possible? I think it can be done, but does it make sense? Please give some comments!!
View ArticleSub analyses of a categorical variable
Hi, So I have a categorical variable for baseline and discharge diagnoses. I have a secondary outcome of seeing which people (from which had a non-affective disorder at baseline) then shifted to...
View Articleerrors after updating Mac OS 10.6 --> 10.10
I own a copy of Stata 12.1 MP, and for the past 4 years I have used it on a MacBook Pro (using OS X 10.6 Snow Leopard). Recently I had a hard disk failure on that machine, and have since migrated my...
View ArticleSet pecking order
Hi, Im working with 10 variables and I want to generate a new variable that takes the average value of 1-3 (maximum) variable/s from the 10variables (condition on within the 10variables there are...
View ArticleUsing stata for Gravity model
Please I am writing my thesis for my masters program. I am estimating the gravity model and I need guidance on the command to use. firstly I have dummy variables, some bilateral, while some are country...
View ArticleUsing all available data with xtreg
Hello- I am using xtreg to conduct an analysis of executive function skills and academic achievement with fixed effects. I have repeated measures from 6 time points. I am writing this post to see if...
View ArticleTime dummies in Panel Data
Hello all, I have a general question about fixed effect estimation in Stata concerning time dummies. What is the difference between having one trend variable (1,2,3..T) and having T-1 dummy variables...
View ArticleHow to proceed "XTGLS" with OUTREG2?
Dear STATA Expert. This is Jays. I've been trying to make result table with outreg2, but I've encountered the message "the file....could not be opened" My estimation model is "XTGLS" When I try to use...
View ArticlePrincipal Component Analysis
Dear All, I am trying to estimate a Production Function at firm level augmented with different dimensions of territorial variables (e.g human capital, social capital, infrastructure etc.) I have more...
View Article