hi all,
let's say i want to take the average of 5 scores for class tests for each student in a class. the data looks like the below EXCEPT averagescore. That is the column I want to generate!
student test1 test2 test3 test4 test5 averagescore
1 7 8 NA 7 9...
Hi Guys,
i am pretty new when it comes to using stata, since i need it to finish my master thesis. Now i have to to calculate the HHI for over 2000 observations. My data is structured as follows
Bank Year Albania Andorra Armenia Austria Belarus
Bank of China...
I'm sorry if this is a total noob question, but I cannot figure it out. When I'm adding variables into my regression into STATA, the degrees of freedom (and observations) decreases significantly. In particular, adding one variable decreases them by about 1,000. I am only looking at the same 6...
Dear All,
I have a small question I hope you could help me with.
I am trying to find a predictive model for a dataset doing a stepwise logit regression.
I have a few variables with info that is included in another variable. E.g. "income" (0-9 with 0=income is missing) and "income...
Hello,
I'm starting with Stata 13 and I'm trying to make a pie chart with the %s included. I have "press" all the "buttons" but nothing...
It`s possible to do?? Somebody knows it??
Thanks!!
Latent Class Analysis in Stata (llclogit, lclogitml, gllamm)
Hi all,
I am having trouble fitting a latent class model with Stata.
I have a panel data set from an online discrete choice experiment. Each respondent was represented 12 choice sets with 2 alternatives and, therefore, had to...
Hi to all,
I am also using the ARDL in my model. So I used the varsoc variable to determine the optimum lag for my variables, than I used the ADF to test whether my variables have a unit root or not and also I used the Zivot-Andrews test for structural breaks. Now I am struggling with the...
Dear Stat Talkers!
I'm using the following Stata command (see help mean):
mean x, std(a) stdw(b) over(c)
to get age-standardised mean or proportion of a variable of interest x.
a= variable for age-group and b= variable for weights for each
group. x can be a continuous variable or a...
Hi all,
I have a question regarding panel data--collected biennially--from the National Longitudinal Study of Youth. (I use STATA 13.0 for Mac.)
I've been trying--and failing--to fit a latent growth curve model for respondent Body Mass Index (BMI). Respondents were empaneled as children...
Hi Stata users,
I'm quite new to Stata and econometric packages in general, so I'd like to get some hints on how to specify a gravity model for international trade between different countries. My panel consists of 133 countries over 19 years - thus we have 17556 combinations of importers (ci)...
Dear all,
I'm new to Stata and i'm trying to learn it.
I'm currently working on a research about zero leverage companies and i need to generate a table like the one attached. Since it is my first time i'm experiencing some difficulties.
[/url][/IMG]
Can anyone give me some...
I have recently run this regression using Stata and the command biprobit. However, I am a complete newbie to statistics and I need some help interpreting the results.
I am mostly confused by the Rho and Wald Chi2 results. A simple explanation would be much appreciated.
I have attached a...
My task is to Test whether there are statistically significant mean differences in the log returns between the y stock and the S&P. The data for which is attached.
I have to do all of the analysis in Stata.
The data is not normal so I need to do a non-parametric test, I think a Ranksum or...
I am currently attempting a statistics project, using stata, my dataset has four variables and I have the following brief. The data can be seen attached.
I have posted the questions, and in brackets said how I think I may go about it. I know this is a lengthy post so sorry for that but any...
Dear all,
We can't manage to generate a Leontief Inverse matrix, below an example.
Given for example the following matrix converted from stata.
A=st_data(.,("a", "b","c", "d", "e","f"))
1 2 3 4 5 6
+-------------------------------+
1 | 8 4 5...
i am using a fixed effects model with log of wage as the dependent variable
when i try
xi: xtreg logwage i.d08##c.yrschool exp2 married, i(id) fe
where i.d08##c.yrschool is an interaction term with d08 being a dummy for the year 2008 and yrschool being a continuous variable for years of...
Hi,
I'm looking for help with hazard function plot.
Sample of dataset of 1200 obs:
ID Age Drugduration Hypertension Event EventDay Censored
1 76 200 1 0 83 1
2 80 180 0 1 214 0
3 85 120 1 0 275 1
I used these codes:
stset EventDay, failure(Event) id(ID)
stcox Age...
I am working on consumer preferences for fish, using conjoint analysis. My experimental design was generated in spss using orthogonal design, but my analysis has to be done in STATA. I need clarification if STATA will recognize the holdout cases that would have been used to validate the model in...
I am testing a structural equation model using Stata. I need to report standardized direct, indirect and total effects with associated standard errors (effects decomposition). While I can get the standardized effects, Std. Err. are only generated in relation to the unstandardized coefficients...
Bonjour a tous,
I'm trying to achieve the following multiplication
VAR = W*S*W'
w: [n,1]
S: [n,n]
s: [n,1]
I have the following variables in Stata:
date W s
In my case, S is a square matrix [n,n] with 1 in the diagonal and a constant (per period) "s" in the diagonal.
The...