Closed Nosferican closed 5 years ago
Describe the bug There is a bug in the code that breaks when the number of features differs from three (plus intercept).
To Reproduce
using Econometrics, RDatasets data = dataset("Ecdat", "Kakadu") |> (data -> select(data, [:RecParks, :Sex, :Age, :Schooling])) data.RecParks = convert(Vector{Int}, data.RecParks) data.RecParks = levels!(categorical(data.RecParks, ordered = true), collect(1:5)) model = fit(EconometricModel, @formula(RecParks ~ Age + Sex), data)
Describe the bug There is a bug in the code that breaks when the number of features differs from three (plus intercept).
To Reproduce