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
Lognormal regression & Trucated normal regression in hurdle modelI want to estimate the effect of socio-economic status on private tuition expenditure (cross section…
Matching with identifiersHi everyone: Below is a sample of a dataset that I have been working on. HH ID Relationship to …
The "omitted" results in interaction between two dummy variablesHi there, I'm running a logistic regression and put two interaction terms between dummies in the mo…
appropriate filterDear community, It is my first time using STAT and I am stuck with an assignment. It says: "In Stat…
Instrumental Variable (2SLS) First stage different sample compared to Second Stage?Dear all, I have a question with regard to Instrumental variable regression. My sample is identifi…
Subscribe to:
Post Comments (Atom)
0 Response to Constraints in a nonlinear regression with interaction terms
Post a Comment