xtrc vs. xtreg
Can somebody help me in understanding the difference between xtrc command & xtreg (random effects) command for panel data regression ? Is it that xtrc runs OLS while xtreg runs GLS estimation? How...
View ArticleBox plot - simple but unanswered question
I want to generate a box plot summarizing 3 variables named: physician_costs nursing_costs other_costs I want the box plot to be over(gender), which means there will be 6 boxes in the following default...
View ArticleGraphing the results after mixed model with cubic splines
Hi! I have run a linear mixed model for repeated measures with cubic splines for age: Code: mkspline agesp = age, cubic knots(0 18 36 60 84 96) mixed depvar agesp* cov1 cov2 ..... || ID: age, mle...
View ArticleUsing adjustrcspline after mixed
Hi! I want to graph the results after having run a linear mixed model for repeated measures that includes cubic splines for age. I have done: Code: mkspline2 agespline = age, cubic knots(0 18 36 60 84...
View ArticleNew version of cprdlinkutil on SSC
Thanks to Kit Baum, a new version of the cprdlinkutil package (described as below on my website) is now available for download from SSC. In Stata, use the ssc command to do this, or adoupdate if you...
View ArticleBoxplots
Hi, I am relatively new to stata, I was wondering if anyone had an advice on how to get box plots next to each other? I have 4 repeated measures scores over time I would like the box plot for each...
View ArticleStrange result in FE models
Hi all, I'm very confused by a set of results I have for a Fixed-Effects linear model. I am predicting the effect of job mobility on log wages. I control for a number of variables including age,...
View Articlemargins
Hello, I've use xtbond2 to estimate a growth model for the Italian NUTS-3 provinces, where growth of Value Added is my dependent variable and log of VA is my independent with other explanatory...
View Articledecomposition after multinomial logit model
Dear all, I did multinomial logit model for employment status. I want to find out whether there is inequality in employment status choice between female and male. Can I continue with Oaxaca...
View ArticleLine Graph showing frequencies of a variable's values
Hey there, I am handling social monitoring data and want to illustrate changes in the attitude towards certain statements over time, where responses range from 1 = agree completely to 4 = disagree...
View ArticleZero Value Trade Flows - drop them
Dear everyone, I have a dataset that does contain many zero value observations on the dependent variable. Since im doing a triple difference with three interactive fixed effect the dependent variable...
View ArticleTwo part model with (1) Probit (2) Ologit or Oprobit
Dear Statalist users, I am doing a project with two part model. The first equation is a probit, and the dep_var of the second equation is ordered (hierarchical) multi-level variable. I have searched...
View ArticlePooled cross-sectional regressions using previous ten years of data and lead...
Dear Statalist Members, I have a panel data with lot of missing data and I am trying to estimate the following pooled cross-sectional regressions for each year between 1980 and 2016 The model is :...
View ArticleVisualizing data in pre- post- study.. How to best do this with Stata.
Hi Everyone, I'm having some trouble getting started with analyzing my dataset and could use some help. First off I want to compare participant responses based on a set of survey questions. Currently...
View ArticlePre- and post- survey response comparisons...How to bes visualize responses.
Hi Everyone, I'm having some trouble getting started with analyzing my dataset and could use some help. First off I want to compare participant responses based on a set of survey questions. Currently...
View ArticleSQ-Ados for Sequence Analysis updated on SSC
Dear Statalisters, Courtesy of Kit Baum, the SQ-Ados for Sequence Analysis has been updated on SSC. Users of previous versions of the SQ-Ados should type Code: adoupdate sq, update to update their...
View ArticleGenerate variable using cond()
Hello! I'm an student of a Masters degree in political analysis and I'm just a new user of Stata (The only statistical software i have used previously is Gretl) I have a question for the community: I...
View ArticleReferencing a value's label
I have a race variable that's coded 1-6 and has labels. Is there any way to store the labels in a local? I want a series of .log files containing some tabulations for each race, and I'd like the file...
View ArticlePanel data or Pooled Cross Section?
Hello. I am not sure if the data I am working on are pooled cross section or panel data.The database includes 60 national elections of 14 countries in which non-residents were allowed to vote. The...
View Article