Skip to content

Commit

Permalink
update author block + put citations in date order
Browse files Browse the repository at this point in the history
  • Loading branch information
drbenvincent committed Oct 20, 2024
1 parent 59e090e commit 813d547
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions examples/causal_inference/moderation_analysis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,7 @@
"\n",
"Readers should be aware that there are statistical issues around mean-centering and multicollinearity. The original [SPSS Moderation Regression Tutorial](https://www.spss-tutorials.com/spss-regression-with-moderation-interaction-effect/) did mean-centre the predictor variables $x$ and $m$. This will have a downstream effect upon the interaction term $x \\cdot m$.\n",
"\n",
"One effect of mean centering is to change the interpretation of the parameter estimates. In this notebook, we did not mean center the variables which will affect the parameter estimates and their interpretation. It is not that one is correct or incorrect, but one must be cognisant of how mean-centering (or not) affects the interpretation of parameter estimates. Readers are again directed to {cite:t}`hayes2017introduction` for a more in-depth consideration of mean-centering in moderation analyses.\n",
"One effect of mean centering is to change the interpretation of the parameter estimates. In this notebook, we did not mean center the vriables which will affect the parameter estimates and their interpretation. It is not that one is correct or incorrect, but one must be cognisant of how mean-centering (or not) affects the interpretation of parameter estimates. Readers are again directed to {cite:t}`hayes2017introduction` for a more in-depth consideration of mean-centering in moderation analyses.\n",
"\n",
"Another issue, particularly relevant to moderation analysis is [multicollinearity](https://en.wikipedia.org/wiki/Multicollinearity), where one predictor variable is well-described as a linear combination of other predictors. This is clearly the case in moderation analysis as the interaction term $m \\cdot x$ is by definition a linear combination of $x$ and $m$.\n",
"\n",
Expand Down Expand Up @@ -993,7 +993,7 @@
"- Further information about the 'moderation effect', or what {cite:t}`mcclelland2017multicollinearity` called a spotlight graphs, can be found in {cite:t}`bauer2005probing` and {cite:t}`spiller2013spotlights`. Although these papers take a frequentist (not Bayesian) perspective.\n",
"- {cite:t}`zhang2017moderation` compare maximum likelihood and Bayesian methods for moderation analysis with missing predictor variables.\n",
"- Multicollinearity, data centering, and linear models with interaction terms are also discussed in a number of prominent Bayesian text books {cite:p}`gelman2013bayesian, gelman2020regression,kruschke2014doing,mcelreath2018statistical`.\n",
"- Readers interested in issues of causality around moderation are directed to {cite:t}`rohrer2022process`, {cite:t}`rohrer2018thinking`, and {cite:t}`rohrer2021precise`."
"- Readers interested in issues of causality around moderation are directed to {cite:t}`rohrer2018thinking`, {cite:t}`rohrer2021precise`, and {cite:t}`rohrer2022process`."
]
},
{
Expand All @@ -1007,7 +1007,7 @@
"- Updated by Benjamin T. Vincent in March 2022\n",
"- Updated by Benjamin T. Vincent in February 2023 to run on PyMC v5\n",
"- Updated to use `az.extract` by [Benjamin T. Vincent](https://github.com/drbenvincent) in February 2023 ([pymc-examples#522](https://github.com/pymc-devs/pymc-examples/pull/522))\n",
"- Updated by [Benjamin T. Vincent](https://github.com/drbenvincent) in June 2024 to incorporate causal concepts"
"- Updated by [Benjamin T. Vincent](https://github.com/drbenvincent) in Oct 2024 ([pymc-examples#662](https://github.com/pymc-devs/pymc-examples/pull/662))"
]
},
{
Expand Down
6 changes: 3 additions & 3 deletions examples/causal_inference/moderation_analysis.myst.md
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ The expression $\beta_1 + \beta_2 \cdot \text{moderator}$ defines the rate of ch

Readers should be aware that there are statistical issues around mean-centering and multicollinearity. The original [SPSS Moderation Regression Tutorial](https://www.spss-tutorials.com/spss-regression-with-moderation-interaction-effect/) did mean-centre the predictor variables $x$ and $m$. This will have a downstream effect upon the interaction term $x \cdot m$.

One effect of mean centering is to change the interpretation of the parameter estimates. In this notebook, we did not mean center the variables which will affect the parameter estimates and their interpretation. It is not that one is correct or incorrect, but one must be cognisant of how mean-centering (or not) affects the interpretation of parameter estimates. Readers are again directed to {cite:t}`hayes2017introduction` for a more in-depth consideration of mean-centering in moderation analyses.
One effect of mean centering is to change the interpretation of the parameter estimates. In this notebook, we did not mean center the vriables which will affect the parameter estimates and their interpretation. It is not that one is correct or incorrect, but one must be cognisant of how mean-centering (or not) affects the interpretation of parameter estimates. Readers are again directed to {cite:t}`hayes2017introduction` for a more in-depth consideration of mean-centering in moderation analyses.

Another issue, particularly relevant to moderation analysis is [multicollinearity](https://en.wikipedia.org/wiki/Multicollinearity), where one predictor variable is well-described as a linear combination of other predictors. This is clearly the case in moderation analysis as the interaction term $m \cdot x$ is by definition a linear combination of $x$ and $m$.

Expand Down Expand Up @@ -464,7 +464,7 @@ But readers are strongly encouraged to read {cite:t}`mcclelland2017multicollinea
- Further information about the 'moderation effect', or what {cite:t}`mcclelland2017multicollinearity` called a spotlight graphs, can be found in {cite:t}`bauer2005probing` and {cite:t}`spiller2013spotlights`. Although these papers take a frequentist (not Bayesian) perspective.
- {cite:t}`zhang2017moderation` compare maximum likelihood and Bayesian methods for moderation analysis with missing predictor variables.
- Multicollinearity, data centering, and linear models with interaction terms are also discussed in a number of prominent Bayesian text books {cite:p}`gelman2013bayesian, gelman2020regression,kruschke2014doing,mcelreath2018statistical`.
- Readers interested in issues of causality around moderation are directed to {cite:t}`rohrer2022process`, {cite:t}`rohrer2018thinking`, and {cite:t}`rohrer2021precise`.
- Readers interested in issues of causality around moderation are directed to {cite:t}`rohrer2018thinking`, {cite:t}`rohrer2021precise`, and {cite:t}`rohrer2022process`.

+++

Expand All @@ -473,7 +473,7 @@ But readers are strongly encouraged to read {cite:t}`mcclelland2017multicollinea
- Updated by Benjamin T. Vincent in March 2022
- Updated by Benjamin T. Vincent in February 2023 to run on PyMC v5
- Updated to use `az.extract` by [Benjamin T. Vincent](https://github.com/drbenvincent) in February 2023 ([pymc-examples#522](https://github.com/pymc-devs/pymc-examples/pull/522))
- Updated by [Benjamin T. Vincent](https://github.com/drbenvincent) in June 2024 to incorporate causal concepts
- Updated by [Benjamin T. Vincent](https://github.com/drbenvincent) in Oct 2024 ([pymc-examples#662](https://github.com/pymc-devs/pymc-examples/pull/662))

+++

Expand Down

0 comments on commit 813d547

Please sign in to comment.