Nosferican / Econometrics.jl

Econometrics in Julia
https://nosferican.github.io/Econometrics.jl/dev
ISC License
69 stars 19 forks source link

change `bkr` for `qrr` to avoid undefined variable error #85

Open markgpritchard opened 6 months ago

markgpritchard commented 6 months ago

I am afraid I have struggled to reproduce this error in a minimum example, but if the blocks if qrr < size(F, 2) are accessed on lines 181 and 236 while doing a multinomial regression with nominal or ordinal data, then this triggers an undefined variable error. This is corrected by substituting qrr for bkr on 182 and 237. All tests still pass.