Re: [R] R 3.4.4, internet access fails on Windows XP

2018-03-22 Thread Holger Taschenberger
Dear Duncan, thank you for your reply. On Wed, 21 Mar 2018 11:58:15 -0400 Duncan Murdoch wrote: > The Windows FAQ 2.2 says, "Windows XP is no longer supported", so I think > you're out of luck. XP went past "end-of-life" in 2014. > on

[R] R 3.4.4, internet access fails on Windows XP

2018-03-21 Thread Holger Taschenberger
I can install and run R 3.4.4 on Windows XP (32bit). However, calling "Update Packages..." or "Html help" from the RGui.exe main menu fails with a Windows MessageBox saying: "The procedure entry point IdnToAscii could not be located in the dynamic link library KERNEL32.dll" and the following t

[R] one sample permutation test using package 'coin'

2017-09-08 Thread Holger Taschenberger
Using the package ‘exactRankTests’ one can execute a one-sample permutation test for a hypothesized location parameter of 0 like: perm.test(rnorm(30,0)) The package ‘exactRankTests’ seems now to be deprecated in favor of the ‘coin’ package which as I understand is a superset of ‘exactRankTests’

Re: [R] permutation test on paired samples

2012-07-16 Thread Holger Taschenberger
n use your 'recipe'. --Holger On Sun, 15 Jul 2012 19:36:01 +0200 "Henric (Nilsson) Winell" wrote: > Holger, > > Thanks for providing a reproducible example. However, since your > space key only works sporadically, the below is a little hard to read... ;) > >

[R] permutation test on paired samples

2012-07-12 Thread Holger Taschenberger
Hi, I'm trying to run a permutation test on paired samples. First I tried the package "exactRankTests": require("exactRankTests") x <- c(1.83,0.50,1.62,2.48,1.68,1.88,1.55,3.06,1.30) y <- c(0.878,0.647,0.598,2.05,1.06,1.29,1.06,3.14,1.29) wilcox.test(x,y,paired = TRUE,alternative = "gre

Re: [R] compare linear regressions

2011-11-08 Thread Holger Taschenberger
Peter Konings wrote: > On Tue, Nov 8, 2011 at 2:52 PM, Holger Taschenberger < > holger.taschenber...@mpi-bpc.mpg.de> wrote: > > > > summary(lm(formula = y ~ x - 1 + x:g, dta)) > > ## > > I assume that the last line is the correct way to specify a

[R] compare linear regressions

2011-11-08 Thread Holger Taschenberger
Hi, I'm trying to compare two linear regressions. I'm using the following approach: ## xx<-1:100 df1 <- data.frame(x = xx, y = xx * 2 + 30 + rnorm(n=length(xx),sd=10), g = 1) df2 <- data.frame(x = xx, y = xx * 4 + 9 + rnorm(n=length(xx),sd=10), g = 2) dta <- rbind(df1, df2

[R] one sample Wilcoxon test using 'coin'

2011-11-07 Thread Holger Taschenberger
Hi, I'm trying to use the package 'coin' to run a one sample Wilcoxon test equivalent to this: x1<-c(1,3.5,2.1,4,1.5,5) wilcox.test(x1, mu=2, exact=TRUE) I assume that I can do this like so: x2<-rep(2,length(x1)) wilcoxsign_test(x1 ~ x2,distribution = exact()) But I'm not sure if this

Re: [R] one sample Wilcoxon test using 'coin'

2011-10-31 Thread Holger Taschenberger
On Mon, 31 Oct 2011 09:14:15 -0700 (PDT) Mark Lamias wrote: > The wilcoxon test in coin are meant only for "Testing the equality of > the distributions of a numeric response in *two or more* independent > groups against shift alternatives" whereas the wilcoxon test in the > base pacakge "Perform

[R] one sample Wilcoxon test using 'coin'

2011-10-31 Thread Holger Taschenberger
Hi, R allows me to run a one sample Wilcoxon test like this: wilcox.test(c(1,3.5,2.1,4,1.5,5), mu=2, exact=TRUE) The function 'wilcoxsign_test' from the package 'coin' should (I suppose) be able to calculate exact p values even if there are ties in the ranks. However, I couldn't find information