Dear Madlene,
the problem that you observed was twofold.
First, mboost expects the offset to be a scalar or a vector with length
equal to the number of observations. However, fitted(p.iris) is a
matrix. In PropOdds(), the linear or additive predictor is shared among
all outcome categories and
Sorry, but your current information doesn't help to solve your problem. Not
having explicit base-learners is not the cause of your problem, especially
as for glmboost() there are no explicit base-learners. You should definitely
provide a minimal example that helps to reproduce your error/problem.
*******
Dipl.-Stat. Benjamin Hofner
Institut für Medizininformatik, Biometrie und Epidemiologie
Friedrich-Alexander-Universität Erlangen-Nürnberg
Waldstr. 6 - 91054 Erlangen - Germany
Tel: +49-9131-85-22707
Fax: +49-9131-85-25740
Office:
Room 3.036
Uni
Hi Travis,
I try to give you some hints that might bring you closer to a solution.
The clue to your problem (as far as I understand it) might just be to
appropriately use the predict function of mboost. You can specify a new
data set (e.g. a part of your original data set not used for estimatio
hanks.
>>
>> __
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-
in bols replaced with "intercept"
- argument "z" in base-learners replaced with "by"
- bns and bss deprecated
--
**
Dipl.-Stat. Benjamin Hofner
Institut für Medizininformatik, Biome
6 matches
Mail list logo