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

Cardenas, Gabriel A GC@rden@@2 @end|ng |rom med@m|@m|@edu
Fri May 24 19:43:36 CEST 2019


Thanks for your help.
Mainly, at one point I code the dependent variable PREP24 to dichotomous and run boosted logistic right. I try to use type=”glm” and I get nothing out of the analysis. So I just leave it as binomial()  and then I get this strange response in the .obj where I get a response with a different response for every row? Then I get that error out of confint?

From: Bert Gunter <bgunter.4567 using gmail.com>
Sent: Friday, May 24, 2019 12:58 PM
To: Cardenas, Gabriel A <GCardenas2 using med.miami.edu>
Cc: r-help using r-project.org
Subject: Re: [R] mboost: Proportional odds boosting model - how to specify the offset?

... and I should have said, show us your code. We've no idea what you tried to do (or at least I don't).

Bert Gunter

"The trouble with having an open mind is that people keep coming along and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )


On Fri, May 24, 2019 at 9:50 AM Bert Gunter <bgunter.4567 using gmail.com<mailto:bgunter.4567 using gmail.com>> wrote:
I would have thought the message was obvious. Follow the posting guide: show us a subset of your data.

Bert Gunter

"The trouble with having an open mind is that people keep coming along and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )


On Fri, May 24, 2019 at 9:26 AM Cardenas, Gabriel A <GCardenas2 using med.miami.edu<mailto:GCardenas2 using med.miami.edu>> wrote:
I keep getting this error

in base::rowSums(x, na.rm = na.rm, dims = dims, ...) :
  'x' must be numeric
In addition: Warning message:

When I try to run confint on the opt object can you help please thnx

        [[alternative HTML version deleted]]

______________________________________________
R-help using r-project.org<mailto:R-help using r-project.org> mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fr-help&data=02%7C01%7CGCardenas2%40med.miami.edu%7C213a0d9d89964df3614c08d6e068f10a%7C2a144b72f23942d48c0e6f0f17c48e33%7C0%7C0%7C636943138659886506&sdata=MOYiygI2g59rHOD53aqlfpKXQbA2xKb%2FFoZMQiw658M%3D&reserved=0>
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html<https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.R-project.org%2Fposting-guide.html&data=02%7C01%7CGCardenas2%40med.miami.edu%7C213a0d9d89964df3614c08d6e068f10a%7C2a144b72f23942d48c0e6f0f17c48e33%7C0%7C0%7C636943138659886506&sdata=o4V9nNtarvaF4HHEz%2B3j4bEF59OhT69%2Fl8bDjczsFEc%3D&reserved=0>
and provide commented, minimal, self-contained, reproducible code.


More information about the R-help mailing list