Stata usage and programming, Stata help
Hi everyone, I have almost no experience with Stata but I am trying to get into it :). I have a simple table with column A including the...
Hey I'm relatively new to Stata. I want to understand the following piece of code written by someone else. From what I gather it's ranking workers...
I would like to locate/organize my valid agency IDs (agencyid). agencyid CA0006 TN0106 NY0009 LA0035 TN0105 TN01o
Hi, I have a few questions regarding effect sizes for regressions- I have a relatively small sample size so am trying to support findings with...
Hello all, I am using an unbalanced data set with 24 years of firmdata. What I would like to do is to create a subgroup of this dataset. I would...
As a part of my master thesis, which is a study of the relationship between oil prices and the performance of alternative energy shares, I have to...
Hi, I want to estimate the following simultaneous equations: y1= y2+x1+x2+x3 y2=y1+x1+x2+x3 When the control variables are not the same...
Hi everyone! Without Success, I've tried all day long to test whether the coefficient on "rooms" in group1 is significantly different than the...
ID times drug1date_ drug dosage drugcode retrospectdate Date_baselineQ finishdate unitcostmed1 basecost prospectcost...
Dear fellow talkstatters, I am working with paneldata for my thesis. In order to get a balanced sample, I already deleted all the firms who missed...
Hello TalkStats For my dissertation I am analysing the relationship between the type of school a student attends (public or private) and their...
Hello, At present I have social class variables for both mum and dad but I want to create an overall variable : parental class. There are 6...
I am creating a table in en excel and I need only the percentages. tab var1 var2 But I need only the percentages, not the frequencies. ...
Hi I have a variable that contains numbers and letters. Ideally, participants had to enter their first two state letter - ex. NY- following by...
Hello! I have some problems with this program. Can you help me a little bit? I need to use ologit and errors must be logistic. What is the code for...
Hi all, I have: HIV 1= Positive 0= Negative Syphilis 1= Positive
Hi there! I am using some panel data to look at determinants of school attendance for 2 different years, 1995 and 2005. After running the...
Dear all, One quick question. I've been trying to resolve this issue for quite some time now. I want to see how many times did the 'decile'...
I ran outreg x y z g using blahblah, blahblah It told me "varlist not allowed" So I just deleted all variables and just put
Hi Stata Users, You should maybe find my problem very basic... I have tried a lot but I am not able to find the answer. I want to use this...
Dear all, I am collapsing all the rows with the same ID. I'm using the command COLLAPSE and I know how it works if I need the mean, sum, count,...
Hi guys, I have a race multiple response variable (participants can choose more that one option) that was coded incorrectly. Race:...
Hi all, I am conducting a bi-variate analysis of age groups (>40 years, 40-49, and 50-75) and basic demographic characteristics of women who had a...
Hi there, I have merged two client datasets. The first dataset contains demographic information about the individuals, the second contains those...
I was asked to estimate multivariate GARCH model for the spot and futures returns series. But since the series only contain 66 observations, I was...
Hi Please, could you explain me the result of the Hausman test. As I understand, since the p-value equals 0.2077 we fail to reject the null and...
Hi there, I'm a bit confused with how to manipulate date variables in stata. I have a dataset in excel of client information which I have uploaded...
I have a huge unbalanced panel dataset. xtset companyid period. (Period is from -1 to 13.) One dependent variable (shares) depicts how many shares...
Good evening everyone. I got different output from the code: forval i = 1/118 { varsoc Illiq`i', maxlag(10) } that describes AIC,BIC,... lag...
Dear Talk stats users, I need help with reporting the Pseudo-r2 (using outreg2) when doing quantile regressions in stata (Qreg, Stata 12). How...
Hello, I'm using Clarify for the first time to get marginal effects for an OLS model I'm using. In general, I'm wondering how to interpret what...
Hi, I am new to panel regressions and I have a question regarding xtset in Stata 12. I have tried two different panel datasets where I have been...
Hi, I'm working with a panel dataset and analyzing it using a multinominal logit model. Currently I'm using the -mlogit, cluster(...)- command. Is...
Hi all, Monday I started a topic on estimating OLS with fixed effects using SPSS. That turns out to be impossible. So now I want to do it with...
Hello everyone, For my master's thesis, I need to estimate the following equation with the Blundell-Bond GMM method: Leverage(i,t) =...
Hi all, When using the difference GMM estimator, the constant is differenced out by way of the first-difference transformation. So using the...
Hey, guys. I'm trying to use the National Longitudinal Survey Year 1979 data set in a multiple regression model. The data set has data from...
Hey, I am completely stuck on this one question. It is really simple and just a hypothesis test using dummy variables but for some reason when I...
Hi, I have a dataset that has the following variables: date stock1 stock2 stock3 etc. where the stockprices are recorded for each...
Hello everybody, I'm currently working with a logistic panel regression with random effects -xtlogit,re-. While I'm able to calculate pseudo R²...
Hello, I am conducting a survival analysis using survey data in STATA. Does anyone have tips for checking the assumption of proportional hazards...
Hey all, So this should be an easy solution, but for the life of me I cannot think how to get this to work. I need to figure out how to compute...
In order to merge to datasets using a unique ID and a variable specifying time (e.g. 2006Q1) I need to convert a variable in one of the datasets....
Hi guys! I'm working on a duration model and I'd like to create a graph of the hazard function, but using the command "sts graph haz" I get a...
Hi, I want to run a constrained linear regression in STATA for the model as follows: constraint 1 (b1) + (b2) + 2*{(b3)}*log_mpce + (b4) = 0,...
Is this possible in STATA? When using the ordinary bootstrap command, STATA draw a bootstrap on all variables.
In the univariate case we can use -predict residual, res- to acquire the residuals after fitting a model. Here's the deal, I cannot find any command...
Hi all, I am trying to use marginsplots to graph a categorical by categorical variable interaction between gender (0 1) and level of drug use (0 1...
I’m relatively new to stata and have to undertake some questionnaire analysis. I’m interested in whether parental type (3 levels) has an...
Hi all, I asked a question in the pre and post test for the same participants. My variable is dichotomous: 1= correct 0= incorrect I want to...
Hi, Sorry in advance for my English speaking. I am currently analysing data using a MCA approach with Stata. Does someone know how to get the...
Hi guys, my problem is the following: i have a data set that contains info about household (identified by a household ID) and also the people in...
Hi everyone, This is probably an easy one for some of you. I have a certain number of events that occur per day, and I want to sum them per month....
Hey, I've just got to grips with the basics of Stata (for my dissertation). My tutor asked me to use the command 'mcc' to compare binary variables,...
Hi all I am looking to create a instrumental variable regression to look at the impact of banking crisis on income inequality (in particular the...
hi friends, I asked 25 questions in a test. q1 1=correct 0=incorrect q2 1=correct
hi, im doing a dissertation on corporate finance. I have run this xttest0 test in stata and posted my results as an attachment. Could anyone tell...
Hello everyone, I am having troubles with reshaping my data. The data currently looks as follows: Firm Variables 1990 1991 1992 etc. x-----1...
Could anyone please tell me how do we do likelihood ratio test for sureg model. For instance i run constrained and unconstrained models with an...
Hello stata crew, I've encountered a peculiar problem and can't find a good fix. In short, I'm running surveys, exporting the data to excel, and...
Use this control to limit the display of threads to those newer than the specified time frame.
Allows you to choose the data by which the thread list will be sorted.
Order threads in...
Note: when sorting by date, 'descending order' will show the newest results first.
Forum Rules
Advertise on Talk Stats