Table 2. R model objects (package) supported in DynNom.
Response variable | Model | R functions (package) | |
---|---|---|---|
Discrete | |||
Binary | Logistic regression | glm (stats), lrm (rms) | |
Count data | Poisson regression | glm (stats), Glm (rms) | |
Continuous | |||
Normal | Linear regression | lm (stats), ols (rms) | |
Positive | Gamma regression | glm (stats), Glm (rms) | |
Time-to-event | Cox proportional hazards | coxph (survival), cph (rms) | |
Generalized additive model | gam (mgcv), gam (gam) |