tests/testthat/_snaps/coll-diag.md

blr_coll_diag prints the correct output

Code
  k
Output
  Tolerance and Variance Inflation Factor
  ---------------------------------------
    Variable Tolerance      VIF
  1  female1 0.9824347 1.017879
  2     read 0.6021370 1.660752
  3  science 0.5939847 1.683545


  Eigenvalue and Condition Index
  ------------------------------
    Eigenvalue Condition Index    intercept      female1         read
  1 3.57391760        1.000000 3.500782e-06 2.232611e-05 0.0006577134
  2 0.39409893        3.011408 5.155657e-06 8.559696e-04 0.0015266309
  3 0.01888407       13.757025 1.632498e-03 4.397949e-05 0.1143698337
  4 0.01309940       16.517583 5.619292e-05 1.312420e-05 0.2758987745
         science
  1 0.0009448623
  2 0.0025603607
  3 0.0545537252
  4 0.5468553525


Try the blorr package in your browser

Any scripts or data that you put into this service are public.

blorr documentation built on April 3, 2025, 6:01 p.m.