[R] mboost: Proportional odds boosting model - how to specify the offset?

Nussbaum Madlene madlene.nussbaum at env.ethz.ch
Mon Mar 23 17:07:43 CET 2015


Dear Benjamin

This solved the problem.


On 03/20/2015 04:06 PM, Benjamin Hofner wrote:

> First, mboost expects the offset to be a scalar or a vector with length
> equal to the number of observations.
> (i.e., x'beta)

ok, I could not figure out how to get the correct link vector from the 
polr. Using glmboost is certainly a good idea.

> Second, there was a bug in mboost.

Thanks for fixing!


> install.packages("mboost", repos="http://R-Forge.R-project.org")

The changes were somehow not included in the newest build. I downloaded 
the function from the SCM Repository directly. It works fine now.

Thank you for your help!
Madlene



More information about the R-help mailing list