Marginal effects after GMM estimation
Dear All, How can one obtain Marginal Effects after GMM estimation? Thanks, Dapel
View ArticleDiD and matching using repeated cross sections
Hi everyone, I am dealing with two separe household surveys of consecutive years, and trying to analyze a policy change in the middle of those two years. I am trying a DiD model with covariates, and I...
View ArticleNumber of observations and esttab
Is there an easy way to force esttab to report the subpop number of observation rather than the total number of observation after estpost margins command? Thanks!
View ArticleDiD and matching using repeated cross sections
Hi everyone, I am dealing with two separe household surveys of consecutive years, and trying to analyze a policy change in the middle of those two years. I am trying a DiD model with covariates, and I...
View ArticleSpreading Values from june to next june
I want to spread values of a variable, call it X, from June year t to June of year t+1, can there be a way without using loop, consider the following example. Please keep in mind that sometimes months...
View ArticlePrtest in svy mode
Hi I have a question about testing proportions in STATA. See table below. Basically, I am comparing rates of treatment benefit in different conditions. They are not mutually exclusive, as an individual...
View ArticleRecoding time in person-period dataset
Hello Everyone, I am working with a person-period dataset that I need some help recoding. The data is structured like this, where the number and timing of assessments varies between individuals: Code:...
View ArticleDemand System Estimation
Dear All. I am new to STATA and i wanted to know how to estimate QuAIDS model using the famous Shonkwiler and Yen (1999) Approach. Your help will be highly appreciated. Regards
View ArticleHow xtreg, fe builds dummy variables
Hello, this is my first question in Stata list, hopefully I won’t say anything real dumb. I'm currently using a fixed effect panel model for an article about capital structure. I know that a fixed...
View ArticleConditional Variances and Fama-McBeth t-stat
Dear all I want to generate two variables, A and B, each contains the time series average values of the conditional annual cross sectional variances of a variable X across partitions based on the the...
View ArticlePropensity Score Matching - how to construct a control group
down votefavorite I have a group of treated firms in a country, and for each firm I would like to find the closest match in terms of industry, size and profitability in the rest of the country. I am...
View ArticleHow can I insert names to a loop
I would like to create a list with names then insert this 'namelist' to a loop so I can summarize data which relate to the names. I have a variable with names 'John Smith', 'Andy Green' and I would...
View ArticleInterpreting svyset for complex sampling design
Greetings, I'm am having some difficulties determining how to declare my survey design with the svyset command. It is less a question about syntax and more a question regarding survey interpretation....
View ArticleIssue with merging two databases
Hello, I have an issue merging two databases. Database 1 contains information on public procurements contracts (e.g. €-value of contract, activity of contract, winning company, etc.) Database 2...
View ArticleGraph Bar -> adding a "total" bar automatically,...
Dear all, I would like to add a "total" bar within my bar chart There are two variables - and five different categories. Now i would like to obtain - without creating another category - the total over...
View ArticleRecreating DHS under five mortality statistics
I'm trying to estimate U5 mortality rates in for DHS surveys in India (98,06) and Kenya (98,08), and then do sub-population analysis of child mortality in slum areas. To start, I want to recreate the...
View ArticleHow to calculate duration
Hello, I want to calculate # of months with insurance. The table below is for one person's records including start date and termination date. I'd like to create # of months with insurance each year....
View ArticleReduced form regression
Dear all, I have the following problem. I am able to estimate the following two stage regression equation: Yi,T+1 - Yi,T = α + λ (Y*i,T+1 - Yi,T) + εi,T + 1 where Y*i,T+1 = ˆβXi,T by obtaining Y*i,T+1...
View ArticleMargins - plotting the effect of income and income-squared simultaneously
I'm using margins to plot the results of a melogit model. I'm predicting individual voting outcomes, and think that the effect of income might not be monotonic. In order to address my concerns I've...
View Article