[MINC-users] RMINC - Calculating p-value for the Wilcoxon test

Matthijs Van Eede matthijs at mouseimaging.ca
Thu Jun 6 14:18:19 EDT 2013


Greetings,

I have a reply from Jason to this question, but I don't see it on the MINC-users list, so just in case here was his answer:

***
Use the pwilcox function - pass it the vector of W values from minc.model and the size of each of your two groups.

Jason
***

Cheers,
Matthijs

----- Original Message -----
From: "Tom Beaudry" <waveflux at gmail.com>
To: "MINC users mailing list" <minc-users at bic.mni.mcgill.ca>
Sent: Monday, May 27, 2013 2:34:51 PM
Subject: [MINC-users] RMINC - Calculating p-value for the Wilcoxon test

Hi,

I am using RMINC to calculate the W value for an analysis with group sizes
of 6 and 19. I then get some W values (from 1-114), but how can I calculate
the associated p-value from the W-Value?

This is the R code that I am using:

rm(list=ls(all=TRUE))
library(RMINC)
gf1 <- read.csv("input.csv")
vs1 <- minc.model(gf1$FA, gf1$group, "wilcoxon")
vs1[is.na(vs1)] <- 0
mincWriteVolume(vs1, "output.mnc", gf1$FA)

thanks for the help!
Thomas Beaudry
_______________________________________________
MINC-users at bic.mni.mcgill.ca
http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users


More information about the MINC-users mailing list