gnu-octave / gnu-octave/statistics
Difference in `anova2` results.
Open
Beginner friendly
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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