ifscode not found-Error r(111);
Hi everyone, This is an urgent question. I appreciate if you could share the solution. I am simply trying to calculate percentage growth of some variables and it gives me this error ---variable ifscode...
View Articleploting coefficients from different regression into a graph
How could I plot coefficients from all the regressions below into a same graph? There is one regression for each year and I would like to have coefficients on the yaxis and years on the xaxis. :...
View ArticleWishlist for Stata 15
Advised by Christophe, I created this new post for Statlisters' wishes for Stata 15. Feel free to drop your wishes here. Hope that our discussions here can make Stata/Mata a more user-friendly...
View ArticleProblem With Drop After Merge
I am basically updating/creating a bunch of data tables and graphs for a presentation, so nothing too complex. However, I am having some issues dropping observations after a merge on Stata 11.2, and I...
View Articleone variable is omitted because of collinearity
Dear All, I am currently working for my final paper about women labor force participation and religiousity. I am using logit model. As I am going to doing regression, I am facing some obstacles. My...
View ArticleConverting 4 -digit year to 2 digit year in stata
Hi I am trying to format my data that looks like 1/28/2014 to a date that looks like this 1/28/14 (that represents January 28, 2014) I tried using format %tdnn/dd/yy but that gives me something...
View ArticleExporting numbers starting with zero from Excel into Stata
Hi, I have an Excel file with a column that contains 10-digit codes (such as 0000324573) which start with zeros (sometimes 2, leaving 8 digit for digits 1 to 9; sometimes 4, leaving 6 digit for digits...
View ArticleROC curves after multiple imputation
Hello all! Just wanted to drop a lifeline in here to see if there any Stata experts with more knowledge than me on the subject. I have run multiple imputation on covariates before putting them through...
View ArticleSummary and descriptive statistics using stata
hello Please I have a panel data for 20 countries spanning 2003 - 2013 for each country. I want to get the summary statistics. However I want stata to give me the statistics based on each year. so when...
View ArticleHow to first difference a panel data set with many dummy variables?
Dear all, I am analyzing the impact of 3rd and 4th division soccer teams (1), their stadiums (2), and their affiliation to 1st & 2nd division teams VS. independence (3) on per capita GDP on...
View ArticlePrecision of Numeric Variables Imported From Excel (.xls)
Hi I have a question regarding the precision of numeric variables imported from excel files. I originally imported about 10 different excel files into Stata 13. (something like import excel...
View ArticleCluster standard errors
Hi, pardon my ignorance in statistics. I am really confused when journal papers say that they run their regression using robust standard errors clustered at firm level. I tried two ways to do that and...
View Articletabout error - standard error
Hello all I have been trying to add the standard error for this table but I still get the error message, can someone help me? svy : tabout IBM gender age cat1==1 & res==1 using tab1.xls, cells(freq...
View ArticleImpact of endogeneity on exogenous shock variable
Lets say I have a demand equation below: y = a + b* Price + c * Treatment Dummy + d*X + e, where y is my dependent variables (e.g. sales) and Price and X matrix are some control variables. I also have...
View Articlereturning values from .ado program
Hi, all. I'm writing an ado script to generate probabilities from a beta distribution using the mean and standard deviation of the distribution rather than the alpha and beta values. The program...
View ArticleUsing the "power repeated" command
This question concerns the "power repeated" command in Stata 13, which allows one to determine sample size, or power, for repeated measures designs. An example provided in the help documentation is as...
View Articlelogit: how to deal with "completely determined" case (while...
Hello Statalisters, I am working on my thesis to test certain hypothesis related to presence/absence of chief innovation officers in companies. I am having problem with adding an interaction term - I...
View ArticleHow to explain interaction after centering it? After centering, one of...
EXAMPLE: Let me explain my research question first: I want to test whether the female directors who have relatives as officer in the firm would affect firm performance. In my first regression...
View Articlebreaking a command line into multiple lines in a do-file
Hi, I am using /// to break long lines of Stata commands into multiple lines to improve readability of my do-files. It works in the case of command such as -twoway- (i.e. the /// turns green and breaks...
View ArticleCorrelation matrix and regression
Hi! This might be a very light question but when I read research papers, before giving the results of regressions, authors often show the correlation matrix. I do understand what the correlation...
View Article