easystats / easystats/parameters

Support for {circular} uniformity tests

Open
#932 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature idea :fire:
Dominant language
R
Stars
499
Forks
45
Avg merge
3d 1h
Merged PRs (30d)
3

Description

There's not much in them:

library(circular)

c <- circular::circular(c(0, 30, 30, 20, 20, 20, 10, 10), units="degrees")

rez <- circular::rayleigh.test(c)
data.frame(
  Statistic = rez$statistic,
  p = rez$p.value,
)


rez <- circular::kuiper.test(c, alpha=0.05)
data.frame(
  Statistic = rez$statistic
)


rez <- circular::watson.test(c, alpha=0.05)
data.frame(
  Statistic = rez$statistic
)


rez <- circular::rao.spacing.test(c, alpha=0.05)
data.frame(
  Statistic = rez$statistic
)

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

The issue provides R examples using circular::rayleigh.test(), kuiper.test(), watson.test(), and circular::rao.spacing.test(). Start by tracing how parameters currently handles statistical tests, then compare the values returned by these four calls; done means support for the requested uniformity-test results is demonstrated for the example input.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.