Quantcast
Channel: Statalist
Browsing all 72762 articles
Browse latest View live

Marginal effects after GMM estimation

Dear All, How can one obtain Marginal Effects after GMM estimation? Thanks, Dapel

View Article


DiD 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 Article


Number 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 Article

DiD 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 Article

Spreading 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 Article


Prtest 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 Article

Recoding 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 Article

Demand 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 Article


How 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 Article


Conditional 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 Article

Propensity 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 Article

How 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 Article

Interpreting 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 Article


test

this is a test

View Article

Issue 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 Article


Graph 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 Article

Recreating 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 Article


How 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 Article

Reduced 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 Article

Margins - 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
Browsing all 72762 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>