(possible) Inaccurate Description of Variable Ordering in Figure 8.32 Caption (Page 291)

Open Beginner friendly
#241 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
78/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
matlab
Domain
documentation

Research direction

Find the caption for Figure 8.32 in the material for Section 8.15.2 and compare it with the 'order','AOE' snippet on page 290 and the plotted correlations. Correct the caption so it describes the ordering accurately; done when the caption no longer claims variables are sorted by correlation magnitude in non-decreasing order.

Written by the indexing model from the issue text.

Description

Dear Professors,

While reviewing Section 8.15.2 (pages 290–291), I noticed a slight inaccuracy in the caption of Figure 8.32 (page 291) regarding how variables are ordered in the plot.

image

The caption of Figure 8.32 states:

"Variables are ordered automatically to reflect correlation magnitude in non-decreasing order. The top-left corner contains the most strongly positively correlated variables."

but:

  1. In the snippet on page 290 (line 20), the plot is generated using 'order','AOE', which orders variables by the angles of the first two eigenvectors (as correctly explained in the main text on page 290), rather than sorting correlation magnitudes in non-decreasing order.
  2. Looking across the top row of Figure 8.32 from left to right, the correlations with the first variable (QualLif) actually progress from strongly positive (0.81, 0.83, ..., 0.70) through weak/uncorrelated (-0.37, -0.44 for Protest and Bankrup) to strongly negative (-0.86, -0.74 for LowISEE and UrbanFra).

Thanks as always for the time

Dominant language
MATLAB
Stars
30
Forks
1
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from UniprJRC/DSwithMATLAB

All issues in UniprJRC/DSwithMATLAB

Similar issues

More MATLAB issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.