Skip to content
Back to formatted view

Raw Message

Message-ID: <998dddc25fae41af98122a0ee460b030@maastrichtuniversity.nl>
Date: 2023-09-02T11:16:07Z
From: Wolfgang Viechtbauer
Subject: [R-meta] Checking for Multi-Collinearity with continuous and categorial predictors
In-Reply-To: <bff619e24cca49f5b252c35725dfc2dd@mailbox.tu-dresden.de>

Dear Wilma,

You mean in a meta-regression analysis? You can do this with metafor::vif(). After fitting a meta-regression model, you can use the vif() function to obtain variance inflation factors to indicate the degree of multicollinearity of the predictors. The predictors can be both continuous and categorical, so this works just fine.

See here for the documentation (and examples):

https://wviechtb.github.io/metafor/reference/vif.html

Best,
Wolfgang

>-----Original Message-----
>From: R-sig-meta-analysis [mailto:r-sig-meta-analysis-bounces at r-project.org] On
>Behalf Of Wilma Charlott Theilig via R-sig-meta-analysis
>Sent: Saturday, 02 September, 2023 11:29
>To: r-sig-meta-analysis at r-project.org
>Cc: Wilma Charlott Theilig
>Subject: [R-meta] Checking for Multi-Collinearity with continuous and categorial
>predictors
>
>Hi all,
>
>I wanted to ask if it is possible to check both continuous and categorical
>predictors for multi-collinearity at the same time (in one analysis, so to speak)
>and how I can implement this in R.
>
>If anyone can help me in this regard, I would be very pleased!
>
>Kind regards
>
>Wilma