Dear community,
currently I want to conduct a mediation analysis in Stata using the medeff command. However I am unable to find out if the medeff command recognizes that the treatment intensity is continuous.
My (simplified) code is:
medeff (regress M X x1 x2 x3) (regress Y X M x1 x2 x3)if year==2016, treat(X 0 4.536) mediate(M) sins(1000) seed(1) And I do get an output although I also get the notification "The number of observations in the Data is less thatn the number of simulations. Expanding the data to the number of simulations" I'd be beyond grateful if someone could tell me if the medeff command treats my treatment variable as continuous or not. Alternatively I'd also be happy with an alternative approach to this problem :D
Best
Jil
Related Posts with medeff with continuous treatment intensity
F test xtreg, fe indicates pooled OLS is better. What are the consequences for fe?Hello, I am running a fixed effects model on an unbalanced dataset. I cannot reject the null hypoth…
Replace missings in an unbalanced panel CONDITIONAL on year and firm IDHello everyone, I am new to Statalist and have an issue with filling up missings in a panel data set…
Small N and large T panel analysisHi! I am using panel data with N=6 and monthly data from 2000 to 2017 i.e., T=216. The specific indu…
unbalanced pandel data model - assumptionsHello, I have a clustered model which I run regress on unbalanced panel data. I am not sure which …
Correcting autocorrelation by adding year dummy variables?Hello everybody! For my master dissertation, I'm dealing with panel data. In addition, I detected h…
Subscribe to:
Post Comments (Atom)
0 Response to medeff with continuous treatment intensity
Post a Comment