I am running an OLS model in Stata and one of the explanatory variables is the interaction between another explanatory variable and time dummies. My question is: if I want to run an OLS with time fixed effects is it enough to run the usual OLS with that interaction variable (because...
I am currently trying to see if there is an association between a specific haplotype and and disease i two population. So far i have managed to do a Fisher´s exact test however i would also like to calculate the odds-ratio and see the CI if its possible.
Using the command: tab rowvar...
For a project, I would like to create a variable, which in my opinion is pretty complex. But I'm very new to Stata, and hope one of you can help me out.
My data has 3 vars: country, and city, pop.
Country City Pop
U.S City 1 200M
Hi all, I am trying to run a logistic regression and would really appreciate any help. I have a list of unique companies (with a binary dependent variable 1=international operations / 0=local operations) both across countries and year and several firm-level and country-level independent...
I am trying to run a logistic regression and would really appreciate any help.
I have a list of company (with a binary dependent var. 1=fail / 0=succeed) both across countries and year (please see attached small file).
From what I understand so far, I need to have:
I am trying to run a rm anova in STATA.
I have a dependent variable Y, a grouping variable (independent) X, which is my treatment variable, and each subject is measured twice, so the repeated measures variable is R. The subject variable is S (R=1,2 S=1,2,3,.... X=1,2,3)
I am dealing with a panel and multi-level data. Specifically, I have data (prices, etc...) related to numerous items (each identified by a unique id) within a product category in a given period. The measurements for the same item are repeated several times in this period: that is, for...
I'm working in a multivariate linear regression, after I calculated interactions in the model the researcher I am working with would like to know the impact of mediators variables in the relationship between the IVs and the DVs. I read about the Sobel-Goodman test also I find help at...
So I'm pretty good with the non-graphic part of STATA now, but I fail to understand how to make this specifik bar graph.
What I have, for example, is two variables:
var1 = 3 categories: high, mid, low
var2 = 2 categories: yes, no
What I'd like what to have a bar graph...
I am doing a research paper on finding the asymmetric volatility 14 stock indexes from around the world, and for this I am using EGARCH and GJR GARCH, the problem which i am facing at the moment is that in EGARCH (1,1) it show the asymmetry effect, while in GJR GARCH is does not show...
I have a HH dataset consiting of about 50 or so subsets which I am trying to merge together. The following problem occures. In some of these datasets there are more observations then individuals in the survey because data on jobs has been coded as job1, job2, job3 etc... each...
Could someone please help me interpret this regression model?
. regress _changein4yrMath _Overalldaysattended school1 school2 school3 school4 school5
note: school5 omitted because of collinearity
Source | SS df MS Number of obs = 721...
Hi, Could you please help me which stata command I should use to see if there is a difference in improvements by grade level? I am thinking chi-square, but not 100% sure. Thank you for your help!
6th Grade 7th Grade 8th Grade
Frequency Percent Frequency Percent...
I am running a regression on a dataset which I think shows correlation
between observations of a cluster. Therefore I use the
cluster-robust-VCE estimator by adding -cluster(group)- to the
regression command. As this estimator requires the disturbances between
groups to be...
I ran a multiple regression, using the following categorical dependent variables which ranked current job satisfaction:
0=not satisfied at all
1=somewhat not satisfied
2=neutral (base outcome)
one of my independent variables is job_number (# of jobs...
I have a question involving counting frequencies. I have a variable x that takes on values between 1 and 5. And some of them occur more than once, so x=
I want to create a dummy variable that equals one when a number only occurs once in the...
First time posting.
I have a question as I have just started doing some data cleaning with Stata.
I have had to personally identify certain numbers I want to change in Stata from another dataset.
And for these numbers, I want to make a dummy variable=1.
My current code...