Nosferican / Econometrics.jl

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

Package fails on Julia master (1.4) #30

Closed KristofferC closed 4 years ago

KristofferC commented 4 years ago

Running the tests on the branch that will become 1.4 fails with

Balanced Panel Data: Test Failed at /home/pkgeval/.julia/packages/Econometrics/yaUJG/test/runtests.jl:66
  Expression: sprint(show, model) == "Continuous Response Model\nNumber of observations: 630\nNull Loglikelihood: 1633.30\nLoglikelihood: 1643.30\nR-squared: 0.0312\nLR Test: 19.99 ∼ χ²(3) ⟹  Pr > χ² = 0.0002\nFormula: CRMRTE ~ 1 + PrbConv + AvgSen + PrbPris\nVariance Covariance Estimator: OIM\n──────────────────────────────────────────────────────────────────────────────────────\n                    PE           SE      t-value  Pr > |t|         2.50%        97.50%\n──────────────────────────────────────────────────────────────────────────────────────\n(Intercept)   0.0186413    0.00431066    4.32447    <1e-4    0.0101762     0.0271064  \nPrbConv      -0.00116473   0.000422062  -2.75961    0.0060  -0.00199356   -0.0003359  \nAvgSen        0.000236185  0.000268216   0.88058    0.3789  -0.000290526   0.000762897\nPrbPris       0.0273394    0.00817642    3.34369    0.0009   0.0112829     0.0433959  \n──────────────────────────────────────────────────────────────────────────────────────"
   Evaluated:
"Continuous Response Model\nNumber of observations: 630\nNull Loglikelihood: 1633.30\nLoglikelihood: 1643.30\nR-squared: 0.0312\nLR Test: 19.99 ∼ χ²(3) ⟹  Pr > χ² = 0.0002\nFormula: CRMRTE ~ 1 + PrbConv + AvgSen + PrbPris\nVariance Covariance Estimator: OIM\n──────────────────────────────────────────────────────────────────────────────────────\n                    PE           SE      t-value  Pr > |t|         2.50%        97.50%\n──────────────────────────────────────────────────────────────────────────────────────\n(Intercept)   0.0186413    0.00431066    4.32447    <1e-4    0.0101762     0.0271064\nPrbConv      -0.00116473   0.000422062  -2.75961    0.0060  -0.00199356   -0.0003359\nAvgSen        0.000236185  0.000268216   0.88058    0.3789  -0.000290526   0.000762897\nPrbPris       0.0273394    0.00817642    3.34369    0.0009   0.0112829     0.0433959\n──────────────────────────────────────────────────────────────────────────────────────"
==
"Continuous Response Model\nNumber of observations: 630\nNull Loglikelihood: 1633.30\nLoglikelihood: 1643.30\nR-squared: 0.0312\nLR Test: 19.99 ∼ χ²(3) ⟹  Pr > χ² = 0.0002\nFormula: CRMRTE ~ 1 + PrbConv + AvgSen + PrbPris\nVariance Covariance Estimator: OIM\n──────────────────────────────────────────────────────────────────────────────────────\n                    PE           SE      t-value  Pr > |t|         2.50%        97.50%\n──────────────────────────────────────────────────────────────────────────────────────\n(Intercept)   0.0186413    0.00431066    4.32447    <1e-4    0.0101762     0.0271064  \nPrbConv      -0.00116473   0.000422062  -2.75961    0.0060  -0.00199356   -0.0003359  \nAvgSen        0.000236185  0.000268216   0.88058    0.3789  -0.000290526   0.000762897\nPrbPris       0.0273394    0.00817642    3.34369    0.0009   0.0112829     0.0433959  \n──────────────────────────────────────────────────────────────────────────────────────"
Stacktrace:
 [1] top-level scope at /home/pkgeval/.julia/packages/Econometrics/yaUJG/test/runtests.jl:66
 [2] top-level scope at /workspace/srcdir/usr/share/julia/stdlib/v1.4/Test/src/Test.jl:1116
 [3] top-level scope at /home/pkgeval/.julia/packages/Econometrics/yaUJG/test/runtests.jl:61
 [4] top-level scope at /workspace/srcdir/usr/share/julia/stdlib/v1.4/Test/src/Test.jl:1116
 [5] top-level scope at /home/pkgeval/.julia/packages/Econometrics/yaUJG/test/runtests.jl:59
Balanced Panel Data: Test Failed at /home/pkgeval/.julia/packages/Econometrics/yaUJG/test/runtests.jl:88

due to some small tweaks to printing in Base.

Nosferican commented 4 years ago

Closed by #37.