similar to: Re: [R] Strange means of numbers drawn from rpois (PR#730)

Displaying 20 results from an estimated 100 matches similar to: "Re: [R] Strange means of numbers drawn from rpois (PR#730)"

2000 Nov 08
1
Re: [R] Strange means of numbers drawn from rpois (PR#730)
On 8 Nov 2000, Peter Dalgaard BSA wrote: >Done... Great! >(This kind of behaviour has been observed on various platforms and >various compilers, sometimes getting stuck around 15.15 and sometimes >around 14.5. Others report no problems. Very strange. I've seen one >case where it apparently shifted from one regime to the other.) Yes, it does that here too.... The following is
2000 Nov 08
1
Re: [R] Strange means of numbers drawn from rpois (PR#729)
Kjetil Kjernsmo <kjetil.kjernsmo@astro.uio.no> writes: > On 8 Nov 2000, Peter Dalgaard BSA wrote: > > >I'm not at all happy with this: > > > >Solaris : > >> range(sapply(1:2000, function(n) mean(rpois(10000, 15.0)))) > >[1] 15.0524 15.3403 > > Hm, OK, so it isn't just me.... I guess it is time to file a bug report, > should I do it,
2000 Nov 08
3
Strange means of numbers drawn from rpois
Dear all, I think I must be going crazy.... If I do > mean(rpois(1000000, 14)) I get: [1] 13.50420 and again: > mean(rpois(1000000, 14)) [1] 13.49896 > mean(rpois(1000000, 14)) [1] 13.50161 > mean(rpois(1000000, 15)) [1] 14.49250 > mean(rpois(1000000, 15)) [1] 14.49897 > mean(rpois(1000000, 14.5)) [1] 13.99689 > mean(rpois(1000000, 14.5)) [1] 13.9963 This was on a platform
2009 Nov 04
1
[Bug 24886] New: Cursor not drawn after a resent commit
http://bugs.freedesktop.org/show_bug.cgi?id=24886 Summary: Cursor not drawn after a resent commit Product: xorg Version: unspecified Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Driver/nouveau AssignedTo: nouveau at lists.freedesktop.org
2001 Jun 28
1
cvs010626 flickering borders before main window drawn
This problem is new since _after_ wine010510.tar.gz and keeps showing up in cvs010626. Again the same VB3 application. The splash screen appears and the main window (which consists only of a bunch of buttons) is started to be prepared. In a flickering way many frames or borders appear (empty) and when finally the splash screen disappears the main window gets drawn correctly. Then the problem does
2009 Dec 01
0
Data viewer window not drawn properly with Compiz (PR#14099)
Full_Name: Ulrich Keller Version: 2.10.0 OS: Ubuntu Karmic i386 Submission from: (NULL) (158.64.77.254) When Compiz is switched on in Ubuntu Karmic R's data editor is unusable. The window contents are garbled from the start, and when scrolling through the data using the arrow keys the contents of the editor window are not redrawn properly. I have verified that the problem exists on two
2013 Jan 07
0
Plots not drawn with buffered Cairo 1.12
Hi! On Fedora 18 [1] and Arch Linux [2], using R 2.15.2, X11 plots are not drawn (i.e. the window stays blank) when using X11.options(type="cairo") and X11.options(type="dbcairo"). They are correctly drawn when using X11.options(type="nbcairo") and X11.options(type="xlib"), or after resizing the X11 window. The bug happens with Cairo 1.12.4 and above, but
2018 Oct 05
0
Bug : Autocorrelation in sample drawn from stats::rnorm (hmh)
On Fri, Oct 5, 2018 at 2:07 PM hmh <hugomh at gmx.fr> wrote: > > On 05/10/2018 10:28, Annaert Jan wrote: > > you discard any time series structure; > But that is PRECISELY what a call a bug: > There should not be any "time series structure" in the output or rnorm, > runif and so on but there is one. > > rnorm(N,0,1) > should give on average the same
2018 Oct 05
0
Bug : Autocorrelation in sample drawn from stats::rnorm (hmh)
> Nope. > This IS a bug: > The negative auto-correlation mostly disappear when I randomize small samples using the R function 'sample'. > Please check thoroughly the code of the 1st mail I sent, there should be no difference between the two R functions I wrote to illustrate the bug. > The two functions that should produce the same output if there would be no bug are
2002 Jun 03
1
symbols: zero radius circles are drawn.
Hi, I don't think this is a bug, but I thought I'd mention it in case others think it is not correct... I guess it is probably just a rounding error. If I use symbols() to draw some circles, any circle with radius of zero gets drawn as a small circle. As an example: postscript(file="test.ps") symbols(1:9, rep(2,9), circles=seq(from=0.05, to=0.0, length=9),
2004 Nov 20
1
Error with strwidth after lattice graphic drawn
In platform i386-pc-linux-gnu arch i386 os linux-gnu system i386, linux-gnu status major 2 minor 0.1 year 2004 month 11 day 15 language R I'm getting an error when using strwidth after a lattice graphic is drawn: library(lattice) xyplot(runif(20) ~ runif(20)) strwidth('xxx') Error in strwidth("xxx") : invalid graphics state Any help
2006 Jul 28
3
scatter plot with axes drawn on the same scale
Dear useRs, I'd like to produce some scatter plots where N units on the X axis are equal to N units on the Y axis (as measured with a ruler, on screen or paper). This approach x <- sample(10:200,40) ; y <- sample(20:100,40) windows(width=max(x),height=max(y)) plot(x,y) is better than plot(x,y) but doesn't solve the problem because of the other parameters (margins etc). Is
2007 Dec 19
1
lattice: axes drawn when relation='free' or relation='sliced' but not when relation='same'
I'm using lattice to draw a multi-panel figure: 5 rows, 4 columns. The y-axis for each panel is determined by yaxs <- list(draw=T , labels=c(0, '.5', '1', '1.5') , at=c(0, .5, 1, 1.5) , tck=c(.4, 0) , cex=.7 , alternating=2
2009 Sep 05
1
how do I draw this surface -- hand drawn in the attachemtn
Basially I have the observation for x, y, and z for each fixed z, the value of y moves from 0 to y0 as x moves from 0 to x0. I then move the curve for z from 0 to z0 and form a continuous surface. want to know if there is a way that R can replace my handdrawing. -------------- next part -------------- A non-text attachment was scrubbed... Name: draw0001.pdf Type: application/pdf Size: 292083
2009 Dec 07
2
problem in labeling the nodes of tree drawn by rpart
Hi all, I used rpart to fit a model, where the covariates in the model are categorical variables. Then I plotted the tree (mytree) and used the command "text" to add labels to the tree. In the nodes of the tree, the values of the covariates are represented with a, b or c. Is there a way to show the real value(s) of the variable in the nodes instead of a, b or c ? I found that the
2011 Dec 18
1
gWidgets: how to remove that is box drawn when moving the mouse with pressed button
Hi, how can I omit the box drawn from the starting position to the current position of the mouse when clicking and it over a GTK graphics object? I have seen that in the 'playwith' package the box changes to an arrow when using the 'pan' button. But I do not find the corresponding line in the code to implement that. library(gWidgets)
2006 Sep 29
2
X-axis labels in histograms drawn by the "truehist" function
Hi, I have a simple problem that I would appreciate getting some tips. I am using the "truehist" function within an "apply" call to plot multiple histograms. I can't figure out how to get truehist to use the column names of the matrix as the labels for the x-axis of the histograms. Here is a simple example: X <- matrix(runif(4000),ncol=4) colnames(X)
2020 Jan 19
2
rpois(9, 1e10)
Hello, All: ????? Consider: Browse[2]> set.seed(1) Browse[2]> rpois(9, 1e10) NAs produced[1] NA NA NA NA NA NA NA NA NA ????? Should this happen? ????? I think that for, say, lambda>1e6, rpois should return rnorm(., lambda, sqrt(lambda)). ????? For my particular Monte Carlo, I have replaced my call to rpois with a call to the following: ?rpois. <- function(n,
2020 Jan 19
0
rpois(9, 1e10)
Maybe there should be code for 64 bit R to use long long or the like? On Sun, Jan 19, 2020 at 10:45 AM Spencer Graves <spencer.graves at prodsyse.com> wrote: > > > On 2020-01-19 09:34, Benjamin Tyner wrote: > >> ------------------------------------------------------------------------ > >> Hello, All: > >> > >> > >> Consider:
2020 Jan 19
0
rpois(9, 1e10)
Technically, lambda can always be numeric. It is the observations which must be integral. Would hitting everything larger than maxint or maxlonglong with floor or round fundamentally change the distribution? Well, yes, but enough that it would matter over process risk? Avi On Sun, Jan 19, 2020 at 11:20 AM Benjamin Tyner <btyner at gmail.com> wrote: > So imagine rpois is changed, such