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

xtabond2 specification with "endogenous" interaction term

Hi, I want to estimate the determinants of child mortality using the difference and system GMM estimators based on the following lagged dependent variable (LDV) model: Y = B1*l.Y + B2*l.Aid + B3*l.GOV...

View Article


Does the post-estimation command margins, eyex give arc elasticity or point...

All, I am trying to calculate the price elasticity of a good and after running a probit model: : probit y x I run the post-estimation command : : margins, eyex(x) Does this give me the arc elasticity...

View Article


Bivariate random effects panel probit model

Hi all. I'm thinking about attempting to run a bivariate random effects panel probit model, alike the model used in the following paper, but without the dynamic component:...

View Article

using stack command without losing data

Hi everyone. I'm working with Census data and these are my 5 columns: STATE_str, AGE, TOTAL, MALE, FEMALE (see attached screenshot). The last three columns represent total population, male population,...

View Article

Testing again

\begin{equation} y_{it} = \beta_0 + \beta_1y_{i(t-1)} + \beta_2y_{i(t-2)} + \alpha_i + \varepsilon_{it} \end{equation} Your instruments in this case will only use two lags which in the example I gave...

View Article


Meta-analysis - between group difference p-values

Hi, I am performing a meta-analysis looking at the incidence of a specific complication (per 1,000) across three non-overlapping groups of exposures. The metan command in stata provides the pooled mean...

View Article

Textboxes that are angled

Is there any way to angle a textbox in a graph, so it is tilted at, say, 75 degrees? Stata only seems to have vertical and horizontal options.

View Article

Bayesmh equivalent for meglm code for diagnostic accuracy meta-analysis

I have below meglm code with bayesmh equivalents using Stata 14 for random-effects diagnostic test meta-analysis. The first bayesmh code which models 2 independent random-effects works ok and produces...

View Article


Given the algorithm, how to shorten the computation time of a Stata program?

This is a quite general question. I think to shorten the computation time, most people will improve their algorithms. But right now, I want to know if we don't change the algorithm, what else we can do...

View Article


r(610)

Hi all, I have gone through the forums, but found no solution to my problem. I am working in Stata MP 13.1 on a windows server with a large file ~5GB. After saving my file as .dta Stata will refuse to...

View Article

DHS wealth index

Hallo, What goes into the creation of this wealth index variable in DHS? Is it similar to any of the Asset indices? PCA, MCA Headcount etc?

View Article

Count model including instrumental variables and panel model

Hi, My question is about dealing with endogeneity in count models where the data is in a panel format. As far as I know, Stata does not have a built-in command to implement a 2SLS for a count model...

View Article

pshare: new package to compute and graph percentile shares available from SSC

Thanks to Kit Baum, a new package called -pshare- is available from SSC (released on July 3, updated on August 14). -pshare- computes percentile shares of a distribution (from individual-level data)....

View Article


-dfuller- of 69 variables between 27 cross-section units

Hello statalisters, I have to perform a -dfuller- in 69 variables in 27 cross-section units, and if I do one by one it will take forever, -esttab- and -esttout- didn't work for me so I tried: Code:...

View Article

merge m:m--not quite as expected

Hi, I have two date sets I'm trying to merge together. Let's say the identifying variable is X. This is how each data set is structured: master data: X occupation aaa 10 aaa 11 aaa 11 aaa 12 aaa 13 bbb...

View Article


Bootstrapping Procedure with XT Commands

I'm trying to run a fixed effects regression with a binary dependent variable. I have repeated observations of individuals within a state over time so I'm specifying something along the lines of: xtset...

View Article

Nonlinear constraints in sspace or ucm?

I've read several articles on workarounds allowing one to impose nonlinear constraints (e.g. that a coefficient must be < 1) in regression analysis in Stata. See e.g. here. Is something similar...

View Article


Include categorical variable to a logit model with market shares...

Dear Statalist members, in my research I try to come up with an airline market share model. This model should be implemented as multinomial logit model and as nested logit model and the results should...

View Article

Rolling mean in Panel data

Hi, I have a panel dataset containing profit data for 50 years for each industry classified at 4digit SIC level. I wish to calculate rolling mean and standard deviation of the past 20 observations in...

View Article

Add date to a time series

Hi. Using Stata 13. I have a time series for example 10Aug2015 11Aug2015 12Aug2015 etc. I would like Stata to add 5 new dates to this series. How can I accomplish that? What command should I use? Thank...

View Article
Browsing all 72762 articles
Browse latest View live


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