Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
134 commits
Select commit Hold shift + click to select a range
5fd7868
Update moderndive version
ismayc Apr 12, 2018
a1b00f2
Update TO-DO.md
Apr 12, 2018
c348450
Update TO-DO.md
Apr 12, 2018
fea3061
Testing specify %>% calculate
ismayc Apr 16, 2018
9d8ea8c
Tweaks to get specify() %>% calculate() to work
ismayc Apr 17, 2018
e02db32
Add back in okcupiddata examples
ismayc Apr 17, 2018
d698968
Update pkgdown
ismayc Apr 17, 2018
bc0e151
Merge branch 'develop' into observed-stat
Apr 17, 2018
10e097c
Merge pull request #136 from andrewpbray/observed-stat
Apr 17, 2018
ba1588b
Back to 100% coverage
ismayc Apr 17, 2018
badfe25
Merge branch 'observed-stat' of https://github.com/andrewpbray/infer …
ismayc Apr 17, 2018
a539327
Merge pull request #138 from andrewpbray/observed-stat
Apr 17, 2018
d2ea13e
Added Mine's auto `type`
ismayc Apr 27, 2018
b2dcbce
Update TO-DO.md
Apr 27, 2018
cb671b0
Added new to-do completed
ismayc Apr 27, 2018
6fa454a
Add to do item
ismayc Apr 27, 2018
3e95bd5
Use auto `type`
ismayc Apr 27, 2018
2a04c98
Create auto `type`
ismayc Apr 27, 2018
1bcbc82
Update tests and documentation
ismayc Apr 27, 2018
d431a8a
Updated pkgdown and vignettes
ismayc Apr 27, 2018
f99ddd7
Add Richie to ctb's
ismayc May 5, 2018
993ecd0
Update NEWS and TO-DO
ismayc May 5, 2018
017c2af
Refactor the calculate function
ismayc May 5, 2018
8628541
Add stat options into calculate()
ismayc May 5, 2018
04cb64d
Tweak tests
ismayc May 5, 2018
01b220e
Fix bugs in flights vignette
ismayc May 5, 2018
8053017
Add more examples of specify() %>% calculate()
ismayc May 5, 2018
925de04
Add more attributes
ismayc May 5, 2018
c361573
Add tests checking that mu <-> mean
ismayc May 5, 2018
dfb841d
Create set_attributes() function
ismayc May 5, 2018
8687c7b
Update NEWS
ismayc May 5, 2018
b0287f2
Clean up code
ismayc May 5, 2018
6fca45b
Update pkgdown and vignettes
ismayc May 5, 2018
680e93c
Tweak incorrect p-value
ismayc May 5, 2018
53829ba
Finished tasks
ismayc May 6, 2018
ecbea03
Add one sample mean
ismayc May 6, 2018
594ee9e
Add mu parameter from t.test
ismayc May 6, 2018
c5dde42
Update tests and manual pages
ismayc May 6, 2018
c477eb3
Update vignettes
ismayc May 6, 2018
8b41c70
Update pkgdown
ismayc May 7, 2018
bcbf101
Move other functions to utils.R
ismayc May 7, 2018
b5a9ad3
Add mu argument to documentation
ismayc May 7, 2018
f20d24e
Add mu argument to documentation
ismayc May 7, 2018
86b4e43
Update pkgdown
ismayc May 7, 2018
f1b4767
Re-arrange to-dos
ismayc May 11, 2018
c50bd8e
Add additional quantifier check
ismayc May 11, 2018
be0fe50
Update pkgdown and vignettes
ismayc May 11, 2018
308d073
Tweak header on pkgdown site
ismayc May 11, 2018
7d0b2a1
Add ToDo
ismayc May 11, 2018
0d3e335
Add obs stat vignette
ismayc May 11, 2018
5fc0f0f
Add success check
ismayc May 11, 2018
f37d6e5
Use utils.R functions
ismayc May 11, 2018
5c399f1
Make check tweaks
ismayc May 11, 2018
a2c67c7
Remove specifying to reduce confusion
ismayc May 11, 2018
487921a
Update pkgdown
ismayc May 11, 2018
30fc4a6
Remove conf_int since not used yet
ismayc May 11, 2018
29e29c4
Update pkgdown
ismayc May 11, 2018
53bedd0
Merge branch 'master' into develop
May 13, 2018
8e3b475
Add files to build ignore
ismayc May 13, 2018
029f04f
Update to v0.2.1
ismayc May 13, 2018
7a78428
Update ToDo
ismayc May 13, 2018
678b907
Fix indentation
ismayc May 13, 2018
4c0bf68
New reorder function and add call. = FALSE
ismayc May 13, 2018
25332f6
Add order arg to t_test
ismayc May 13, 2018
02e4549
Update documentation
ismayc May 13, 2018
02fb2f5
Update test
ismayc May 13, 2018
eceaa80
Update pkgdown and vignettes
ismayc May 13, 2018
15a093b
Update vignettes
ismayc May 13, 2018
c11420e
Update pkgdown
ismayc May 13, 2018
4cf83d8
Update TO-DO.md
Jun 4, 2018
0b3fb83
Update CONTRIBUTING.md
Jun 5, 2018
95396da
Update CONDUCT.md
Jun 5, 2018
5eb45ab
Update CONDUCT.md
Jun 5, 2018
635a903
Add correlation to TO-DO
ismayc Jun 5, 2018
c8b95aa
Merge branch 'develop' of https://github.com/andrewpbray/infer into d…
ismayc Jun 5, 2018
113e8fb
Update CONDUCT and CONTRIBUTING
ismayc Jun 5, 2018
8290bc8
Update TO-DO
ismayc Jun 10, 2018
acc5b99
Back to 100% test coverage
ismayc Jun 10, 2018
ba284b8
Tweak TO-DO
ismayc Jun 10, 2018
c8b5518
Add catch-all back
ismayc Jun 10, 2018
a4c7724
Update pkgdown and vignettes
ismayc Jun 10, 2018
3eda2c3
Add endline to document
ismayc Jun 11, 2018
112145c
Add correlation as stat option
ismayc Jun 11, 2018
08f47ee
Update pkgdown and vignettes
ismayc Jun 11, 2018
4451c07
Merge pull request #141 from andrewpbray/add-correlation
Jun 11, 2018
bee2a4e
Update NEWS and TO-DO
ismayc Jun 11, 2018
602ac88
Update index
ismayc Jun 11, 2018
90a8df6
Update pkgdown with TO-DO and NEWS
ismayc Jun 11, 2018
873e41b
Update
ismayc Jun 11, 2018
cc5490d
Fix spacing on TO-DO and NEWS
ismayc Jun 11, 2018
4c3f88e
add specify test
jimrothstein Jun 12, 2018
6cfa42b
add 2 simple tests to 'data argument'
jimrothstein Jun 12, 2018
83cd8bf
Add p_value() and get_pvalue()
ismayc Jun 13, 2018
c6ceae3
Update documentation
ismayc Jun 13, 2018
20bba39
Add p_value tests
ismayc Jun 13, 2018
af4649c
Update pkgdown and vignettes
ismayc Jun 13, 2018
b9fd330
After {conflicted} check
ismayc Jun 13, 2018
55c417e
After {conflicted} check
ismayc Jun 13, 2018
a55cdf8
Use alias like Yihui did in {xaringan}
ismayc Jun 13, 2018
22f210b
Use alias like Yihui did in {xaringan}
ismayc Jun 13, 2018
f11fb6e
Update pkgdown
ismayc Jun 13, 2018
d4c4057
Update t_test
ismayc Jun 13, 2018
544df73
Add hex
Jun 14, 2018
7ae4bcf
Update t_test
ismayc Jun 14, 2018
6561429
Add infer hex
ismayc Jun 14, 2018
dc19542
Fix t.test call
ismayc Jun 14, 2018
660957f
Switch back to x in t.test
ismayc Jun 14, 2018
182c7e9
Add conf_int functions
ismayc Jun 14, 2018
3317999
Update news and to-do
ismayc Jun 14, 2018
dae5513
Implement conf_int and aliases
ismayc Jun 14, 2018
b72ee78
Add visualize for CI
ismayc Jun 14, 2018
c3e0a45
Update pkgdown and vignettes
ismayc Jun 14, 2018
fa3b88d
Add tests for conf_int and visualize
ismayc Jun 14, 2018
7c132b9
Add conf_int manual
ismayc Jun 14, 2018
e2220c8
Add ::
ismayc Jun 15, 2018
ac05907
Remove unneccessary endpoints_color
ismayc Jun 15, 2018
83451d0
Update tests and pkgdown
ismayc Jun 15, 2018
0df5eb3
Update TO-DO.md
ismayc Jun 17, 2018
4a67c39
Add generic multiplier instead of 2 for 2 * SE
ismayc Jun 17, 2018
0351698
Merge branch 'p_value' of https://github.com/andrewpbray/infer into p…
ismayc Jun 17, 2018
e0ab566
Merge pull request #143 from jimrothstein/142_branch
Jun 18, 2018
6c383c0
Added conf_int and conf_level arguments to t_test
ismayc Jul 5, 2018
3d8cfdf
Remove pkgdown build in docs folder
ismayc Jul 7, 2018
ad6046c
Remove okcupiddata from DESCRIPTION
ismayc Jul 7, 2018
a9654d2
Get to <80 char per line
ismayc Jul 7, 2018
19b96a1
Rebuild vignettes
ismayc Jul 7, 2018
9a9d998
Remove okcupiddata from DESCRIPTION
ismayc Jul 7, 2018
a4f4090
Get under 80 chars per line
ismayc Jul 7, 2018
6e5834f
Remove pkgdown temporarily
ismayc Jul 7, 2018
60d015b
Update vignettes
ismayc Jul 7, 2018
27e6557
Pump pkg version
ismayc Jul 7, 2018
72e47d0
Remove built vignettes to avoid merge conflict
ismayc Jul 7, 2018
1917c89
Merge pull request #144 from andrewpbray/p_value
Jul 7, 2018
9d36b70
Add back in built vignettes
ismayc Jul 7, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
^cran-comments\.md$
^_build\.sh$
^appveyor\.yml$
^implement_new_methods\.md
^\.implement_new_methods\.md
^CONTRIBUTING\.md$
^TO-DO\.md$
^\.httr-oauth$
^_pkgdown.yml
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
.Ruserdata
*.Rproj
.DS_Store
.httr-oauth
File renamed without changes.
4 changes: 2 additions & 2 deletions CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ Instances of abusive, harassing, or otherwise unacceptable behavior may be repor
opening an issue or contacting one or more of the project maintainers.

