Ben Schneider

Results 31 comments of Ben Schneider

It turns out the issue also applies to `pwr.t2n.test()`: ``` r library(pwr) # 'greater' Works pwr.t2n.test(n1 = NULL, n2 = 50, d = 0.5, power = 0.8, alternative = 'greater')...

Ah, I see. Thanks for the quick reply! Here's an example to illustrate the point you just made. ``` r library(pwr) # 'greater' Works pwr.t2n.test(n1 = NULL, n2 = 50,...

Yes, you're right about that @alessio619. I was able to get it working in this commit: https://github.com/bschneidr/RInno/commit/fe8f2cdd6827c3bc214d200e540c29bd05722701 Really hoping this can get fixed in the RInno package itself.

I think it would make sense to add filtering joins (`anti_join()` and `semi_join()`), since those won't accidentally alter the survey design. That's why I've added the pull request #120 to...

Just wanted to share a couple links that could serve as good introductory resources. The first is a nice open-access paper introducing the very basics of survey statistics, while the...

This is an intriguing idea, and the R community could really use some tools for incorporating complex designs into modeling/machine-learning. The big challenges here are much more statistical ("what's the...

I think this is a good suggestion, @szimmer. My sense is that when someone chooses to use `survey_prop()` rather than `survey_mean()`, it's because they're trying to (a) write code whose...

Hi @Argyris36 , In this case, you can use `filter()` prior to calling `summarize()`: ```r my_survey %>% filter(!is.na(SY1)) %>% summarize(prop = survey_mean()) ```

I had this same issue, whether I used RStudio or just plain R. Attempting to load rstan with `library(rstan)` caused my R session to immediately crash after I updated R...

The methodology is described in [the FiveThirtyEight article](https://fivethirtyeight.com/features/there-are-922-unisex-names-in-america-is-yours-one-of-them/) and [the underlying R code and data is here so that you can reproduce the analysis](https://github.com/fivethirtyeight/data/tree/master/unisex-names). You can absolutely do something similar...