Closed Nosferican closed 5 years ago
Describe the bug Wrong estimates.
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)) data.RecParks = convert(Vector{Int}, data.RecParks) .- 1 data = data[data.RecParks .≠ 0,:] data.RecParks = levels!(categorical(data.RecParks, ordered = true), collect(1:4)) model = fit(EconometricModel, @formula(RecParks ~ Age + Sex + Schooling), data)
Closed by #19.
Describe the bug Wrong estimates.
To Reproduce