Skip to content
Prev 397773 / 398500 Next

Estimating regression with constraints in model coefficients

Hello again Christofer,
This clarification changes the model structure somewhat significantly -it shifts us from a standard cumulative logit model with proportional odds to a non-parallel cumulative logit model, where each threshold has its own set of ? coefficients. At least, that is now my understanding.
So, instead of a single ? vector shared across all class boundaries, you're now specifying:
? One set of coefficients ?(1)?^{(1)}?(1) for the logit of P(Y?1)P(Y ? 1)P(Y?1),
? A second, distinct set ?(2)?^{(2)}?(2) for P(Y?2)P(Y ? 2)P(Y?2),
? And no intercepts, meaning the threshold-specific slope vectors must carry all the signal.

So, we can adjust the log-likelihood accordingly:
P(Y=1)=logistic(X?(1))P(Y=2)=logistic(X?(2))?logistic(X?(1))P(Y=3)=1?logistic(X?(2))P(Y = 1) = logistic(X?^{(1)}) P(Y = 2) = logistic(X?^{(2)}) - logistic(X?^{(1)}) P(Y = 3) = 1 - logistic(X?^{(2)}) P(Y=1)=logistic(X?(1))P(Y=2)=logistic(X?(2))?logistic(X?(1))P(Y=3)=1?logistic(X?(2)) 


Before I attempt a revised script, can you confirm:
1. Should the sum constraint (e.g., sum(?) = 1.60) apply to:
? Only ???
? Only ???
? Or the sum of all 6 coefficients (?? and ?? combined)?

2. Do you want to apply separate lower/upper bounds to each of the six ? coefficients (and if so, what are they for each)?

Once I understand this last part better, I?ll see about working on a version that fits this updated structure and constraint logic.
As always ? no promises.
r/
Gregg Powell
Sierra Vista, AZ
On Tuesday, April 29th, 2025 at 1:51 PM, Christofer Bogaso <bogaso.christofer at gmail.com> wrote:

            
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 603 bytes
Desc: OpenPGP digital signature
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20250429/9ed1bff0/attachment.sig>
Message-ID: <oMVMoZI6PDcvbWetH9qHhWgMJYkMoVNtkUF1wzInX7KvQO1vdnwFBapkiemN5kNdITYMaRlU-XE3wXX8_IQpCn2m9M-OzorsolgwjVUj_fI=@protonmail.com>
In-Reply-To: <CA+dpOJkdtjhEfGrXMB=UwYCNCG7662V=aQQg9+jWjK0JZgwAtw@mail.gmail.com>