Hi all,
I have two questions I was hoping to get some help:
1) I have a panel(longitudinal) model of the following form: Yit= b0 + b1X1it + b2ln(X2it) + b3X1it * ln(X2it)+ b4Zit where both X1 (globalization measure) and X2 (per capital military spending) are continuous variables and ln(X2it) is the logarithmic transformation of X2. The slope of X1 would be b1+b3*ln(X2it) and ln(X2 ranges from (-3.41) to (9), b1= -0.008 and b3=0.002. Therefore, for ln(X2)=-3.41 the marginal effect of X1 would be -0.008 + 0.002*(-3.41) = - 0.0148. Would I interpret this as a globalization index increases by 1 unit Y on average decreases by - 0.0148 units (holding all else equal)? In other words does it matter that X2 is ln transformed? Additionally, if now I was to interpret the marginal effect of X2 which would be equal to b2 + b3*X1 ( for a value of X1=10 the summ would be 0.3) would I say for a 1 percent increase in X2, on average Y will increase by 0.3*0.001=0.003 units i.e., just a regular linear-log interpretation?
2) In one of my models I am using xtpcse and the regression model is the same i.e. Yit= b0 + b1X1it + b2ln(X2it) + b3X1it * ln(X2it)+ b4Zit. When I run " margins, at (ln(X2)=(-3.41(1)9)) dydx(X1) vsquish I get (not estimable) output which only happens with only one of my three dependent variables. I was wondering what might cause this kind of output.
Thank you
Related Posts with margins and interpretation of the interaction between two variables one of which in log transformed
Mininum edge weights in the path between two nodes (Network Analsysis)Dear Statalisters, (Stata version 15.1) I have a network N and I am using the user-developed packag…
how to count the numbers of variables that meet some requirements in the matrix?I want to count the numbers of variables whose p value is less than .2 after running a regression mo…
Logistic regression when all variables are proportions (percentages)Both my outcome variable and my independent variables are proportions (%). I am trying to run a logi…
How to allow for time-varying treatment effects and heterogeneous treatment subgroup effects in generalized DD?Hi all, I am running a generalized DD to estimate the effect on infant mortality rate (imr) of a he…
fmm invalid nameI'm trying to run a finite mixture model Code: fmm 2: logit y x1 x2 x3 However, I get the error "2 …
Subscribe to:
Post Comments (Atom)
0 Response to margins and interpretation of the interaction between two variables one of which in log transformed
Post a Comment