Skip to content

Commit

Permalink
added cfa; general tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
benwhalley committed Mar 14, 2018
1 parent d03ac3b commit e3bb7c1
Show file tree
Hide file tree
Showing 183 changed files with 8,169 additions and 2,356 deletions.
9 changes: 5 additions & 4 deletions _bookdown.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
bibliography: [bibliography.bib]
biblio-style: apalike
link-citations: yes

bibliography: ["bibliography.bib"]
citation_package: biblatex
biblio-style: "apa6"
link-citations: true
# cover-image: "media/keepcalm.png"
book_filename: "Just enough R"
new_session: yes
before_chapter_script: set_chunk_options.R
Expand Down
4 changes: 2 additions & 2 deletions basic-statistics.Rmd
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
title: 'Basic statistics'
title: 'Common statistics'
---



# Common inferential statistics {#common-inferential-stats}
# Commonly used statistics {#common-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).
Expand Down
42 changes: 41 additions & 1 deletion bibliography.bib
Original file line number Diff line number Diff line change
@@ -1,3 +1,43 @@
@article{baron1986moderator,
title={The moderator--mediator variable distinction in social psychological research: Conceptual, strategic, and statistical considerations.},
author={Baron, Reuben M and Kenny, David A},
journal={Journal of personality and social psychology},
volume={51},
number={6},
pages={1173},
year={1986},
publisher={American Psychological Association}
}

@article{zhao_reconsidering_2010,
title = {Reconsidering Baron and Kenny: Myths and truths about mediation analysis},
volume = {37},
shorttitle = {Reconsidering Baron and Kenny},
pages = {197--206},
number = {2},
journaltitle = {Journal of consumer research},
author = {Zhao, Xinshu and Lynch Jr, John G. and Chen, Qimei},
date = {2010},
file = {ZhaoLynchChen2010.pdf:/Users/ben/Zotero/storage/MVHJA2FT/ZhaoLynchChen2010.pdf:application/pdf}
}

@article{preacher_spss_2004,
title = {{SPSS} and {SAS} procedures for estimating indirect effects in simple mediation models},
volume = {36},
issn = {0743-3808, 1532-5970},
url = {https://link.springer.com/article/10.3758/BF03206553},
doi = {10.3758/BF03206553},
abstract = {Researchers often conduct mediation analysis in order to indirectly assess the effect of a proposed cause on some outcome through a proposed mediator. The utility of mediation analysis stems from its ability to go beyond the merely descriptive to a more functional understanding of the relationships among variables. A necessary component of mediation is a statistically and practically significant indirect effect. Although mediation hypotheses are frequently explored in psychological research, formal significance tests of indirect effects are rarely conducted. After a brief overview of mediation, we argue the importance of directly testing the significance of indirect effects and provide {SPSS} and {SAS} macros that facilitate estimation of the indirect effect with a normal theory approach and a bootstrap approach to obtaining confidence intervals, as well as the traditional approach advocated by Baron and Kenny (1986). We hope that this discussion and the macros will enhance the frequency of formal mediation tests in the psychology literature. Electronic copies of these macros may be downloaded from the Psychonomic Society’s Web archive atwww.psychonomic.org/archive/.},
pages = {717--731},
number = {4},
journaltitle = {Behavior Research Methods, Instruments, \& Computers},
shortjournal = {Behavior Research Methods, Instruments, \& Computers},
author = {Preacher, Kristopher J. and Hayes, Andrew F.},
urldate = {2018-02-23},
date = {2004-11-01},
langid = {english},
file = {Full Text PDF:/Users/ben/Zotero/storage/KAHGKFJX/Preacher and Hayes - 2004 - SPSS and SAS procedures for estimating indirect ef.pdf:application/pdf;Snapshot:/Users/ben/Zotero/storage/BKZVZZAM/BF03206553.html:text/html}
}

@article{gelman_analysis_2005,
title = {Analysis of variance—why it is more important than ever},
Expand Down Expand Up @@ -167,7 +207,7 @@ @article{zhang2015missing
volume={3},
number={22},
year={2015},
publisher={AME Publications},
publisher={AME Publications},
url={https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4701517/}
}
@article{edward2001visual,
Expand Down
Loading

0 comments on commit e3bb7c1

Please sign in to comment.