sample selection and corner solution model
Hi Statalist, I'm currently working on log-linear model to explain FDI stock that takes zero and strictly positive values (the well known gravity model). Because, I have log linearised my model, I have...
View Articlecmp - Conditional mixed process estimator with multilevel random effects and...
Hello all, I am running the following command: cmp (hort=area_cult_hh) (techno=area_cult_hh) (lq_final_trim=area_cult_hh) (laborarea=area_cult_hh), ind(4 5 1 1) qui To get predicted values and marginal...
View ArticleFormula for cluster VCE in areg
From the Stata Manual for Areg: The number of groups specified in absorb() are included in the degrees of freedom used in the finite-sample adjustment of the cluster–robust VCE estimator. This...
View Articleconformability error r(503) when using CQIV code for censored quantile...
Hi - I am using the CQIV code for censored quantile instrumental variable regression. Here is the command I am using: cqiv consumption price characteristics, confidence(boot) bootreps(200) exogenous...
View ArticleOLS with Conley Spatial standard errors
Hi everyone, I desperately need some help here. I am using x_ols to get corrected standard errors for spatial dependence which works fine. But I also need adjusted R-squared which is not part of the...
View ArticleData managing
Hi, I have a panel data. My dataset isn't complete like fig3. I want to make it like fig4 Please give me some advice. Thanks a lot. Array . Array
View Articlemelogit "cannot compute an improvement -- discontinuous region...
Hello everybody, I checked for update this morning and update my STATA 14 to STATA 14.1. Tonight my melogit doesn't run anymore "cannot compute an improvement -- discontinuous region encountered". I...
View ArticleNumber of observations
Hello everyone, I have an unbalanced panel data set of 65,000 obs of 10000 firms over 1975 - 2000, so there are some firms with 1-2 years of data while some others with 20 years. But when I run xtreg...
View ArticlePerforming Wald test with interaction term
I want to perform a Wald test using a regression that looks like this one from a paper of Toolsema and Jacobs (2007): Array My problem is that I do not exactly know how to format the regression in such...
View ArticleDifference between Invariant variables.. Fixed Effect
Hi Everyone, One more question for the day. If I would like to estimate if there is a significant difference of height on weight between male and female, the usual model would be: xi: regress weight...
View ArticlePerforming Wald test with interaction term
I want to perform a Wald test using a regression that looks like this one from a paper of Toolsema and Jacobs (2007): [ATTACH=CONFIG]temp_5334_1466954702194_235[/ATTACH] My problem is that I do not...
View ArticleSort command and Correlation table
Dear Statalist, I have a panel data. I have sorted id by religious denomination (F025) and for each denomination I have created a correlation table using as imput variables: partecipation to religious...
View ArticleCombining two variables into one
I have 2 variables identifying whether someone has heard/seen a health message. I want to combine them into 1 variable. In the first variable (s339), 2853 people said Yes, they heard/saw the health...
View ArticleMultilevel modeling with survey data - question
Hello, I am a political science graduate student, new to the Stata Forum and a first time poster. I am working on a project where I want to run a multilevel model using weighted survey data, but I am...
View ArticleMaps
I'm trying maps commands but when using "shp2dta" I always obtain an error message in spite to have followed the instructions. I attach a file with more details. Can anybody help me?
View ArticleReplacing observations with missing values
Dear all, Suppose i have the following data: Code: id var5 var1 var3 0 5 5 5 50 10 10 10 55 20 20 20 78 30 30 30 98 40 40 40 143 50 50 50 167 60 60 60 184 70 70 70 192 80 80 80 203 90 90 90 219 100 100...
View ArticleARDL long-run coefficient
Dear all, I have a question regarding the calculation of long-run coefficient from an ARDL model. I would like to estimated the following ARDL model and then test whether yt and x1t are cointegrated by...
View ArticleError while importing multiple sheets
Hi all, I am importing 8 sheets in Stata 13 from single excel file using loop, and then saving them in the form of data sets. The loop works perfectly for the first three sheets, however, when it tries...
View ArticleMarginal Effect and Fixed Effect with Interaction Dummies
Hi everyone, This is a follow up from a previous post (http://www.statalist.org/forums/foru...s-fixed-effect), but the question is changing and I feel it deserves its on discussion. Here is my issue....
View ArticleCan I use xttest3 for N=33 and t=8 (panel data)?
Hello I read the note the power of modified Wald statistic is very low in the context of fixed effects with "large N, small T" panels Is it appropriate to use xttest3 in my data? (N=33 and t=8) The...
View Article