Qunatile regression with interrupted time series analysis (itsa)
Is there a way I can run a quantile regression within the itsa command? Many thanks. Sumedha.
View ArticleError using -search-
When I use -findit- or -search- I get the following error: ------------------------------------------------------------------ (contacting http://www.stata.com)...
View ArticleCalculate time intervals for last visit, relaps and death in a longitudinal...
Dear listers, I am working on a data for a longitudinal study about kidney cancer. The patients have been operated in 'op_date' and re-evaluated in different time intervals ('last_visit(n)' or...
View ArticleStset timevarying covariate/multiple record per subject
Hello there I have this dataset, on which i want to a cox regression with stcox: Spellid year wagecat died start end 1 1998 1 0 720 785 1 1999 2 0 785 820 1 2000 2 0 820 880 2 1998 3 0 720 785 2 1999 3...
View ArticleMerge treated and control - my code works but has dupilicates
Dear Statalisters, I attached my data (stata13). If you need other formats, let me know. You will find 17 treated firms : tab _treated you will find 17 treated, out of 1418 , 17 are matched. _id...
View ArticleTwo stage models: Difference between Heckman models (to deal with sample...
Hi - I am trying to get my head around the difference between sample selection and endogenity... and in tern how Heckman models (to deal with sample selection) differ from instrumental variable...
View ArticleFixed effects model
Hello, My research is related with the effects of the government incentives on vehicle purchasing decision. I will use fixed effects model. My dependent variable has 3 components Yi,t,m i=location (26...
View ArticleTesting for heteroskedasticity after using WLS
I have a model where heteroskedasticity is present and used WLS with the aweight option as the description of aweight seems on target. So once I ran the model I wondered if you could use the hettest to...
View Articleestout and mlogit: how to omit base category from output table?
I would like to use Ben Jann's -estout- package (http://repec.org/bocode/e/estout/) to report results from -mlogit- omitting the base category. The following code produces a table which includes a...
View Articleerror message on newey
Dear all I'm having a problem when trying to run the newey command. I have a panel (unbalanced) data. When I run the code " newey depvar indepvar, lag(6)" I got the error r(198) message that the time...
View Article-esttab- -foreach- looping: How do I -replace- on the first loop, but...
Hi Statalist, I'd like to write a -foreach- loop that runs a number of regressions (let's say I want to run `z' number of regressions), then creates a new *.rtf file (replacing any previous *.rtf...
View ArticlePrediction after [xtreg] using [margins]
I'm using Stata to estimate a panel random effects model, and I would like to do some simple predictions based on various specified values of one of the regressors. Is there any problems with the...
View Articlehow to interpret my marginal effects correctly
Dear Statalist, I am running a NB regression on Emigration from the origin district to destination district (having population of origin as the exposure factor). Assuming we have 30 districts, the...
View ArticleCan you do this in Stata?
Hello all, I am wondering if it is possible to the following in Stata, relating to the graph below: Array I understand you can do weighted markers, as outlined here:...
View Articlehow can I change my name? thx
When I registered, I used some random name. Now, I found that most of people are actually using their real name, How can I change it? My name is Huan Gao
View Article-svylorenz-: new version on SSC
With thanks, as ever to Kit Baum, a new version of svylorenz is available on SSC. This version fixes a bug in the calculation of the standard errors for quantile group shares, and cumulative quantile...
View Article-margins- after -melogit-
I am trying to replicate manually the results of -margins- after estimating a model using -melogit-. Here are my data: : . d y x group storage display value variable name type format label variable...
View ArticleFitting a power law
Dear all, I have to check if the cumulative distribution of a variable x is consistent with a power law or a log-normal distribution. Using the command "cumul" I obtained the cumulative distribution of...
View ArticleTime fixed effect in panel data analysis- how to deal if including time fixed...
Hello everyone, I have a question related to time fixed effects in panel data analysis. I am running FE model on the panel data inlcuding 34 countries from 1995 to 2013 with the gaps (1995-2000-2005...
View ArticleHow to proceed with GMM estimators?
I am planning to study Impact of finacial development on economic Performance(GDP per capita) by using GMM estimatior for Panel data consisting of 64 countries and 11 years. For that, i am using...
View Article