Display two kinds of standard errors in regression output
Hi statalisters, maybe you can help me: For a paper, I'm running regressions with both 'normal' and clustered standard errors. Of course, the coefficients are the same, so I would like to display the...
View ArticleCorner solution model with panel data
Hello everyone! I'm studying the innovation input of SMEs which consists of the firm's decision to innovate and its expenditure in innovation. The variable for firm's decision to innovate is a dummy...
View ArticleNew command -path- available from SSC
Thanks as usual to Kit Baum, a new command, path, is now available from the SSC. path is a bundle of utilities for file path manipulation and mainly intended for use by programmers. Maybe some of you...
View ArticleCART package - missing sby.ado?
To Stata users: I am attempting to use the CART package to do regression trees with survival data (http://econpapers.repec.org/software...de/s456776.htm) and I have run into a problem. One command...
View ArticlePanel Threshold Model xthreg - problems balanced panel
Good evening, I am studying the relation between debt and growth. I would like to find an endogenous debt-threshold using Hansen's (1999) technique. I have found the command xthreg to do so. However,...
View ArticleDividing the dataset into two subsets
Hello Dear Statalist Users, I have data set which contain around 15 countries and I have classified them legal system of the country (civil =0 and common =1). I would like to run the regression...
View ArticleProgram within a program problem
Hello. I have written an ado file which contains one main program and two subprograms. I have installed this as an add on command in my personal ado path. The problem that i have is that the first...
View ArticleStandardizing direct effects
Hello, When requesting standardized coefficients in a measurement or predictive model, why do the variances show as "1" in the attached output (from SEM manual)? When I am request standardization of...
View ArticleIdentifying 2-indicator latent factor
How can I identify a 2-indicator latent factor? Or is it not possible? I tried setting the indicators' error terms equal to each other, but that didn't seem to work. Can't seem to find mention of this...
View Article"__000001 not found" message when running command on...
Dear Statalisters, I have searched in Stata list and do not believe that this has been covered specifically. Apologies in advance if it has. I have several hundred files which I am running commands on...
View ArticleCalculating marginal effects in a nested logit model (dicrete choice)
Hey Guys, i have a Problem: I would like to predict the heat market with a discrete choice model, combined with a microeconomic model until 2030. I have a dataset where the relations between the heat...
View Articlextqptest: a test for serial correlation in a fixed effects setting
Dear all I have implemented to Born & Breitung (2016) bias-corrected LM-based test for serial correlation. It takes the combined residuals (fixed effect + idiosyncratic error; option ue in predict)...
View ArticleCreating Dummy with 2 conditions
Hello stata users, i'm trying to create a dummy variable that has 2 conditions, basically to simulate the effect of a policy present at only 1 province and from 1995 onwards. ( i have panel data for 4...
View ArticleCommand to Model 0's instead of 1's in logistic? and vice versa
Is there a command to model the zeros instead of the ones in logit/logistic? Also is there a command to model >0 instead of 0 in the logit part of a zip model?
View ArticleIterative OLS as solution for autocorrelation
I am trying to replicate on article regarding forecasting procedure, but I am not sure how to do it. Maybe it is a bit a theoretical question, but here it goes. Due to autocorrelation author in his...
View ArticleSurvival model selection
Dear all, Is there an automated way for optimizing a Cox model? I tried stepwise but it doesn't like the fact that some of the predictors are factor variables (3 level). I have tried manually doing...
View ArticleWhy Wald Ch2 and Prob>ch2 value are not reported for a random effect...
Im regressing deforesttaion observation (8 years (84/87/90/91/94/95/96/99 and 4 provinces) to a number of drivers of deforestation and controls, plus a dummyvariable for a particular policy implemented...
View Articlefind and replace
I'm trying to do a logistic regression. I have what should be a continuous numerical variable - but it's currently a string variable as some of the excel cells were filled "value!". i have generated a...
View ArticleDirect effect, Indirect effect
Hi all, I have to estimate the following equation:Yi = a + b1*DIVi + b2*NONi + Xi + ei (5) I would like to compute the direct and indirect effect after estimation, i.e. the impact of a change of NON on...
View ArticleIdentifier for Panel Data set and adding new data
Hi all, I have a panel data set that is fairly large (70 quarters now) and I have to add new quarters to this file as they come out. I have created a panel id variable by using the following code,...
View Article