-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added MH in tech dataset, CC from https://www.kaggle.com/osmi/mental-…
- Loading branch information
1 parent
82e3628
commit 1c4cd89
Showing
276 changed files
with
10,465 additions
and
24,531 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,89 @@ | ||
bibliography: [bibliography.bib] | ||
biblio-style: apalike | ||
link-citations: yes | ||
|
||
book_filename: "Just enough R" | ||
new_session: yes | ||
output_dir: "docs" | ||
|
||
delete_merged_file: true | ||
rmd_files: | ||
|
||
[ "index.Rmd", | ||
[ | ||
# GETTING STARTED | ||
"index.Rmd", | ||
"start_here.Rmd", | ||
|
||
"datasets.Rmd", | ||
|
||
# PART DATA | ||
"DATASETS.Rmd", | ||
"working-with-dataframes.Rmd", | ||
|
||
"real-data.Rmd", | ||
"import-export.Rmd", | ||
"column-types-and-missing.Rmd", | ||
"tidy-data.Rmd", | ||
"reshaping.Rmd", | ||
"summarising-data.Rmd", | ||
"graphics.Rmd", | ||
"graphics-ggplot-extras.Rmd", | ||
"fancy-reshaping.Rmd", | ||
|
||
|
||
"graphics.Rmd", | ||
"graphics-ggplot-extras.Rmd", | ||
|
||
# "example.datasets.Rmd", | ||
|
||
|
||
# PART MODELS | ||
"MODELS.Rmd", | ||
"basic-statistics.Rmd", | ||
"crosstabulation.Rmd", | ||
"correlations.Rmd", | ||
"t-tests.Rmd", | ||
"linear-models.Rmd", | ||
"anova.Rmd", | ||
"general-linear-models.Rmd", | ||
"multilevel-models.Rmd", | ||
"mediation-and-covariance-models.Rmd", | ||
"cfa-sem.Rmd", | ||
|
||
"basic-statistics.Rmd", | ||
"crosstabulation.Rmd", | ||
"correlations.Rmd", | ||
"t-tests.Rmd", | ||
# "additional-stubs.Rmd", | ||
"bayes-mcmc.Rmd", | ||
"power-analysis.Rmd", | ||
|
||
# PART Patterns | ||
"PATTERNS.Rmd", | ||
"interactions.Rmd", | ||
"predictions-and-margins.Rmd", | ||
"models-are-data.Rmd", | ||
"simplifying-and-reusing.Rmd", | ||
|
||
"linear-models.Rmd", | ||
"anova.Rmd", | ||
|
||
"understanding-interactions.Rmd", | ||
"predictions-and-margins.Rmd", | ||
# PART explanations | ||
"EXPLANATIONS.Rmd", | ||
"confidence-and-intervals.Rmd", | ||
"multiple-comparisons.Rmd", | ||
"clustering.Rmd", | ||
"fixed-or-random.Rmd", | ||
"link-functions.Rmd", | ||
"over-fitting.Rmd", | ||
|
||
"general-linear-models.Rmd", | ||
"mediation.Rmd", | ||
"multilevel-models.Rmd", | ||
"cfa-sem.Rmd", | ||
"power-analysis.Rmd", | ||
|
||
# PART everyday R | ||
"EVERYDAY.Rmd", | ||
"installation.Rmd", | ||
"packages.Rmd", | ||
|
||
# "additional-stubs.Rmd", | ||
"bayes-mcmc.Rmd", | ||
"quirks.Rmd", | ||
"string-handling.Rmd", | ||
"colours.Rmd", | ||
|
||
|
||
"statistical-explanations.Rmd", | ||
"confidence-vs-prediction-intervals.Rmd", | ||
"multiple-comparisons.Rmd", | ||
"clustering.Rmd", | ||
"fixed-or-random.Rmd", | ||
"link-functions.Rmd", | ||
"over-fitting.Rmd", | ||
"gof.Rmd", | ||
"help.Rmd", | ||
|
||
"sharing-and-publishing.Rmd", | ||
|
||
"loose-ends.Rmd", | ||
"installation.Rmd", | ||
"packages.Rmd", | ||
"rownames.Rmd", | ||
"colours.Rmd", | ||
"string-handling.Rmd", | ||
"help.Rmd", | ||
"functions.Rmd", | ||
"example.datasets.Rmd", | ||
"writing-a-paper.Rmd", | ||
"cleaning-up-your-mess.Rmd", | ||
"making-table-1.Rmd", | ||
|
||
"sharing-and-publishing.Rmd", | ||
|
||
"references.Rmd" | ||
"references.Rmd" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
"","Ozone","Solar.R","Wind","Temp","Month","Day" | ||
"Ozone",0,0.00197241942881554,1.2981615782337e-11,0,0.561787014869315,1 | ||
"Solar.R",0.000179310857165049,0,1,0.00751772924010297,1,0.561787014869315 | ||
"Wind",9.27258270166931e-13,0.495955206815127,0,3.43407631220316e-08,0.247105980658337,1 | ||
"Temp",0,0.000751772924010297,2.6415971632332e-09,0,7.23144291114863e-07,0.645698579067462 | ||
"Month",0.0776000963996033,0.366353350873138,0.0274562200731485,6.02620242595719e-08,0,1 | ||
"Day",0.887942543669527,0.0702233768586644,0.738746589753025,0.107616429844577,0.92218998575754,0 | ||
"Ozone",1,0.348341692993603,-0.60154652988895,0.698360342150932,0.164519314380413,-0.013225646554047 | ||
"Solar.R",0.348341692993603,1,-0.0567916657698467,0.275840271340805,-0.0753007638859408,-0.150274979240985 | ||
"Wind",-0.60154652988895,-0.0567916657698467,1,-0.457987879104833,-0.17829257921769,0.027180902809146 | ||
"Temp",0.698360342150932,0.275840271340805,-0.457987879104833,1,0.420947252266222,-0.130593175159278 | ||
"Month",0.164519314380413,-0.0753007638859408,-0.17829257921769,0.420947252266222,1,-0.00796176260045312 | ||
"Day",-0.013225646554047,-0.150274979240985,0.027180902809146,-0.130593175159278,-0.00796176260045312,1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
title: 'Anova' | ||
output: bookdown::tufte_html2 | ||
|
||
--- | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,18 @@ | ||
--- | ||
title: 'Basic statistics' | ||
output: | ||
bookdown::tufte_html2 | ||
--- | ||
|
||
```{r, include=FALSE} | ||
knitr::opts_chunk$set(echo = TRUE, collapse=TRUE, cache=TRUE) | ||
``` | ||
|
||
# (PART) Analysis {-} | ||
|
||
|
||
# Basic inferential statistics | ||
# Common inferential statistics {#common-inferential-stats} | ||
|
||
|
||
R has simple functions for common inferential statistics like Chi^2^, t-tests, correlations and many more. This section is by no means exhaustive, but covers [statistics for crosstabulations](#crosstabs), [differences in means](#t-tests), and [linear correlation](#correlations). | ||
|
||
For non-parametric statistics [this page on the statmethods site](http://www.statmethods.net/stats/nonparametric.html) is a useful guide. | ||
For more on non-parametric statistics [this page on the statmethods site](http://www.statmethods.net/stats/nonparametric.html) is a useful guide. | ||
|
||
The [`coin::` package](http://finzi.psych.upenn.edu/R/library/coin/doc/coin.pdf) implements many resampling tests, which can be useful when assumptions of parametric tests are not valid. [See this intro to resampling statistics](http://www.statmethods.net/stats/resampling.html). | ||
The [`coin::` package](http://finzi.psych.upenn.edu/R/library/coin/doc/coin.pdf) implements many resampling tests, which can also be useful when assumptions of parametric tests are not valid. [See this intro to resampling statistics](http://www.statmethods.net/stats/resampling.html). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.