binom2.rho(lrho = "rhobit", erho=list(),
init.rho = 0.4, zero = 3, exchangeable = FALSE)Links for more choices.lrho link.
See earg in Links for general information.NULL means none.TRUE, the two marginal probabilities are constrained to
be equal."vglmff" (see vglmff-class).
The object is used by modelling functions such as vglm,
and vgam. When fitted, the fitted.values slot of the object contains the
four joint probabilities, labelled as
$(Y_1,Y_2)$ = (0,0), (0,1), (1,0), (1,1), respectively.
The bivariate probit model should not be confused with a bivariate
logit model with a probit link (see binom2.or).
The latter uses the odds ratio to quantify the association. Actually,
the bivariate logit model is recommended over the bivariate probit
model because the odds ratio is a more natural way of measuring the
association between two binary responses.
Documentation accompanying the
binom2.or,
loglinb2,
coalminers,
binomialff,
rhobit,
fisherz.data(coalminers)
coalminers = transform(coalminers, Age = (age - 42) / 5)
fit = vglm(cbind(nBnW,nBW,BnW,BW) ~ Age, binom2.rho, coalminers)
summary(fit)
coef(fit, matrix=TRUE)Run the code above in your browser using DataLab