bgw_drglg {bgw} | R Documentation |

An r wrapper to call drglg_c, which in turn is a wrapper to call the Fortran subroutine drglg. drglg is the BGW iteration driver for performing statistical parameter estimation

```
bgw_drglg(
d,
dr,
iv,
liv,
lv,
n,
nd,
nn,
p,
ps,
r,
rd,
v,
x,
rhoi,
rhor,
i_itsum
)
```

`d` |
Scaling vector |

`dr` |
Derivative of the choice probability model wrt x |

`iv` |
BGW internal vector of integer values |

`liv` |
Length of iv. |

`lv` |
Length of v. |

`n` |
Dimension of vector (r) of generalized residuals for the model |

`nd` |
Leading dimension dr. Must be at least ps. |

`nn` |
Leading dimension of r, rd |

`p` |
Dimension of x (as well as d, g) = number of parameters being estimated |

`ps` |
Number of non-nuisance parameters (= p in this implementation) |

`r` |
Vector of generalized residuals for the model |

`rd` |
Vector of storage space for regression diagonostics (not currently used) |

`v` |
BGW internal vector of numeric values |

`x` |
Parameter vector for which the objective function is being minimized |

`rhoi` |
Vector of integers for use by user (not currently used) |

`rhor` |
Vector of numeric values for use by user (not currently used) |

`i_itsum` |
Variable for passing itsum instruction back to bgw_mle |

out List of return values.

[Package *bgw* version 0.1.2 Index]