regress: missing F and Prob>F value
Hi all, I am working on my thesis (part of the analysis is to find whether having a Chief Innovation Officer (CINO) affects Sales growth performance, especially under certain contingencies). When I run...
View ArticleImputation problem
Dear all: I am working with data from a large cohort study in which participants were asked, retrospectively, about their work history. Data are structured such that there is one observation (row) per...
View Articlesave the command from review window
Dear Statalisters, If I issued several commands and see the results in review window, what is a quick way of saving these commands into a do file for future use? Regards, Rochelle
View ArticleChow Test
Hello everyone, I'm currently working in panel data and I want to choose between a fixed effects model and a pooled ols model. To do so, I think I have to perform a Chow Test. I did some research, but...
View ArticleTemporary file for merge
Dear Statalisters, In a do editor if I generally write code line by line and execute a few lines in a batch, but not the entire program. suppose I have the following code : use master keep xvar1 yvar...
View Article'mvtobit' with 'robust cluster()' options
Hi all, I am estimating a bivariate tobit model using mvtobit in Stata. The command I used is 'mvtobit (y1=$x1) (y2= $x2 ), robust cluster(group)'. where y1 and y2 are both censored at zero, and the...
View ArticleHelp to work with matrix in STATA 12
I'm calculating some indexes in the STATA 12 and I'm putting together the schedule so that you can run without error, but in one of those steps I ran into the following error: matrix operators that...
View Articlextpatternvar
Can anyone tell me what is the equivalent command in Stata 14 for "xtpatternvar"? I have some old code using "xtpatternvar, gen(pattern)" but the code does not run in Stata 14. Thank you very much!
View ArticleAdding Repetitive Lines in Accordance with the Number of Variables in a Program
I am writing a program that looks like: : prog def asp syntax varlist [if] [in], flist(varlist) tokenize `flist' file open myfile using "File.csv", write replace reg `varlist' `flist' if `touse' file...
View ArticleMata fine in .do file, not fine when in program / .ado file
With acknowledgement to this post (http://stackoverflow.com/questions/1...ith-zeros?lq=1), without which I would never have gotten this far, I ask for help. I am new to the Mata side of Stata and,...
View Articlextpcse vs. xtabond2 in panel data
Dear Statalisters, I need some help concerning the right choice of commands in my panel data set. It includes 266 cross sections and 18 time periods (strongly balanced). Random effects are rejected in...
View ArticleDrawing graphs in stata
Hello everyone, I am using the gravity model to find whether East Asian countries tend to consume more income elastic goods as they get wealthier over time. My data is panel for different sectors (e.g....
View ArticleConstructing -twoway function- mean growth curve trajectory plot with 95%...
Hello Statalisters, I am having difficulty creating this plot from my GLAMM model results in Stata 13.1. The data has 295 observations from 94 individuals from two data sources. The model is a...
View Articlereshape wide
I have this dataset: : mun ano d_fem fxetaria pop 110001 1991 no 0 to 4 years 2328 110001 1991 no 5 to 9 years 2139 110001 1991 no 10 to 14 years 2202 110001 1991 no 15 to 19 years 1984 110001 1991 no...
View Articlextivreg with static instruments?
Dear Statalist, I have an issue that I simply cannot figure out, despite a lot of googling and looking at papers. I'm running a panel data regression, with both time and id dimensions, but I have an...
View ArticleWhy does GLS reports the wald-chi2 statistics but OLS report F-statistics
Trying to understand why GLS and OLS report different fit statistics (using xtreg) Is there a way of getting f-statistics from GLS, or wald-chi2 from OLS?
View ArticleProposal: Add reference to dataex to FAQ
To the maintainers of the Statalist FAQ: Please consider adding a reference to the dataex package from SSC to section 12 of the FAQ.
View ArticleMatching Estimators and Esttab Tables
Hi Everyone, I'm trying to output results from a matching estimator using psmatch2. However, after doing est sto and the normal esttab procedures, it's not working. I checked elsewhere on the forum,...
View Articlegeometric interpolation - missing values
Dear Statlist users, I want to fill missing values in time-series with geometrical interpolation (i.e., the growth rates are the same between the interpoled values). I have been exploring all the...
View Article