Dear all,
I am running a fractional logit model, using fracglm, where Vote (the percentages of votes in favor) is my dependent variable.
My independent variable of interest (X1) is a fraction, representing a group of people with voting power (1 vote per person). Hence, when X1 increases by 1, Vote should increase by a maximum of 1. The coefficient is relative to another group (not included in the regression), and both groups add up to the total voting power. Hence, the coefficient of X1 should be between -1 and 1.
However, X1 interacts with two additional variables:
Vote = a + [b1]X1 + [b2]X1 * X2 + [b3]X1 * X3
The total effect of X1 on Vote should be between -1 and 1 (-1<= b1 + b2 + b3 <=1).
How can I test such a model in Stata? I am aware of this FAQ but I am not sure whether it can be applied to my model.
Related Posts with Constraints in a nonlinear regression with interaction terms
Using the character ehat_t in the y-axisDear all, I hope you are all keeping well! I want to use the character ehat_t in my y-axis So I t…
Controlling for differences caused by occupationHello - I am new to the world of econometrics and am working on a small research paper. I am trying …
How should I fix this error in my scatter plot?Hello, I've been trying to make a more advanced scatter plot and have managed to figure out the bit…
Stata vs Mplus for LPA?Dear researchers, I am trying to conduct Latent Profile Analysis but wonder conducting it with Stat…
geonear r(459) error message adviceHi All, I am trying to calculate the distance of disaster occurrences from specific place names wit…
Subscribe to:
Post Comments (Atom)
0 Response to Constraints in a nonlinear regression with interaction terms
Post a Comment