Displaying 20 results from an estimated 600 matches similar to: "Odd underflow(?) error"
2005 Jul 12
2
what is the .Machine$double.xmin for a 64 bit machine?
I use a 32 bit machine. For those using 64 bit machines,
what is the .Machine$double.xmin for for machines?
regards. Stephen.
----- Original Message -----
From: Achim Zeileis <Achim.Zeileis at wu-wien.ac.at>
Date: Tuesday, July 12, 2005 10:51 am
Subject: Re: [R] exact values for p-values - more information.
> On Tue, 12 Jul 2005, S.O. Nyangoma wrote:
>
> > > If they
2004 Aug 19
3
More precision problems in testing with Intel compilers
The Intel compiled version also fails the below test:
> ###------------ Very big and very small
> umach <- unlist(.Machine)[paste("double.x", c("min","max"), sep='')]
> xmin <- umach[1]
> xmax <- umach[2]
> tx <- unique(outer(-1:1,c(.1,1e-3,1e-7)))# 7 values (out of 9)
> tx <- unique(sort(c(outer(umach,1+tx))))# 11 values
1997 May 27
1
R-alpha: signif( small , d) gives NA
signif(.) is a <primitive> function.
Unfortunately, I couldn't even find WHERE in the source,
signif(.) is defined.
Here are the symptoms:
xmin <- .Machine $ double.xmin
signif(xmin,3) #--> NA
umach <- unlist(.Machine)[paste("double.x", c("min","max"), sep='')]
for(dig in 1:10) {cat("dig=",dig,": ");
2017 Jun 22
2
Unexpected behaviour of base::qr()$rank
2017-06-22 19:49 GMT+02:00 Uwe Ligges <ligges at statistik.tu-dortmund.de>:
> On 22.06.2017 17:11, Bernd Funovits wrote:
>>
>> Hello,
>>
>> I experienced some unexpected behaviour while determining the rank of matrices (sometimes 1x1 matrices):
>> base::qr(matrix(1e-20))$rank returns 1 (incorrect)
>> base::qr(diag(c(1, 1e-20)))$rank returns 2
2017 Jun 22
2
Unexpected behaviour of base::qr()$rank
Hello,
I experienced some unexpected behaviour while determining the rank of
matrices (sometimes 1x1 matrices):
base::qr(matrix(1e-20))$rank returns 1 (incorrect)
base::qr(diag(c(1, 1e-20)))$rank returns 2 (incorrect)
Best regards,
Bernd
> R.version
_
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major
2017 Jun 22
1
Unexpected behaviour of base::qr()$rank
2017-06-22 20:31 GMT+02:00 Uwe Ligges <ligges at statistik.tu-dortmund.de>:
>
>
> On 22.06.2017 20:09, I?aki ?car wrote:
>>
>> 2017-06-22 19:49 GMT+02:00 Uwe Ligges <ligges at statistik.tu-dortmund.de>:
>>>
>>> On 22.06.2017 17:11, Bernd Funovits wrote:
>>>>
>>>>
>>>> Hello,
>>>>
>>>> I
2013 Mar 15
2
phyper returning zero
Hi,
I am attempting to use phyper to test the significance of two overlapping lists. I keep getting a zero and wondered if that was determining non-significance of my overlap or a p-value too small to calculate?
overlap = 524
lista = 2784
totalpop = 54675
listb = 1296
phyper(overlap, lista, totalpop, listb,lower.tail = FALSE, log.p=F)
[1] 0
If I plug in some different values I get a p-value but
2012 Jul 31
2
protential rounding error concern
Dear All,
I am running a r code on 32bit win, involving absolutely small numbers.
Although I tried sth like the ratio of numers like 10^(-100) and did not
have issue to get the correct answer,
but still a little concerned about it.
Could anyone give some suggestion or have any experience?
Best wishes,
Jie
[[alternative HTML version deleted]]
2013 May 18
3
bar plot with non-zero starting level
Hi,
I want to plot grouped bars to compare 95% confidence interval estimates
from two models. Each bar represents a 95% confidence interval estimate
of a coefficient from one of the two models. Each group represents
confidence interval estimates of the same coefficient from the two models.
I think such a bar plot will nicely present whether 95% confidence
interval estimates of the same
2010 Sep 19
1
help interpreting a model summary
Hello, I am all new here.
Thanks for the job done, R really helped me in my thesis lately. However, I
am kind of new in statistics, coming from mecanical engineering, and I
mostly teached myself with "The R Book", so I may do silly things some time.
PLease tell me if you think so.
Anyway, I've just build up a piecewise linear model to fit some data,
including some interaction and i
2004 Dec 01
1
R on Irix 6.5 fails when trying to load external data?
I've previously installed R on Solaris and everything went fine there.
I'm now trying to install on Irix 6.5 (about which, unfortunately, I
have less than thorough knowledge) and it is failing. R itself seems to
be working okay. Initially, Irix's dumb make program didn't understand
some Makefile syntax in the tests, so I just ignored them and installed it.
After the
2010 Apr 04
4
ggplot2 geom_rect(): What am I missing here
Hi R fans,
As a newbie following the five-hour rule (after hitting my head against
the wall for five hours, post to this list), I am appealing for some
help understanding geom_rect() in ggplot2.
What I want to do is very simple. I want to generate a plot of
rectangles. Each one represents a business cycle. The x-values will be
pairs representing the start and end of each cycle. The y-values
2013 Oct 09
4
[LLVMdev] Related constant folding of floating point values
Hi all,
I have the following test case:
#define FLT_EPSILON 1.19209290E-7
int err = -1;
int main()
{
float a = 8.1;
if (((a - 8.1) >= FLT_EPSILON) || ((a - 8.1) <= -FLT_EPSILON)) { //I am
using FLT_EPSILON to check whether (a != 2.0).
err = 1;
} else {
err = 0;
}
return 0;
}
with -O3 optimization level clang generates already incorrect LLVM IR:
; Function Attrs:
2006 Sep 13
2
Retrieving value computed in inner function call
Dear R users,
Consider the following example function:
f = function(a,b) {
g = function(x) a*x + b
h = function(x) g(x)^2 + x^2
opt = optimize(h,lower = -1, upper = 1)
x.min = opt$minimum
h.xmin = opt$objective
g.xmin = g(x.min)
return(c(x.min, h.xmin, g.xmin))
}
In my real problem the function that plays the role of "g" is costly
to compute. Now, to
2013 Mar 22
4
ggplot2 will not draw a rectangle. Error: ggplot2 doesn't know how to deal with data of class XXX"
What am I missing? When I run the code below I get the error message
"Error: ggplot2 doesn't know how to deal with data of class function"
Googling suggests a message of "Error: ggplot2 doesn't know how to deal with data of class XXX" is not uncommon but I don't see why I am getting a "function" error unless I am using some reserved word?
2002 Jan 25
2
selecting clusters of points
All:
Are there any functions out there for selecting all the
points in a region of a plot. I envision something like the
identify() function except one could circle a cloud of points (and
perhaps a vector would be returned of the same length as the points
plotted indicating logical membership in the circled cloud). Perhaps
someone has done something with the locator() function that would
2005 Jul 11
4
exact values for p-values - more information.
Hi there,
If I do an lm, I get p-vlues as
p-value: < 2.2e-16
This is obtained from F =39540 with df1 = 1, df2 = 7025.
Suppose am interested in exact value such as
p-value = 1.6e-16 (note = and not <)
How do I go about it?
stephen
2013 Jan 03
5
count appearence of zero in a vector
Hello,
I wish to count how often zero (0) appears in the vector test.
test
[1] 1 1 1 1 1 1 2 1 1 1 0 2 0 1 1 0 0 0 1 1 1 0 1 2 1 1 1 1 1 1
I think of something like ...
> sapply (test, function (x) if (x==0 ...
... but actually I dont know how to carry on.
Could anybody give me a hint?
Thanks Hermann
[[alternative HTML version deleted]]
2008 Apr 22
3
Using the 'by' function within a 'for' loop
Dear R experts,
I am sorry for sending this email again. I would
imagine yesterday and maybe today, have been very busy
days with the release of R v 2.7.0. I join all the R
users who are very gratful for your contant work and
efforts, specially knowing that you are doing this for
the sake of science, without gettig any compensation
for that.
Having written that, I decided to send the
2007 Jun 04
2
Abstract plot
I want to make a plot, but instead of showing _numerical_ values,
I would like to show _symbolic_ values.
For example, I want to plot a function y = a x + b, where
x varies between Xmin and Xmax. I would like the plot
to show, in the x-axis, the strings Xmin and Xmax, instead
of their numeric values. Is it possible?
Alberto Monteiro