[R-sig-Geo] modified t-test using SpatialPack for correlation

"José M. Blanco Moreno" jmblanco at ub.edu
Thu Oct 18 16:59:31 CEST 2012


>> Hi List,
>> I am wanting to do a modified t-test to account for auto-correlation,
>> similar to Dutilleul 1993 (Dutilleul, P. (1993) Modifying the t test
>> for assessing the correlation between two spatial processes.
>> Biometrics 49, 305?314.).
>>
>> I was trying to use the SpatialPack package
>> (http://cran.r-project.org/web/packages/SpatialPack/SpatialPack.pdf),
>> but have had trouble installing it.  My questions are:
>>
>> 1. Has anyone else had trouble with package and/or used it successfully?
>
>  Oh no, what kind of trouble? Error messages?
>
>  install.packages("SpatialPack") works fine for me on R 2.15
>
>  The modified.ttest example runs as well.


I have it working also, not a problem installing and running the
examples. However, if you run into trouble, you can still try a modttest
package that I produced xome time ago based upon some existing code by
Pierre Legendre (it will handle as many variables as you want at the
same time, as many coordinates, and also longitude-latitude coordinates
-- but I think it is somewhat slower than the SpatialPack version).



>
>> 2. Is there another package that would allow me to do a modified
>> t-test?  I saw a previous post from 2007 that said that no package was
>> available but that was years ago.
>
>  Let's get this working. What was your problem precisely?
>
> Barry


--
---------------------------------------
José M. Blanco-Moreno
Dept. de Biologia Vegetal (Botànica)
Facultat de Biologia
Universitat de Barcelona
Av. Diagonal 643
08028 Barcelona
SPAIN
---------------------------------------
phone: (+34) 934 039 863
fax: (+34) 934 112 842
---------------------------------------


To cultivate kindness is a valuable
part of the business of life. -Samuel
Johnson, lexicographer (1709-1784)


Aquest correu electrònic i els annexos poden contenir informació confidencial o protegida legalment i està adreçat exclusivament a la persona o entitat destinatària. Si no sou el destinatari final o la persona encarregada de rebre’l, no esteu autoritzat a llegir-lo, retenir-lo, modificar-lo, distribuir-lo, copiar-lo ni a revelar-ne el contingut. Si heu rebut aquest correu electrònic per error, us preguem que n’informeu al remitent i que elimineu del sistema el missatge i el material annex que pugui contenir. Gràcies per la vostra col·laboració.

Este correo electrónico y sus anexos pueden contener información confidencial o legalmente protegida y está exclusivamente dirigido a la persona o entidad destinataria. Si usted no es el destinatario final o la persona encargada de recibirlo, no está autorizado a leerlo, retenerlo, modificarlo, distribuirlo, copiarlo ni a revelar su contenido. Si ha recibido este mensaje electrónico por error, le rogamos que informe al remitente y elimine del sistema el mensaje y el material anexo que pueda contener. Gracias por su colaboración.

This email message and any documents attached to it may contain confidential or legally protected material and are intended solely for the use of the individual or organization to whom they are addressed. We remind you that if you are not the intended recipient of this email message or the person responsible for processing it, then you are not authorized to read, save, modify, send, copy or disclose any of its contents. If you have received this email message by mistake, we kindly ask you to inform the sender of this and to eliminate both the message and any attachments it carries from your account. Thank you for your collaboration.



More information about the R-sig-Geo mailing list