fitOR: FITTING H- and F-MODELS

Description Usage Arguments Value Author(s) Examples

Description

Fits the multinomial logistic regression models. See partialOR() for details.

Usage

1
fitOR(dd)

Arguments

dd

data frame with variables x,y,z1,...,zm

Value

fitH

details of the H-model fit as returned by the optimization procedure optim()

fitF

details of the F-model fit as returned by the function summary.nnet()

fit0

details of the null model, i.e. the model without covariates, as returned by nnet()

Author(s)

Vaclav.Fidler and Nico.Nagelkerke

Examples

1
2
3
4
5
6
## simulate example data 
dd <- simData(50,2,1.5,123) 
## fit the models
ff <- fitOR(dd) 
## display parameter estimates of the H-model
ff$fitH$coefficients

partialOR documentation built on May 1, 2019, 10:29 p.m.