Building survey-time estimates and compare residuals. Please help!
Hi there! I have recently started working with STATA and so far, it has been fantastic! But now I have hit a wall. I have this dataset for a pretest of a large-scale survey over several thousand...
View ArticleGoodness of fit for univariate logistic regression
Hi, I am wondering if it is possible to carry out goodness of fit tests on unadjusted univariate logistic regression? I found the estat gof command but I don't think it works purely for a univariate...
View ArticleConditional Rolling Regression in Unbalanced Panel
Hi everyone, I do have a problem with Stata executing my intended rolling window regression and do really hope that some of you can (again) help me. Unfortunately, prior threads, the help files and...
View Articleuser written programs not found
Dear all, I am quite new to stata. Yesterday all user written programs were availabe via the findit command. But now I can't find a variety of the programs (e.g outreg2, winsor, univar). Does anybody...
View ArticleFormatting dates in Stata
Dear all, I have time series data, which I imported from Excel. However, the data has monthly dates and of course they are string. Now, I have tried changing them to SIF so that I can run cointegration...
View Articlenlcom vs predictnl confidence intervals
I am graphing a function of estimated regression coefficients and observation specific variable values (x) by first using the “predictnl” command. The point estimates for a specific point are the same...
View ArticleCrash course: GEE Logistical regression and OLS
Hi All, I need a crash course in GEE Logistical regression and OLS. I am willing to pay. Please get in touch at undertehground@gmail.com Best, Moe
View ArticleCounting number of ID's subject to conditions
Dear all, I am trying to count number of id's by years conditional on observations in a three year window prior and after an observation. In other words, i want to count how many ID's which have values...
View Article_regress, absorb() and other options?
I am trying to reap the benefits of _regress, absorb() being faster than areg, as mentioned here and here. However, I can't figure out which options _regress allows. From the source file of areg,...
View ArticleCreating Oberservations for i countries in j years
Hey, I have a crosssection Project dataset of the following typ Country Year Number Costs GER 2005 1 10 GER 2005 2 5 GER 2010 3 20 GER 2010 4 30 GER 2015 5 46 USA 2008 6 56 USA 2010 7 3 USA 2010 8 19...
View Articlehow to resolve this: xi command does not recognize the values my fvset set up
I am testing interaction terms using -xi- and uset -fvset- to set my reference group, but the -xi- command does not seem to recognize it based on my output: These are my commands: : fvset base 2 mwtppn...
View ArticleComparing coefficient for two seperate regressions using LPM and robust...
Hello everyone! I am running two seperate regressions (males and females), and I would like to test whether the coefficient for a dummy indicating country of origin (1=Sweden, 0=Denmark) for the same...
View ArticleCubic Spline Interpolation
Hi, I'm using a survey data for my dissertation and suspect that the dependent variable is not linear in some independent variables. From the paper I read I learnt that I can use cubic spline to solve...
View ArticleDEA advice asap
One second please friends. Wanting to run a DEA for technical efficiency. Do I need to download and update my Stata with DEA? How? Help me and I will appreciate. Just the process of getting DEA working...
View ArticlePooled OLS estimation and random effects estimation
What could have caused coefficients from pooled OLS estimation be entirely the same with those from random effects estimation?
View ArticleGMM estimation and Panel Unit Root Test
I would be grateful if anyone could advise on whether I could use the first differenced values of variables not stationary at levels alongside those that are stationary at levels. Is it advisable to...
View ArticleLogit Error r(2000) - No Observations
Hi everyone, I am new to Stata and have been struggling with running logit. I am using StataSE 13. When I run logit, I keep getting "no observations; r(2000)". Here is basic info about my data set:...
View ArticleLooping over files in a folder
Hi all, I'm trying to loop through files in the Quarterly Census of Employment and Wages -- all the files for a year are downloaded into one of my folders (all metro areas in the US). Unfortunately,...
View ArticleChoice of statistical test
Dear team, I am planning to conduct a study in a rural area with a newborn death rate of 45 deaths (measured from birth [or day 0 of life] to day 28 of life) for every 1000 babies born alive. There is...
View ArticleMean plot and overlay plot
Hello all, I have a small dataset, with two observations per each subject, representing a continuous measurements at baseline and after one month. I wish to create 2 graphs, the first, is very simple:...
View Article