Quantcast
Channel: Statalist
Browsing all 65033 articles
Browse latest View live
↧

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 Article


Cluster 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 Article


About groups inside studies of inequality

Hello everyone, Anyone know how i can label the groups generate by command ineqdeco? Thanks

View Article

Looping 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 Article

Can (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 Article


Postfile 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 Article

Error 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 Article


Model 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 Article


ylabel 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 Article

no 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 Article

help 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 Article

Cannot 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 Article


Likelihood-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 Article

New 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 Article


Multilevel 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 Article

time-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 Article


The 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 Article

Equivalent 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 Article

Outreg2 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
Browsing all 65033 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>