Creating theoretical alternatives in Stata
Hey there, since I am currently writing my bachelor thesis, it's the first time I really work with STATA. Normally, I do not have problems using the software, however I've some problems regarding the...
View ArticleNeed to convert multiple excel files with times series and variable
Hi, I am trying to download multiple excel files from eurostat to stata and the first row is not the name of variable. How should I proceed? Should I manually convert all these excel files into one...
View ArticleGenerate a variable from one dataset and save it into a different dataset
Hi all, I am trying to combine some data from one dataset and save it into a different one. The variables I have in the first dataset are "id" which describes general groups, "point", and "id2" which...
View Article2sls IV regress in which the endogenous indep. variable appears in linear and...
Dear all, I am using Stata 14.1. I use a cross-section data with one endogenous independent variable (department size). I want to test whether an inverted U- shape exists with respect for this...
View ArticleCode to Use Estimated Coefficient
Hi All, I have the following model TA/LTA = α1 (1/LTA) + α2 (ΔREV/LTA) + α3 (PPE/LTA) + ε which I need to run it for each firm in the same industry_id in each year. After running the this model I need...
View ArticleLR test for mixed models using restricted maximum likelihood estimation method
Hi members, I have a question about the Likelihood Ratio test (LR test) for the mixed model with random slopes versus the model with random intercept only, while a restricted maximum likelihood (REML)...
View ArticleSaving preferences in Stata 14 in linux
Hi In Stata 13 I have no problem saving the preferences in linux (lubuntu), but Stata 14 keeps returning to the default. Then I tried saving things in a nhb.rc file, but that didn't help. I've also...
View ArticleSaving regression's coefficient
Hi All, I have the following model which Y=A+B1X1+B2X2+B3X3+E I need to run it for each firm in the same industry_id in each year. After running the this model I need to use the estimated coefficient...
View ArticleWhy Estout Tabel Indicates Not Significant When The P>|z| Indicates...
Dear All, I am doing logistic regression for my paper, as I am going to present the estimation results by using estout, I found that the prayers variables are not significant. However, it is supposed...
View ArticleCan I use cmp for a meprobit model with Heckman selection?
Hi, I have a model with a multilevel model and am considering if it is possible to use Heckman selection at level 2. I am exploring if cmp can offer a solution. However, I don't know for sure how to...
View ArticleStudy weights and metan
Dear Stata Forum I hope someone can advise me of the error of my ways? I am trying to verify the study weight output of metan when calculated by hand. This is for a continuous variable, a comparison of...
View ArticleMata library not found
I am trying to run jobs on my institution's server (Windows; Stata 13). I not have write-access to many directories. I need to be able to access Ben Jann's -moremata- package (on SSC). I have used the...
View Articlemoptimize
Hi, I am trying to estimate a censored regression (Tobit type I model) and control for underreporting on the dependent variable (amount of remittances). The reference is Shonkwiler et al. 2011...
View Articlextivreg, re with cluster standard errors and interactions
Stata Forum Users, I am looking to run an xtivreg random effects model with interactions and clustered standard errors in Stata 12. The command does not allow for clustered standard errors and using...
View Articleivreg2 commands and GMM problems
Dear all, Sorry for not asking a very hard question, but I am in a bit of a jam. I am trying to regress GDP/capita in the European Union from 1990 to 2014. I have 45 variables (investment, gov....
View ArticlePanel data reshape problem
Dear All, I tried to reshape panel data: month sp001 sp002 1975m01 43 29 1975m02 44 29 1975m03 45 28 into long shape by using code Code: reshape long sp, i(month) j(var) . But it didn't work. May I...
View ArticleAdvice on interpreting interactions in ols regression
Dear Statalisters, I am trying to examine the association between household wealth and expenditure on education of children aged 11-17 and 5-10 in a developing country using the following equation. In...
View Articlemixed: figuring out when random slopes are not random
I'm using mixed to run some hierarchical linear models. I've used HLM 7 previously, and in that package there's a p value associated with coefficient variance, such that large p values indicate that...
View ArticleSame coefficients for Fixed Effect, Random Effect and OLS estimation...
I have a panel data on nonperforming loans from 1990q1 till 2014q4 with 30 banks. I would like to estimate both fixed effect and random effect model with gdp growth, unemployment, exchange rate, and...
View ArticleOpening CDC NHIS ASCII.dat file
Hello! I am working with CDC National Health Interview Survey data and having problems opening the ASCII data file. I am working with the Sample Adult File, found here...
View Article