Restricting the Sample (Econometrics Question)
Hi everyone, I am researching how ethnic and racial disparities in health insurance coverage and health status changed as a result of the Affordable Care Act. My outcomes are two binary variables:...
View ArticleOperations for Panel data
PANEL DATA: I have a panel data looks like id year isic4 isic2 value added of isic4 1 90 1512 15 1000 1 91 1512 15 1500 1 … 1512 15 1100 1 1512 15 1500 1 98 1512 15 1600 2 90 1511 15 1000 2 … 1511 15...
View ArticleUsing fillin to associate months with years
Hi, I have some panel data that is in terms of "months since 1900" - e.g. employment experience for each month since 1900 - and some data in terms of "year" e.g. wage for each year from 1991 to 2009....
View ArticleUsing Averages to Fill Missing Values
Hello, I have a pannel data that looks like this: ID t OTIF 1 1 1 1 2 . 1 3 . 1 4 1 1 5 . 1 6 1 2 1 0.5 2 2 0.7 2 3 . 2 4 1 2 5 0.8 2 6 . Where ID is the individual ID, t is my time variable (actually...
View ArticleQreg2 and Putexcel
Hi all, I'm running several models using qreg2. These take a couple of hours and have to be compared with other specifications (OLS and Qreg). Putexcel works fine for OLS and Qreg but for Qreg2 it only...
View ArticleJOB: Asset pricing (finance) homework
Hi everyone, I am looking for someone with a strong financial background (asset pricing) as well as stata proficient to assist me with a finance homework. Instructions are relatively vague and so...
View ArticleTrim data at 1% level
Hello, I am trying to replicate a table in a published finance paper. I want to trim the variable ROA at 1% level, meaning dropping 1% of observations at each tail of the ROA distribution. I first...
View ArticleVAR and actest
Hey Folks, I am trying to better familiarize myself with STATA time series commands. I am wondering if it is possible to execute the Cumby- Huizinga general test for autocorrelation (actest) following...
View ArticleFrequency tables
This seems far too simple to be giving me problems, but here we are. I have the following variables: - State - Year - Deaths - etc. Each observation represents a single car crash, and the Deaths...
View ArticleDistribution data
Dear all, From some graphs and some numerical tests, I have showed that my data is not normally distributed. I can check if the distribution of my data looks like a Weibull distribution, exponential...
View ArticleQuestion About Analysing Pre-Post Test Data
Hello, I am quite new to this program and attempting to assist in some research involving pre and post-course testing of patients. For context: 62 patients underwent two courses, both of which had...
View ArticleTranslating survey questions
Hey, My apologies for my ignorance on these issues. but i find conflicting answers on the web. Data issue: How to translate all the survey questions into 1 variable 1) My dependent variable is...
View ArticleDealing with missing data
Hello everyone, I really need help. I am trying to see the impact of a reduction of tariffs on the wage skill premium for a country after trade liberalization. My databse is a panel databse at firm...
View ArticleHow to include state and year effects for random effects?
I have panel data set. To be able to do random effects regression, I am using the following code: "xtreg psipct phy_emplmt1 i.phygp i.jntph i.ownership i.system i.teach_status i.bedcode...
View ArticleHow and where to download xtabond2?
Hi everyone I using System GMM with Stata 2013 which doesn't have xtabond2. Could anyone assist on how and where to download xtabond2 into stata 2013 in order to perform 2nd order autocorrelation test...
View Articlepredict following suest not working?
Hi, I'm trying to ensure that I'm using suest correctly by comparing it to sureg, and have one problem and a couple of questions. (Note that *later* I will be replacing the regress commands below with...
View Article-ivreg2- Hansen's J
Dear statalists, I have used the -ivreg2- to estimate the instrumental variables. The code is: ivreg2 Y X2 X3 X4 X5 i.year i.industry (X1=Z), first cluster (firm_id) However, the reported results do...
View ArticleMeasuring similarity and dissimilarity indices between each observation and...
Hi, I have a dataset with 16000 observations and 68 variables. I want to measure similarity (correlation) and dissimilarity (L2squared distance) of each row of the data compared with the last row...
View ArticleConstraining an Equation
Dear Statlisters, I was wondering if anyone knows how to set up a constraint for a full equation when estimating a multiple equation models. Lets take for example a Multinomial model: Code: webuse...
View ArticleWhen Declaring Panel Data gives error that there are repeated time values...
I am trying to declare my data set as panel data but when I issue the command, it gives me the error that there are repeated time values within the panel. The problem is that there are players in my...
View Article