Learn R Programming

micsr (version 0.1-1)

bivprobit: Bivariate probit

Description

Estimation of bivariate probit models by maximum likelihood

Usage

bivprobit(
  formula,
  data,
  weights,
  subset,
  na.action,
  offset,
  method = c("newton", "bfgs"),
  ...
)

# S3 method for bivprobit logLik(object, ..., type = c("model", "null"))

Value

an object of class micsr, see micsr::micsr for further details

Arguments

formula

a symbolic description of the model, a two-part left and right hand side formula

data

a data frame,

subset, weights, na.action, offset

see stats::lm,

method

the optimization method, one of "newton" and "bfgs"

...

further arguments

object

a bivprobit object

type

for the logLik method

Examples

Run this code
bivprobit(mjob | fjob ~ meduc + ychild + owner | feduc + ychild + owner , housprod)

Run the code above in your browser using DataLab