This Code of Conduct is adapted from the Contributor Covenant
(http:contributor-covenant.org), version 1.0.0, available at
http://contributor-covenant.org/version/1/0/0/
(http://contributor-covenant.org), version 1.0.0, available at
http://contributor-covenant.org/version/1/0/0/.
37 changes: 22 additions & 15 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,34 +1,41 @@
# Contributing

Contributions to the `infer` whether in the form of bug fixes, issue reports, new code or documentation improvement
are encouraged and welcome. We welcome novices who may have never contributed to a package before as well as friendly
veterans looking to help us improve the package for users.
Contributions to the `infer` whether in the form of bug fixes, issue reports, new
code or documentation improvements are encouraged and welcome. We welcome novices
who may have never contributed to a package before as well as friendly
veterans looking to help us improve the package for users. We are eager to include
and accepting of contributions from everyone that meets our [code of conduct](CONDUCT.md)
guidelines.

Please use the GitHub issues. For any pull request, please link to or open a corresponding issue
in GitHub issues. Please ensure that you have notifications turned on and respond to questions, comments or
needed changes promptly.
Please use the GitHub issues. For any pull request, please link to or open a
corresponding issue in GitHub issues. Please ensure that you have notifications
turned on and respond to questions, comments or needed changes promptly.

## Tests

`infer` uses `testthat` for testing. Please try to provide 100% test coverage for any submitted code and always check
that existing tests continue to pass. If you are a beginner and need help with writing a test, mention this
`infer` uses `testthat` for testing. Please try to provide 100% test coverage
for any submitted code and always check that existing tests continue to pass.
If you are a beginner and need help with writing a test, mention this
in the issue and we will try to help.

It's also helpful to run `goodpractice::gp()` to ensure that lines of code are not over 80 columns and that all lines of code have tests written. Please do so prior to submitting any pull request and fix any suggestions from there.
It's also helpful to run `goodpractice::gp()` to ensure that lines of code are
not over 80 columns and that all lines of code have tests written. Please do so
prior to submitting any pull request and fix any suggestions from there.
Reach out to us if you need any assistance there too.

## Pull requests

Pull requests should be against the `develop` branch NOT the `master` branch. You can set this when creating
your pull request. Please make a separately named branch to submit. Keep each branch for a complete specific
issue.
Pull requests should be against the `develop` branch NOT the `master` branch.
You can set this when creating your pull request. Please make a separately
named branch to submit. Keep each branch for a complete specific issue.

## Code style

Please use snake case (such as `rep_sample_n`) for function names. Besides that, in general follow the
[tidyverse style](http://style.tidyverse.org/) style for R.
Please use snake case (such as `rep_sample_n`) for function names.
Besides that, in general follow the
[tidyverse style](http://style.tidyverse.org/) for R.

## Code of Conduct

When contributing to the `infer` package you must follow the code of
conduct defined in [CONDUCT.md](CONDUCT.md)
conduct defined in [CONDUCT](CONDUCT.md).
5 changes: 3 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: infer
Type: Package
Title: Tidy Statistical Inference
Version: 0.2.0
Version: 0.3.0
Authors@R: c(
person("Andrew", "Bray", email = "abray@reed.edu", role = c("aut", "cre")),
person("Chester", "Ismay", email = "chester.ismay@gmail.com", role = "aut"),
Expand All @@ -12,7 +12,8 @@ Authors@R: c(
person("Johanna", "Hardin", email = "Jo.Hardin@pomona.edu", role = "ctb"),
person("Albert", "Kim", email = "albert.ys.kim@gmail.com", role = "ctb"),
person("Neal", "Fultz", email = "nfultz@gmail.com", role = "ctb"),
person("Doug", "Friedman", email = "doug.nhp@gmail.com", role = "ctb"))
person("Doug", "Friedman", email = "doug.nhp@gmail.com", role = "ctb"),
person("Richie", "Cotton", email = "richie@datacamp.com", role = "ctb"))
Description: The objective of this package is to perform inference using an expressive statistical grammar that coheres with the tidy design framework.
License: CC0
Encoding: UTF-8
Expand Down
5 changes: 5 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@ export("%>%")
export(calculate)
export(chisq_stat)
export(chisq_test)
export(conf_int)
export(generate)
export(get_ci)
export(get_confidence_interval)
export(get_pvalue)
export(hypothesize)
export(p_value)
export(rep_sample_n)
export(specify)
export(t_stat)
Expand Down
40 changes: 38 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,39 @@
# infer 0.2.1

- Added `conf_int` logical argument and `conf_level` argument to `t_test()`
- Switched `shade_color` argument in `visualize()` to be `pvalue_fill` instead
since fill color for confidence intervals is also added now
- Shading for Confidence Intervals in `visualize()`
- Green is default color for CI and red for p-values
- `direction = "between"` to get the green shading
- Currently working only for simulation-based methods
- Implemented `conf_int()` function for computing confidence interval provided a simulation-based method with a `stat` variable
- `get_ci()` and `get_confidence_interval()` are aliases for `conf_int()`
- Converted longer confidence interval calculation code in vignettes to use `get_ci()` instead
- Implemented `p_value()` function for computing p-value provided a simulation-based method with a `stat` variable
- `get_pvalue()` is an alias for `p_value()`
- Converted longer p-value calculation code in vignettes to use `get_pvalue()` instead
- Implemented Chi-square Goodness of Fit observed stat depending on `params` being set in `hypothesize` with `specify() %>% calculate()` shortcut
- Removed "standardized" slope $t$ since its formula is different than "standardized" correlation and there is no way currently to give one over the other
- Implemented correlation with bootstrap CI and permutation hypothesis test
- Filled the `type` argument automatically in `generate()` based
on `specify()` and `hypothesize()`
- Added message if `type` is given differently than expected
- Implemented `specify() %>% calculate()` for getting observed
statistics.
- `visualize()` works with either a 1x1 data frame or a vector
for its `obs_stat` argument
- Got `stat = "t"` working
- Refactored `calculate()` into smaller functions to reduce complexity
- Produced error if `mu` is given in `hypothesize()` but `stat = "median"`
is provided in `calculate()` and other similar mis-specifications
- Tweaked `chisq_stat()` and `t_stat()` to match with `specify() %>% calculate()` framework
- Both work in the one sample and two sample cases by providing `formula`
- Added `order` argument to `t_stat()`
- Added implementation of one sample `t_test()` by passing in the `mu` argument to `t.test`
from `hypothesize()`
- Tweaked `pkgdown` page to include ToDo's using [{dplyr}](https://github.com/tidyverse/dplyr/blob/master/_pkgdown.yml) example

# infer 0.2.0

- Switched to `!!` instead of `UQ()` since `UQ()` is deprecated in
Expand All @@ -14,7 +50,7 @@ use for observed statistics and theoretical density curves
unique values for generated statistics is small
- Added shading for `method = "theoretical"`
- Implemented shading for simulation methods w/o a traditional distribution
- Use percentiles to determine two-tailed shading
- Use percentiles to determine two-tailed shading
- Changed `method = "randomization"` to `method = "simulation"`
- Added warning when theoretical distribution is used that
assumptions should be checked
Expand All @@ -39,7 +75,7 @@ current implementations being
They now live in `specify()`.
- Updated documentation with examples
- Created `pkgdown` site materials
- Deployed to https://infer.netlify.com
- Deployed to https://infer.netlify.com


# infer 0.0.1
Expand Down
Loading