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
Saving tabstat as a matrix and calculate j-b valueDear statalist: I am learning to obtain descriptive statistics of variables, but i don't know how t…
File read limits.Dear All, Stata's manual mentions that: fget(fh) is for reading text files; the next line from the…
Help with destringing a variableHello, I'm working with a dataset and I want to destring a variable. This variable is a string but w…
Is a ordered logit model possible?First of all, thank you for reading. I have a question. As a dependent variable, we use the average…
multipl regression with an unstructured datahello. What are the keywords to find literature related to the following? "The basic theory of inf…
Subscribe to:
Post Comments (Atom)
0 Response to Constraints in a nonlinear regression with interaction terms
Post a Comment