Panel Data Error Correction Model
Dear Stata Listers I need help with constructing a panel error correction model. Can someone guide me to a good article or site which i can learn how to construct a panel data error correction model...
View Articleconstructing a rival analysis
Dear Stata Listers I need help with constructing a rival analysis base on the dataset include different firms in various industries invested in countries in prior years, look like: year firm-id...
View ArticleFootball, or soccer, Dataset
Hi everyone, I'm trying to build a statistical football model for fun. I am focussing on one football club. My dependent variable is the result of the match (a win, draw or loss) and my independent...
View ArticleOLS over time and entities
Hi everyone! I would like to perform an OLS regression for each region (1 to 10) and in each time (1999-2015). A fixed effect regression will follow. I was thinking about performing a loop in order to...
View ArticleType Mismatch when using "replace" command
Hi, I am trying to create a new variable and then replace the values with the values of another variable given that that observation meets specific specifications. However, I am getting a type...
View Articleexporting multiple -df-gls- results to excel
Dear all, I ran the following DF-GLS command in Stata (14.2) Code: forval i = 1/47 { su obs if country_coden == `i', meanonly di country[r(min)] dfgls unemployment if country_coden==`i' , notrend di }...
View ArticleOutput format svy linearized : tabulate
Using the procedure svy linearized : tabulate I get weighted cell counts formatted like this: 2.9e+06. How do I convert that to a number? Taking 2.9 x (e to the +6th power) does not give the right...
View ArticleNHANES III data in Stata
New to statalist.org. Where can I find data dictionaries for importing NHANES III ASCII public use data from http://www.cdc.gov/nchs/nhanes/nhanes3/data_files.htm? Have any dictionaries been posted...
View ArticleHow can I have the list of the countries in a panel data?
Hello, I have a panel data for multiples countries at a quarterly frequency. I would like to have a list of the countries that I have in the dataset. Can someone help me with the code to know the list...
View Articlesetting up svyset for baseline and follow-on surveys with missing sampling...
Greetings to all (my first post), I have a question about how to set up svyset for my analysis. The aim is an analysis of differences over time for several aspects of household wellbeing. The data come...
View ArticleSurvival analysis extrapolation and figure
Hi there, I have run a Weibull regression on an IPD survival dataset adjusting only for treatment (my data were rudimentary and there were three treatment comparisons within the set, coded as 1, 2 and...
View ArticleMissing chi2 in logit with cluster
Hi everyone, I run several logit with indipendent variables and a cluster option. In one of these, in which I had 5 indipendent variables, I had no results in the "wald chi2(4)" and "Prob > chi2"...
View Articledefining svyset with mostly single PSUs per stratum
Hello all, I have a database from a survey and I have a question about how to define svyset.The survey was done in 16 villages (=total sample frame). The total sample of 1,000 household interviews was...
View ArticleSample weights
Can I know something. Is it possible to put two sample weights in a logistic analysis? I know of this command [pweight=] But I can put just one sample weight value in it. Is it possible to put two?...
View ArticleComparing Coefficients of two different regressions where one dependent...
Hi there, i want to compute the influence of the gini coefficient on three different variables where A (continous), B (binary) and C (binary). I saw some posts on multivariate regression models, which...
View Article(Slightly) different coefficients in Probit vs. 1st step Heckprobit
Dear members, I am running a Heckprobit and out of curiosity I used the exactly same variables used on the first step to run a "normal" probit regression. Although coefficients are similar and...
View ArticleDifference in Outcome among treatment groups, with a binary control variable
How do I check for differences in outcome (ordinal) among 2 treatment groups, while controlling for gender? Also, each treatment group was replicated 3 times, how does that affect the analysis?
View ArticleStoring results in a loop and creating a summary table
Dear all, I am running -egranger- (user written command) for 47 countries using a loop. This command leaves e(b) and e(V). I then want to create a table which provides specific stats. for each country....
View ArticleSTATA omits variables: How can I deal with it?
Hi everyone! STATA omits two of my independent variables when I run a logit regression model. It sends this message: note: Gender != 0 predicts failure perfectly Gender dropped and 390 obs not used...
View ArticleComputing Odds using the Margins Command on Interaction Terms From Mlogit
Hello All, I am having difficulty using the margins command to calculate odds from a model that uses interaction terms in a multinomial logit model. The problem is further discussed below. If you could...
View Article