Displaying 20 results from an estimated 3000 matches similar to: "Metafor package: Including multiple (categorical) predictors"
2011 Aug 05
1
Main-effect of categorical variables in meta-analysis (metafor)
Dear R-experts!
In a meta-analysis (metafor) I would like to assess the effect of two
categorical covariates (A & B) whereas they both have 4 levels.
Is my understanding correct that this would require to dummy-code (0,1) each
level of each covariate (A & B)?
However I am interested in the main-effects and the interaction of these two
covariates and the dummy-coding would only allow to
2011 Aug 17
3
questions about "metafor" package
Hello,
I would like to do a meta-analysis with the package « metafor ». Ideally I would like to use a mixed model because I’m interested to see the effect of some moderators. But the data set I managed to collect from literature presents two limits.
- Firstly, for each observation, I have means for a treatment and for a control, but I don’t always have corresponding standard
2012 Aug 02
2
metafor- interpretation of moderators test for raw proportions
Hello metafor users,
I'm using metafor to perform a single-effect summary estimate of the raw
proportion of patients experiencing a post-operative complication, and I'm
interested in seeing if this proportion differs between the three most
commonly used surgical techniques. The software is working as expected, but
I would like to double check on the interpretation of my mixed-effect model
2013 Mar 15
1
metafor - multivariate analysis
Dear Metafor users, I'm conducting a metaanalysis of prevalence of a particular behaviour based on someone elses' code. I've been labouring under the impression that this:
summary(rma.1<-rma(yi,vi,mods=cbind(approxmeanage,interviewmethodcode),data=mal,method="DL",knha=F,weighted=F,intercept=T))
is doing the multivariate analysis that i want, but have read that
2013 Feb 27
1
metafor - interpretion of QM in mixed-effects model with factor moderator
Hi,
I'm using metafor to perform a mixed-effects meta-analysis. I'd like to
test whether the effect is different for animals and plants/whether "group"
(animal/plant) influences the effect size, but am having trouble
interpreting the results I get. I've read previous posts about QM in
metafor, but I'm still a bit confused. I've dummy-coded the factors:
2017 Aug 18
1
Meta-regression of categorical variables
Dear metafor users,
I am working on a meta-analysis of reliability and the correlation associations.
I need some help about conducting categorical moderators variables.
Questions 1: How to conduct the weighted ANOVAs assuming a mixed-effects model on the tranformed alpha coefficients/the tranformes correlation coefficients for the categorical moderator variables?
Questions 2: How to
2009 Jul 24
1
metafor
I had found the author's (Wolfgang Viechtbauer) earlier meta-analytic code in R, MiMa, useful. so I have been exploring metafor using an example dataset from MiMa. metafor provides a lot more. However, MiMa provided parameter estimates, standard errors, z values, etc. for individual moderators in the meta-analysis, but I don't see how to obtain these from metafor. Have you any help
2009 Aug 13
1
metafor random effects meta-analysis
Hello,
Great to see the new metafor package for meta-analysis.
I would like to perform a meta-analysis in which I initially calculate the intercept of the model with a nested random-effects structure. In lme, this would be
model<- lme(v3~1, random=~1|species/study, weights = varFixed(~Wt), method = "REML")
where multiple effects sizes are measured for some studies and more than
2012 Aug 09
1
Factor moderators in metafor
I'm puzzled by the behaviour of factors in rma models, see example and
comments below. I'm sure there's a simple explanation but can't see it...
Thanks for any input
John Hodgson
------------------------------------- code/selected output -----------------
library(metafor)
## Set up data (from Lenters et al A Meta-analysis of Asbestos and Lung
Cancer...
##
2012 May 05
3
metafor
Dear users of metafor,
I am working on a meta-analysis using the metafor package. I have a
excel csv database that I am working with. I am interested in pooling
the effect measures for a particular subgroup (European women) in this
csv database. I am conducting both sub-group and meta-regression.
In subgroup-analyses, I have stratified the database to create a
separate csv file just for European
2013 Jan 19
1
dummy encoding in metafor
Hi,
I am quite new to R and in need of some advice. I am trying to conduct a meta regression over a some studies with about 7 mod variables which I have to dummy encode.
I have found the following piece of code in the manual for the metafor library:
### manual dummy coding of the allocation factor
alloc.random <- ifelse(dat$alloc == "random", 1, 0)
alloc.alternate <-
2012 Aug 01
1
"metafor" package, proportions: single groups wrt to a categorical dependent variable
Dear Dushanthi,
Please keep your e-mails on the R-Help list, where Michael has already given you some excellent advice. As Michael already explained, metafor can handle proportions, but does not have any specific functionality for categorical variables with more than 2 levels (at the moment). So, if it is logical and possible to do so, you could collapse the levels of the categorical outcome to 2
2009 Jun 05
1
New Meta-Analysis Package (metafor)
A new package is now available via CRAN, called metafor.
The metafor package consists of a collection of functions for conducting meta-analyses in R. Fixed- and random-effects models (with and without moderators) can be fitted via the general linear (mixed-effects) model. For 2x2 table data, the Mantel-Haenszel and Peto's method are also implemented. The package also provides various plot
2012 May 24
1
package metafor: specify weights?
Dear R-experts,
Dear Wolfgang,
Weighted model fitting in metafor uses the inverse of the study specific variances as weights.
I am wondering if it is possible to specify different weights.
In my meta-analysis, there are two types of studies with (intrinsic) differences in their range of sample sizes (which are used to calculate the variances of Fisher's z).
I would like to try normalizing
2012 Jul 17
1
tweaking forest plot (metafor package)
Dear All,
I'm having trouble tweaking a forest plot made using the R
meta-analysis package metafor. I did the analysis based upon the
correlation coeff from studies and plotted the corresponding forest
plot easily
> q2<-rma(yi,vi,mods=cbind(grupo),data=qim)
> q2
> forest (q2,transf=transf.ztor,digits=3, ... ,alim=c(0,1),refline=.5)
> text(-1.55,42,"Esp?cie
2012 Jul 28
1
"metafor" package, proportions: single groups wrt to a categorical dependent variable
Dear all, I am using R version 2.15.0 and 'metafor' package version 1.6-0. Can this version of the package handle proportions from a categorical dependent variable for single studies?If so how do I set up my dataframe for the raw data from different studies? Also how do I give inputs, specially xi, mi (or ni) to the function escalc()? Thanks,Dushanthi
[[alternative HTML
2013 Mar 19
1
Error when adding lines to a plot using the mixed-effect model and metafor package
Hi,
I am a student using R for my final year project, with the metafor package being particularly helpful. I have been following the steps laid out in the manual 'Conducting Meta-analysis in R with the Metafor package' (Viechtbauer, 2010) and applying it to my own data of infected Anopheles mosquitoes across Africa.
In particular, I am attempting to apply a mixed-effect model to my data
2011 Jan 12
1
Metafor vs Meta vs Spreadsheet: wrong numbers
Hello,
I experimented the Metafor and Meta packages in the scope of replacing Excel
for meta-analysis. I performed the first working example provided in Michael
Borenstein's book "Introduction to Meta-Analysis" with Excel, Metafor and Meta.
The numbers given by my spreadsheet, which I validated from Borenstein's book,
conrespond quite closely to those given by Meta, but
2010 Nov 11
1
metafor: including phylogenetic non-independence among species?
Hello, Is it possible to include information about phylogenetic relatedness
among species (when species are replicates for each study within a
meta-analysis) in a meta-anlaysis in the metafor package?
Alternatively, I wonder if the method f Lajeunesse 2009 American Naturalist
has been adopted in R in any fashion?
Thanks, Scott Chamberlain
[[alternative HTML version deleted]]
2011 Oct 03
1
Meta-analysis of test statistics in "metafor" package?
Hi -
I am conducting a meta-analysis and I have a matrix of f-statistics, Ns and
dfs from a series of studies that tested for an interaction in a 2x2 anova.
I'd like to test whether the 2x2 interaction is significant in the
aggregate.
Similarly, I have a matrix of chi-square statistics that I'd like to
meta-analyze.
How can I input these test statistics into the "metafor"