Skip to content
Prev 366826 / 398502 Next

proportional odds logistic regression with non-negative constraint for several coefficients

Hi Zhao,

This is not a direct answer to your question, but a suggestion for a
different approach. The ordinal package was designed to cope with
issues like this (parameter constraints in ordinal regression models)
- try the following:
1|2        2|3        3|4        4|5   tempwarm contactyes
 -1.344383   1.250809   3.466887   5.006404   2.503102   1.527798
+   envir$par <- par
+   envir$clm.nll(envir)
+ }
[1] -1.344385  1.250812  3.466887  5.006404  2.503102  1.527798
+        upper = c(Inf, Inf, Inf, Inf, 2, 1),
+        lower = rep(-Inf, 6))$par
[1] -1.6124363  0.8060461  2.8052591  4.2401832  2.0000000  1.0000000
Cheers
Rune
On 26 January 2017 at 20:41, Liu, Zhao <Zhao.Liu at fmglobal.com> wrote:
Message-ID: <CAG_uk92+UVG9LV5k0hQU0GwZw6DqN6KJGOGqH8eFgEXUex+wNg@mail.gmail.com>
In-Reply-To: <CY1PR0401MB17879350EBD1E12EA3692B3FF7770@CY1PR0401MB1787.namprd04.prod.outlook.com>