second stage of 2SRI (two-stage residuals inclusion) does not converge
Hi Stata users, I am estimating the effect of health on labor supply using a simultaneous equations model. I am running the model using 2SRI separately for males and females. There is no convergence...
View ArticlePanel Cointegration test for cross-section dependence in panel dataset
Dear Stata Members Can someone help me with the syntax command for panel cointegration test for cross section dependence panel dataset ie panel with common factors. Or steps and procedures to perform...
View ArticleInterpretation Fixed effect coefficient in hausman test
Hi, I have a question. I do not know wether to interpret the coefficients of a fixed effect (when performed an "hausman fe re" (hausman test)). Is that in percentages or percentage points? thank you so...
View Articlewhy do xtabond and xtabond2 produce different results?
Dear Statalisters, I was trying to use the Stata command xtabond2 to replicate the results from xtabond. But I got different results although the difference is small. anyone have a clue? really...
View ArticleExporting t-test results to Excel
Hi, I need to export the results for the following t-tests across 10 variables to stata. The putexcel command seems to be throwing up errors and I was wondering if there was a simpler way to do this....
View ArticleAssumption tests in discrete time survival analysis
Dear Statalisters I would greatly appreciate if you could let me know how to test the following assumptions when performing a discrete time survival analysis. 1- linear additivity assumption 2-...
View ArticleQuestion on random effects panel data
Dear All, I have a question on random effects panel data. I have a highly unbalanced panel dataset, and my professor told me that I have to use a random effects model for my study. I used the following...
View ArticleConditional and simultaneous probabilities with MVNP after trivariate...
Good morning, My purpose is to estimate conditional probabilities after trivariate recursive probit . I used command mvprobit for trivariate probit. In my model the first dependent variable is a...
View ArticleBusiness Calender creation
Hello everyone! I have every-minute data for three months and in order to use time-series, particularly cointegration analysis (versoc, vecrank functions etc.) I need to avoid gaps. First of all, the...
View ArticleTwoway bar chart! Different colors for different groups
Hello everyone, I sorted a list by groups and made a graph which looks like this. Now I want to color each group differently and put a name on top of each group. The first bars belong to one group, the...
View ArticleCreating several variables depending on a group number, using another...
Suppose I have this data set: year country hhid hhinfo age childc 2010 AT 111 Mother 56 1 2010 AT 111 Father 54 1 2010 AT 111 Son 17 1 2010 GER 222 Spouse 32 0 2010 GER 222 Husband 32 0 2011 PRT 333...
View ArticlePanel data set - Financial Crisis and Time Fixed Effects
Dear all, First of all, thank you for asking and answering on this forum. It already helped me a lot. At this very moment I am working on earnings management around IPOs before and during the financial...
View Articlerandom sampling over values of a specified variable
Dear Statalilst: I have a dataset of 1.3 million observations of partnerships between two sets of organizations, i and j, where the variable tie==1 indicates i and j have a partnership and tie==0...
View ArticleClarify® and svyset
Hello, I am using Clarify to run statistical simulations using Stata and I noticed that, apparently, the estsimp function does not support Stata's svyset command. Is there any way I could use survey...
View Articlewald test
I have about 7400 firm years observations. The simply summary stat output is pasted below. It shows Q1 to Q4 shows the four quartiles of my Corporate governance date with Q4 being the best corporate...
View ArticleMixed Effects Logit postestimation help
Hi, I am trying to use a mixed effects logit (melogit) on a regression equation that looks like this: melogit entrance age gender rf1-rf30 || facility: where entrance is a 0/1 value, rf1-rf30 are 30...
View ArticleHow to combine the fragment option of esttab (to LaTeX) with a line before...
Hi I want to get publication-style tables with esttab from stata to latex. I therefore use the following commands: HTML Code: esttab mod9 using tab1.tex, unstack cells(b(star fmt(4)) se(par fmt(4)))...
View Articlehow do I make graphs with different scales using twoway tsline, by(city)
Hi, I am making a graph showing the development of the number of airplane travelers in five different cities over a ten year period. I am using the command twoway tsline passengers, by(city). When...
View Articleambiguous abbreviation error trying to recall blogit estimates stored
Dear Statalist, I am using Stata 12 trying to recall stored estimates using outreg2 and get an ambiguous abbreviation error. Here's the structure of my code: estimates clear local deplist "y1 y2" local...
View ArticleStack regression output tables vertically
I'm using esttab to generate regression tables from Stata and output them to LaTeX. I use two different control groups, which gives me two tables. Each table has four columns from four regressions...
View Article