Displaying 20 results from an estimated 23 matches for "prho".
Did you mean:
pho
2000 Sep 13
0
Compiling R on HP-UX: "DP relative code"
..../../../R-1.1.1/src/library/ctest/src/kendall.c -o kendall.o
gcc -I../../../../include -I/usr/local/include -fPIC -g -O2 -c
../../../../../R-1.1.1/src/library/ctest/src/ks.c -o ks.o
gcc -I../../../../include -I/usr/local/include -fPIC -g -O2 -c
../../../../../R-1.1.1/src/library/ctest/src/prho.c -o prho.o
gcc -I../../../../include -I/usr/local/include -fPIC -g -O2 -c
../../../../../R-1.1.1/src/library/ctest/src/swilk.c -o swilk.o
gcc -shared -fPIC -o ctest.sl ansari.o fexact.o kendall.o ks.o prho.o swilk.o -L/usr/local/lib -lg2c
-lm -L/lib/pa1.1 -L/usr/lib/pa1.1 -u main -L/usr/lo...
2009 Jan 17
1
bug in cor.test(method = "spearman")
Dear R developers:
There is a possible bug in calculating the p-value
for Spearman's rank correlation.
Line 155 in file
R-patched/src/library/stats/R/cor.test.R
is
as.double(round(q) + lower.tail),
I think, it should be
as.double(round(q) + 2*lower.tail),
The reason is that round(q) is expected to be an even number
(the S statistic), so the next feasible value is round(q)+2.
2009 Nov 30
1
cor.test(method = spearman, exact = TRUE) not exact (PR#14095)
...0, p-value < 2.2e-16
alternative hypothesis: true rho is greater than 0
sample estimates:
rho
1
> 1 / factorial(10)
[1] 2.755732e-07
Since we have perfect rank correlation and only one permutation out of 10! could
give this for N = 10, the p-value should be 1/10!. Reading the code in prho.c,
it appears that the "exact" calculation uses the Edgeworth approximation for N >
9. This makes sense because, for similar examples with N <= 9, the results are
as expected (1 / N!).
The "exact" p-value calculation is good enough for most practical purposes, but
is cle...
2000 Mar 20
1
Need Help Getting through Make on HP-UX 10.20
...package `base'
../../../library/base/R/base is unchanged
building package `ctest'
../../../library/ctest/R/ctest is unchanged
f90 -c alnorm.f -o alnorm.o
alnorm.f
external function ALNORM
53 Lines Compiled
ld -b -o ctest.sl alnorm.o ansari.o fexact.o kendall.o ks.o prho.o swilk.o /opt/fortran90/lib/libF90.a -lcl /opt/fortran90/lib/libisamstub.a
ld: DP relative code in file alnorm.o - shared library must be position
independent. Use +z or +Z to recompile.
*** Error exit code 1
Thanks,
Marcus...
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-...
2006 Jul 19
3
error when compiling "stats" library in R-2.3.1 on Solaris x86
...unts/devel/SUNWspro/prod/include -c portsrc.f -o portsrc.o
cc -xtarget=generic64 -G -L/mounts/devel/SUNWspro/lib/amd64 -L/usr/sfw/lib/amd64 -L/mounts/devel/GNU/repoz/readline43/lib/amd64 -o stats.so init.o kmeans.o ansari.o bandwidths.o chisqsim.o d2x2xk.o fexact.o kendall.o ks.o line.o smooth.o prho.o swilk.o ksmooth.o loessc.o isoreg.o Srunmed.o Trunmed.o dblcen.o distance.o hclust-utils.o nls.o HoltWinters.o PPsum.o arima.o burg.o filter.o mAR.o pacf.o starma.o port.o family.o bsplvd.o bvalue.o bvalus.o loessf.o ppr.o qsbart.o sbart.o sgram.o sinerp.o sslvrg.o stxwx.o hclust.o kmns.o...
2000 Mar 29
5
Porting R
...m missing something to link. Before I spend my time
hunting it down, maybe someone has an immediate idea.
gs.
==
my output:
make[4]: Entering directory `//local.src/R-1.0.0/src/library/ctest/src'
gcc -shared -Xlsharedlibrary -Xlexpall -o ctest.so alnorm.o ansari.o
fexact.o kendall.o
ks.o prho.o swilk.o -L/usr/lib/gcc-lib/powerpc-apple-machten4/2.8.1 -lg2c -lm
ansari.o: In function `errmsg':
ansari.c:13: undefined reference to `Rf_error'
ansari.o: In function `w_init':
ansari.c:21: undefined reference to `R_chk_calloc'
...
ansari.c:84: undefined reference to `Rf_choose...
2003 Sep 26
1
installation : make fails (R-1.7.1 on RedHat 8.0)
...lude/mysql: fichier d'entr?e d'?dition de liens n'est pas
utilis? parce l'?dition de lien n'a pas ?t? faite
making ks.d from ks.c
gcc: /usr/include/mysql: fichier d'entr?e d'?dition de liens n'est pas
utilis? parce l'?dition de lien n'a pas ?t? faite
making prho.d from prho.c
gcc: /usr/include/mysql: fichier d'entr?e d'?dition de liens n'est pas
utilis? parce l'?dition de lien n'a pas ?t? faite
making swilk.d from swilk.c
gcc: /usr/include/mysql: fichier d'entr?e d'?dition de liens n'est pas
utilis? parce l'?dition de...
2007 Mar 07
1
compiling latest version of R
...). Does anybody have tips for compiling the latest version of R so that I
can avoid these errors?
configure
make
...
...
...
f90: CODE: 0 WORDS, DATA: 0 WORDS
gcc -G -L/usr/local/lib -o stats.so init.o kmeans.o ansari.o bandwidths.o
chisq
sim.o d2x2xk.o fexact.o kendall.o ks.o line.o smooth.o prho.o swilk.o
ksmooth
.o loessc.o isoreg.o Srunmed.o Trunmed.o dblcen.o distance.o
hclust-utils.o nl
s.o HoltWinters.o PPsum.o arima.o burg.o filter.o mAR.o pacf.o starma.o
port.o
family.o sbart.o bsplvd.o bvalue.o bvalus.o loessf.o ppr.o qsbart.o
sgram.o si
nerp.o sslvrg.o stxwx.o hclust.o kmn...
2002 Sep 20
1
Install with 64-bit GCC 3.2 (PR#2048)
...FFLAGS="-m64"
LDFLAGS="-m64 -L/usr/local/packages/gcc-3.2/lib/sparcv9" ./configure
--prefix=/usr/local/packages/R-1.5.1-64bit
runs OK, however one of the tests (I assume it is a test anyway) fails thus
gcc3 -G -o ctest.so ansari.o chisqsim.o d2x2xk.o fexact.o kendall.o ks.o prho.o swilk.o init.o -L/usr/lib/sparcv9 -L/usr/local/packages/gcc-3.2/lib/sparcv9 -L/usr/local/packages/gcc-3.2/lib/gcc-lib/sparc-sun-solaris2.8/3.2/sparcv9 -L/usr/local/packages/gcc-3.2/lib/gcc-lib/sparc-sun-solaris2.8/3.2 -L/usr/ccs/bin/sparcv9 -L/usr/ccs/bin -L/usr/ccs/lib/sparcv9 -L/usr/ccs/lib -L...
2002 Nov 14
1
R-1.6.1, Mac OS X 10.2.2 build failure
...gt;
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
gcc -bundle -flat_namespace -undefined suppress -L/usr/local/lib -o
ctest.so ansari.o chisqsim.o d2x2xk.o fexact.o kendall.o ks.o prho.o
swilk.o init.o -L/usr/local/lib
-L/opt/local/lib/gcc-lib/powerpc-apple-darwin6.2/3.1
-L/opt/local/lib/gcc-lib/powerpc-apple-darwin6.2/3.1/../../..
-lreadline -ldl -lncurses -lm -lfrtbegin -lg2c -lSystem
../../../../library/ctest/libs/ctest.so is unchanged
building package 'eda'
../.....
2015 Oct 24
0
Building R for AIX in 32-bit mode - as preparation for building in 64-bit mode (changed subject!) - INFO/FEEDBACK - do not read as a bug report!
...sewhere pulled
into to the archive.
c) one example - stats.so
currently the command to make stats.so is:
gcc -Wl,-bnoquiet -std=gnu99 -shared -Wl,-brtl -Wl,-G -Wl,-bexpall
-Wl,-bnoentry -o stats.so init.o kmeans.o ansari.o bandwidth
s.o chisqsim.o d2x2xk.o fexact.o kendall.o ks.o line.o smooth.o prho.o
swilk.o ksmooth.o loessc.o monoSpl.o isoreg.o Srunmed.o d
blcen.o distance.o hclust-utils.o nls.o rWishart.o HoltWinters.o
PPsum.o arima.o burg.o filter.o mAR.o pacf.o starma.o port.o fa
mily.o sbart.o approx.o loglin.o lowess.o massdist.o splines.o lm.o
complete_cases.o cov.o deriv.o fft.o fouri...
2000 Sep 15
3
R on HP-UX, again: modreg.sl fails, 1 arith test fails
...report the progress of my attempts to get R running on HP-UX
with gcc:
Firstly, I could work around the PIC problem by leaving out all the lib stuff
(I rebuilt gcc with --enable-share, but this (alone) did not help), e.g. the
line
gcc -shared -fPIC -o ctest.sl ansari.o fexact.o kendall.o ks.o prho.o swilk.o -L/usr/local/lib -lg2c
-lm -L/lib/pa1.1 -L/usr/lib/pa1.1 -u main -L/usr/local/qt/lib
-L/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2 -L/usr/ccs/bin -L/usr/ccs/lib -L/opt/gcc/lib -lm
was replaced by
gcc -shared -fPIC -o ctest.sl ansari.o fexact.o kendall.o ks.o prho.o swilk.o -u...
2015 Oct 18
2
Building R for AIX in 32-bit mode - as preparation for building in 64-bit mode (changed subject!) - INFO/FEEDBACK - do not read as a bug report!
On 2015-10-15 15:02, Prof Brian Ripley wrote:
> On 15/10/2015 13:32, Michael Felt wrote:
>> Hi.
>>
>> Just wanted to let you know I am getting close to packaging R for AIX in
rephrase - would like to be active in keeping R binaries current for
AIX. My interest in not in R per se (rather a colleague who has a
project that uses R, so I hope to assist him, and others like him).
2007 Dec 03
0
Make error while installing R 2.6.1 on GNU/linux
...onfigure step is uneventful, the tail end of make follows. Does anyone have any experience with that?
Thanks a lot in advance for any suggestions.
gcc -std=gnu99 -shared -L/usr/local/lib -o stats.so init.o kmeans.o ansari.o bandwidths.o chisqsim.o d2x2xk.o fexact.o kendall.o ks.o line.o smooth.o prho.o swilk.o ksmooth.o loessc.o isoreg.o Srunmed.o Trunmed.o dblcen.o distance.o hclust-utils.o nls.o HoltWinters.o PPsum.o arima.o burg.o filter.o mAR.o pacf.o starma.o port.o family.o sbart.o approx.o loglin.o lowess.o massdist.o splines.o bsplvd.o bvalue.o bvalus.o loessf.o ppr.o qsbart.o sgram.o s...
2005 Aug 23
0
NAs by integer overflow in Spearman's test p-value (PR#8087)
...than via the
## simple normal approximation.
## In the case of no ties, S = (1-rho) * (n^3-n)/6.
pspearman <- function(q, n, lower.tail = TRUE) {
if(n <= 1290) # n*(n^2 - 1) does not overflow
.C("prho",
as.integer(n),
as.double(q + 1),
p = double(1),
integer(1),
as.logical(lower.tail),
PACKAGE = "stats")$p...
2009 Mar 05
1
Spearman's rank correlation test (PR#13574)
...+0100
+++ R-cor.test/src/library/stats/R/cor.test.R 2009-03-05 10:39:07.383841736
+0100
@@ -151,9 +151,9 @@
pspearman <- function(q, n, lower.tail = TRUE) {
if(n <= 1290 && exact) # n*(n^2 - 1) does not overflow
.C("prho",
as.integer(n),
- as.double(round(q) + lower.tail),
+ as.double(round(q) + 2*lower.tail),
p = double(1L),
integer(1L),
as.logical...
2005 Aug 23
0
(PR#8087) NAs by integer overflow in Spearman's test p-value
...## simple normal approximation.
> ## In the case of no ties, S = (1-rho) * (n^3-n)/6.
> pspearman <- function(q, n, lower.tail = TRUE) {
> if(n <= 1290) # n*(n^2 - 1) does not overflow
> .C("prho",
> as.integer(n),
> as.double(q + 1),
> p = double(1),
> integer(1),
> as.logical(lower.tail),
> PACKAGE = "stats&...
2006 Feb 22
1
Gram-Charlier series
Good day everyone,
I want to use the Gram-Charlier series expansion to model
some data. To do that, I need functions to:
1) Calculate 'n' moments from given data
2) Transform 'n' moments to 'n' central moments, or
3) Transform 'n' moments to 'n' cumulants
4) Calculate a number of Hermite polynomials
Are there R-functions to do any of the above?
2007 Mar 16
1
Problem installing R onto Solaris 2.10 system - need advice!!!!!
Dear R-Help friends,
I am unable to get the latest version of R (2.4.1) to compile on my solaris 10
system - has anybody else experienced this problem and are you able to offer me
any advice?
I appreciate your time, many thanks,
Jenny Barnes
Here are my CURRENT specifications:
platform sparc-sun-solaris2.10
arch sparc
os solaris2.10
2006 May 24
0
the computation of exact p-value for the nonparametric cor-test with ties
...than via the
## simple normal approximation.
## In the case of no ties, S = (1-rho) * (n^3-n)/6.
pspearman <- function(q, n, lower.tail = TRUE) {
if(n <= 1290) # n*(n^2 - 1) does not overflow
.C("prho",
as.integer(n),
as.double(q + 1),
p = double(1),
integer(1),
as.logical(lower.tail),
PACKAGE = "stats")$p...