gnu-octave / gnu-octave/statistics

Difference in `anova2` results.

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

Nobody has claimed this yet.

Dominant language
MATLAB
Stars
42
Forks
43
Avg merge
2d 5h
Merged PRs (30d)
31

Description

Hi @pr0m1th3as , can you check the below?

In MATLAB:

>> anova2 ([], 1, 'off')

ans =

   NaN   NaN

In Octave:

octave:16> anova2 ([], 1, 'off');
error: 'RIdx' undefined near line 144, column 24
error: called from
    anova2 at line 144 column 3

Thank you.

Contributor guide

Open the contributing guide

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.

Research direction

Start by reproducing anova2 ([], 1, 'off') in Octave and inspect the anova2 entry point around line 144, where RIdx is reported as undefined. Compare the result with MATLAB's NaN NaN output and confirm the empty-input call completes without an error and returns the expected result.

Written by the indexing model from the issue text.

Assessment

Tech stack
matlab
Domain
data
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
78/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.