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