jacob-long / jacob-long/interactions

sim_slope provides a different range of johnson neyman interval compared to probe_interactions.

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

Nobody has claimed this yet.

bug
Dominant language
R
Stars
135
Forks
19
PR merge metrics
No merged PRs in 30d

Description

probe_interaction(c.mod, pred = age.6, modx = homecog.c,
center = 'none', digits = 3, cond.int = T, johnson_neyman = T, legend.main = 'HomeCog')

sim_slopes (c.mod, pred = age.6, modx = homecog.c, legend.main = 'HomeCog', cond.int = T,
johnson_neyman = T, centered = 'none')

both above commands resulted in different JN intervals...

Is this a bug or did I do something wrong?

Contributor guide

No contributing guide indexed for this repository

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 the supplied probe_interaction() and sim_slopes() calls with the same model and arguments, then inspect those function entry points for how each computes the Johnson–Neyman interval. Done means determining whether the differing ranges are expected or a bug, with a clear explanation and a verified fix if needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.