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
Universitätsstraße 22
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
-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
David Winsemius, MD
Heritage Laboratories
West Hartford, CT
--
**
Dipl.-Stat. Benjamin Hofner
Institut für
with by
- bns and bss deprecated
--
**
Dipl.-Stat. Benjamin Hofner
Institut für Medizininformatik, Biometrie und Epidemiologie
Friedrich-Alexander-Universität Erlangen-Nürnberg
Waldstr. 6 - 91054 Erlangen - Germany
benjamin.hof
6 matches
Mail list logo