Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding power vignette plus a few other changes #605

Merged
merged 24 commits into from
Dec 12, 2023

Conversation

pdwaggoner
Copy link
Member

Overrides previous PR #604 to include other changes. Sorry for the confusion!

# Description

Adding a vignette on the value of statistical power as well as the role of `effectsize` in making this an easy thing to do via easystats#599 

# Proposed Changes

In addition to adding new vignette (`statistical_power.Rmd`), other changes include: 
- adding three new refs to `bibliography.bib`
- adding myself as ctb in `DESCRIPTION
- fixing a few typos here and there

# Question

**Note**: Need to change version number? Didn't think so with only the inclusion of a new vignette, but feel free to bump if needed.
updating bib for pwaggoner's new power vignette
adding pwaggoner
small typo and grammatical fixes
@codecov
Copy link

codecov bot commented Sep 14, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (37b48bd) 90.74% compared to head (e7049b6) 90.55%.

❗ Current head e7049b6 differs from pull request most recent head eb0af9f. Consider uploading reports for the commit eb0af9f to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #605      +/-   ##
==========================================
- Coverage   90.74%   90.55%   -0.19%     
==========================================
  Files          57       56       -1     
  Lines        3564     3419     -145     
==========================================
- Hits         3234     3096     -138     
+ Misses        330      323       -7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pdwaggoner
Copy link
Member Author

All of these "fails" should be easy to override as the vignette successfully renders on my end. Let me know if something needs to be changed though. Thanks!

@pdwaggoner pdwaggoner requested review from DominiqueMakowski and removed request for mattansb September 15, 2023 14:06
@pdwaggoner
Copy link
Member Author

@IndrajeetPatil - Can you help out a little on this one? These checks keep failing, and I am not sure why. I've checked and updated obviously problematic spots. The changes I am making are pretty minimal. Any help would be appreciated!

@IndrajeetPatil
Copy link
Member

@pdwaggoner R CMD check should be fixed now. You can take care of the lints.

@pdwaggoner
Copy link
Member Author

pdwaggoner commented Sep 15, 2023

@IndrajeetPatil - Thank you so much for the quick help! Seems the other issues are with dependencies re: other easystats packages. Not sure about those. Other minor things @mattansb should be able to address. Thanks!

@pdwaggoner
Copy link
Member Author

ping @DominiqueMakowski ? Not sure who is best to review here

@pdwaggoner pdwaggoner removed the request for review from mattansb September 19, 2023 15:40
@DominiqueMakowski
Copy link
Member

@mattansb will be away till (at least) November 👶 maybe @bwiernik can help have a look :)

@bwiernik
Copy link
Contributor

I will take a look in the next week or so. Please feel free to ping me if I'm slow 😀

@pdwaggoner
Copy link
Member Author

Excellent, thanks @bwiernik! Latest round of checks is running now, but everything should be fixed and ready for your review whenever you're ready.

@pdwaggoner
Copy link
Member Author

Excellent, thanks @mattansb ! Just added to _pkgdown.yml and requested your review on that PR (#613). Let me know what's next and/or feel free to merge both!

@pdwaggoner pdwaggoner mentioned this pull request Oct 4, 2023
@pdwaggoner
Copy link
Member Author

@bwiernik or @mattansb, any thoughts here? Should be ready to merge. Let me know if anything else is needed from me. Thanks!

@DominiqueMakowski
Copy link
Member

What about we add a disclaimer on top of this vignette "this vignette is work in progress, please make us a feedback about what features would you like to see in easystats to make power analysis easier", and then we merge, and Brenton will have a look when he can (and let's not bother Mat' at the moment unfortunately he has much more important stuff to worry about)

update per Dom's disclaimer suggestion
@pdwaggoner
Copy link
Member Author

Great idea @DominiqueMakowski - and of course re: Mat! I hope he is safe and ok. I added the disclaimer per your suggestion in the latest edit. Feel free to merge as you're able. Thanks again.

@bwiernik
Copy link
Contributor

Reading it over this morning. Thanks for your patience.

@pdwaggoner
Copy link
Member Author

Absolutely and no worries. Not trying to bother but rather keep it from falling through the cracks. Thanks for any reviews/thoughts.

@mattansb
Copy link
Member

Hey @pdwaggoner I still have a few open notes on my review - once you make those changes, I think this can be merged.

@pdwaggoner
Copy link
Member Author

Thanks @mattansb ! but I can't see anything other than your suggestion to update the yml, which I did. Did I miss something? Can you point me to where you're referencing, and I will be happy to respond accordingly. Thanks

@mattansb
Copy link
Member

Sure, just tagged you in them.

@pdwaggoner
Copy link
Member Author

Sorry, just checked but still can't locate where your comments are. Is it possible we are looking at different version of the vignette? Feel free to share a direct link, due to my denseness.

@mattansb
Copy link
Member

Weird... If I go to https://github.com/easystats/effectsize/pull/605/files in a desktop browser, I see all the comments. Does that work?

@pdwaggoner
Copy link
Member Author

Ok, glad to know we are doing the same thing. Yes, I did just that and don't see any comments. So sorry! Feel free to make the changes directly, or you could just list them here in the conversation, and I can make them. Your call. Thanks again for the patience and help.

vignettes/statistical_power.Rmd Outdated Show resolved Hide resolved
vignettes/statistical_power.Rmd Outdated Show resolved Hide resolved
vignettes/statistical_power.Rmd Outdated Show resolved Hide resolved
@mattansb
Copy link
Member

Okay, I think I messed up 😅
Do you see them now?

@pdwaggoner
Copy link
Member Author

Ah there they are! I will make those changes right now. Thanks for that. Stand by for more

made changes responding to recent code review
@pdwaggoner
Copy link
Member Author

Alright, @mattansb , all requested revisions have been responded to. Let me know what's next or if anything else is needed from me. Thanks again and I hope you're staying safe!

@pdwaggoner
Copy link
Member Author

Just wondering if we can push this, given that all changes were made? Thanks @mattansb for any update on where we are with this one. Thanks!

@mattansb
Copy link
Member

I made some changes (the use of pwr.t.test() in this example was not appropriate for the data at used in the example).

Once the tests pass, I'll merge.

Thanks @pdwaggoner !

@pdwaggoner
Copy link
Member Author

Thanks @mattansb - looks like two tests are failing elsewhere, not in the vignette, unless I am misreading. Not sure if anything is needed from me or not on this...? Thanks!

@mattansb mattansb merged commit 250a9d2 into easystats:main Dec 12, 2023
24 of 26 checks passed
@mattansb
Copy link
Member

Thanks again @pdwaggoner!

@pdwaggoner
Copy link
Member Author

Absolutely! Thanks for the review and work @mattansb !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants