Xtmelogit and Marginal effects
I'm trying to learn xtmelogit and I'm having some difficulty with the marginal effects. Essentially, I run a command that looks like: xtmelogit y Control1 Control2 Control3 Control4 x1 x2 || Level2: ||...
View ArticleCluster analysis to create asset index
Hello i am new to the forum I was wondering if any of you Stata geniuses could be so kind as to help me. I am attempting to use the command cluster kmedians $assets, k(5) to create an asset index....
View ArticleAbout groups inside studies of inequality
Hello everyone, Anyone know how i can label the groups generate by command ineqdeco? Thanks
View ArticleLooping nested If/Or across multiple string variables
Hello. I am using Stata 14.1. I have data on contract terms for approximately 130,000 observations containing over 200 variables. For each unique observation I have data on all contract terms used for...
View ArticleCan (should) the confidence interval on the RMSEA be changed?
Hi all, For a recent paper, I ran a pretty standard SEM model in Stata 14 and used the estat gof, stats(all) command to get the fit indices. I reported (along with other fit indices) the RMSEA with the...
View ArticlePostfile only posting to the first row of new dataset when used in a loop
Hello Statalisters, I'm having a small issue with postfile that i'm unable to work around. I'm using postfile to store some values from a matrix of regression results at the end of a simulation, but...
View Article-melogit- model and results of LR test vs. logistic model
Hi Statalisters, I was hoping to get some insight on an issue regarding the results of model run using -melogit-. I'm including random intercept and random slope for time with an independent covariance...
View ArticleError or 95%CI bars for poisson regression graph
Hi I have a simple dataset which has the following variables: - Year - Crude rate of cases - Total person-years at risk in a given year To get an output of the rate ratio by year, I have used the...
View ArticleModel fit statistics after using mi estimate
I am a bit of a quandary. I used multiple imputation and then run this command: HTML Code: mi estimate: logit outvar predvar Now I want model fit indices (AIC, BIC) but can't obtain them with imputed...
View Articleylabel containing apostrophes overlap with ytitle
Hi When I use an apostrophe in the ylabel the ytitlegap is not correctly specified. I used the margin option to set the gap. However, I wonder if there is an other way to define the ylabel to avoid...
View Articleno p-value and standard derivation in estimation of ATT in propensity score...
Hello, I have computed the ATT with psmatch2. My syntax is: psmatch2 group t70 t71 t66 t10 t08 t30 , outcome(fors1) logit odds neighbor(1) caliper(10) noreplace This shows means for matched and...
View Articlehelp with Interpreting the results ITS with single interruption
Hi everyone, I am just wondering if you could give me a hand to make sure what I have done is correct please? I have run an ITS with single interruption at point 614 (please see below). 1)Could I say...
View ArticleCannot find ado/personal
Hello Statalisters, I'm writing a short programme to help with some graphing tasks, and i'm running into a problem locating my ado/personal folder. I'm running Stata on Mac OSX El Capitan, and the...
View ArticleLikelihood-ratio test of the xttobit
Hello statalist, I have run a xttobit command and I have got the following for the Likelihood-ratio test, Likelihood-ratio test of sigma_u=0: chibar2 (01)= 0.00 prob>=chibar2= 1.000 does that mean...
View ArticleNew command -veracrypt- on SSC
A new command -veracrypt- is now available for download from SSC thanks to Kit Baum's help. To install, type -ssc install veracrypt- in Stata. This is based on Matthew White's great -truecrypt-...
View ArticleMultilevel structural model with gsem
Dear all, I'm facing some problems with gsem. I have a two-level hierarchy data with households [hhID] nested within areas[PSU]. I'd like to specify a SEM in which the measurement model expresses the...
View Articletime-varying variables in seqlogit command
Hi everyone, I am facing a problem with the seqlogit command, which enables to estimate a sequential logit model. Indeed, I want to include both constant variables over time and time-varying variables....
View ArticleThe question about endogeneity test of panel data model without instrument...
Dear all, I used balanced panel data and have googled with the following string -test for endogeneity in panel data- gives back some Stata-related entries. But there is no specific case fits for my...
View ArticleEquivalent to "inlist" for AND conditions?
I'm familiar with inlist, and generally use it in the format: "gen example=1 if inlist(1,var1,var2,var3)" as equivalent to "gen example=1 if 1==var1|1==var2|1==var3" My question: Is there an equivalent...
View ArticleOutreg2 gives error: __000001_wvar not found
Hi, I am using Stata 14 and I have installed outreg2. Sometimes this command displays the results and other times it does not. I have estimated several equations and stored them using the command as...
View Article