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
How to scalar matrixes produced by mean, over() for exact groupsDear all, I am trying to find a way to store vector of mean estimates as scalars. In fact, I compar…
Add Time in Panel RegressionHello Statalist, As a beginner, I am asking a silly and simple question. In my panel data model. th…
Panel data analysisHi evryone. What is wrong in may data? I cannot do xtpcse analysis. Please HELP!!! …
Combining several tablesDear Statlists, I am trying to combine several tables into one table. in the following code I creat…
new Mata class abm_nw for managing networks in an Agent Based ModelA new Mata class called abm_nw is now available from this GitHub repository. It is intended to help …
Subscribe to:
Post Comments (Atom)
0 Response to medeff with continuous treatment intensity
Post a Comment