search for: duncan

Displaying 20 results from an estimated 13035 matches for "duncan".

2018 Sep 19
2
Bias in R's random integers?
...ch this could give bad results. Suppose I sample rows from a large dataset, maybe for bootstrapping. Suppose the rows are non-randomly ordered, e.g. odd rows are males, even rows are females. Oops! Very non-representative sample, bootstrap p values are garbage. David On Wed, 19 Sep 2018 at 21:20, Duncan Murdoch <murdoch.duncan at gmail.com> wrote: > On 19/09/2018 3:52 PM, Philip B. Stark wrote: > > Hi Duncan-- > > > > > > That is a mathematically true statement, but I suspect it is not very > relevant. Pseudo-random number generators always have test functions...
2018 Sep 19
0
Bias in R's random integers?
...alue you need a different pattern; add or subtract an element or two and the pattern needed to see a problem changes drastically.) But if you're sampling from a dataset of that exact size, then you should worry about this bug. Don't use sample(). Use the algorithm that Carl described. Duncan Murdoch > > David > > On Wed, 19 Sep 2018 at 21:20, Duncan Murdoch <murdoch.duncan at gmail.com > <mailto:murdoch.duncan at gmail.com>> wrote: > > On 19/09/2018 3:52 PM, Philip B. Stark wrote: > > Hi Duncan-- > > > > > &...
2006 Jul 04
2
options("quit.with.no.save"), and Windows installer changes
...taller, to allow the user to choose whether to set quit.with.no.save, MDI/SDI display, and help style at install time. The only (intentional) change to the current behaviour is to default to CHM help instead of plain text. These changes will show up in builds based on revision 38480 or later. Duncan Murdoch
2008 Jul 30
3
[LLVMdev] llvm-gcc fortran bootstrap broken
...ortran/trans.o fortran/trans-array.o fortran/trans-common.o fortran/trans-const.o fortran/trans-decl.o fortran/trans-expr.o fortran/trans-intrinsic.o fortran/trans-io.o fortran/trans-openmp.o fortran/trans-stmt.o fortran/trans-types.o llvm-main.o tree-browser.o libbackend.a ../libcpp/libcpp.a /home/duncan/LLVM/llvm-objects/Debug/lib/libLLVMBitReader.a /home/duncan/LLVM/llvm-objects/Debug/lib/libLLVMipo.a /home/duncan/LLVM/llvm-objects/Debug/lib/libLLVMBitWriter.a /home/duncan/LLVM/llvm-objects/Debug/lib/LLVMX86.o /home/duncan/LLVM/llvm-objects/Debug/lib/libLLVMSelectionDAG.a /home/duncan/LLVM/llvm-o...
2006 May 09
2
RFC: log='z' for image, contour, persp?
...mage(x, y, z, log="x") to scale the x axis (though there's a spurious warning; I'll fix that). image(z, log="x") fails because it tries to take a log of zero. Does it seem like a good idea for these 3D functions to support log="z" the way 2D functions do? Duncan Murdoch
2018 Sep 19
4
Bias in R's random integers?
Hi Duncan-- Nice simulation! The absolute difference in probabilities is small, but the maximum relative difference grows from something negligible to almost 2 as m approaches 2**31. Because the L_1 distance between the uniform distribution on {1, ..., m} and what you actually get is large, there have to...
2008 Jul 30
0
[LLVMdev] llvm-gcc fortran bootstrap broken
On Wednesday 30 July 2008 18:13:27 Duncan Sands wrote: > On x86-64 linux, in stage 2, I get: > > c++ -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute -fno-common -DHAVE_CON...
2018 Sep 19
2
Bias in R's random integers?
A quick point of order here: arguing with Duncan in this forum is helpful to expose ideas, but probably neither side will convince the other; eventually, if you want this adopted in core R, you'll need to convince an R-core member to pursue this fix. In the meantime, a good, well-tested implementation in a user-contributed package (presuma...
2017 Sep 28
5
Duncan's retirement: who's taking over Rtools?
Dear dev team, I was sorry to see the announcement of Duncan about his retirement from maintaining the R Windows build and Rtools. Duncan, thank you incredibly much for your 15 years of devotion and your impressive contribution to the R community as a whole. Thinking about the future, I wondered whether there were plans for the succession of Duncan. Is it t...
2005 Oct 18
2
Inconsistency with matrix indexing (PR#8214)
Full_Name: Stefan Albrecht Version: 2.2.0 OS: Windows XP Submission from: (NULL) (194.127.2.74) Dear all, in the new R 2.2.0, the matrix indexing has been changed. In my opinion, this leads to an inconsistency when indexing one-row matrices. Take > (mat <- matrix(1:9, nrow = 3, dimnames = list(paste("r", 1:3, sep = ""), paste("c", 1:3, sep = ""))))
2018 Sep 19
0
Bias in R's random integers?
On 19/09/2018 3:52 PM, Philip B. Stark wrote: > Hi Duncan-- > > Nice simulation! > > The absolute difference in probabilities is small, but the maximum > relative difference grows from something negligible to almost 2 as m > approaches 2**31. > > Because the L_1 distance between the uniform distribution on {1, ..., m} > an...
2010 Feb 25
6
Building R packages in Windows 7
Dear useRs, I'm having trouble building R packages in Windows 7 regarding HTML help Workshop. Pointing PATH to c:\Program Files\HTML help Workshop does work in Windows (e.g. Vista) and does not in Windows 7. Some tips?? Kind regards, -- Dr Eric B Ferreira Exact Sciences Department Federal University of Alfenas Brazil [[alternative HTML version deleted]]
2018 Sep 19
0
Bias in R's random integers?
...e in the appendix of his piece for both this and the faster "nearly divisionless" algorithm. It would be excellent if any R core members were interested in considering bindings to these algorithms as a patch, or might express expectations for how that patch would have to operate (e.g. re Duncan's comment about non-integer arguments to sample size). Otherwise, an R package binding seems like a good starting point, but I'm not the right volunteer. On Wed, Sep 19, 2018 at 4:22 PM Ben Bolker <bbolker at gmail.com> wrote: > > A quick point of order here: arguing with...
2002 Apr 16
0
wineconsole regression
...econsole. Since that time, the window pops up then immediately disappears. Wineconsole exits with "Wine failed with return code 1". I include debug output below. Command line: wineconsole IDA/idaw.exe Other info: K6-2 processor, Debian woody, daily wine build. Thanks for any help, Duncan. PS: .wine/config attached warn:dosfs:DRIVE_Init Drive A: not defined warn:dosfs:DRIVE_Init Drive B: not defined warn:dosfs:DRIVE_Init Drive D: not defined warn:dosfs:DRIVE_Init Drive E: not defined warn:dosfs:DRIVE_Init Drive F: not defined warn:dosfs:DRIVE_Init Drive G: not defined warn:dosfs:D...
2008 May 02
2
my first post to the list
...esampling method proposed by Fox about Bootstrapping. The doubt that I have is on the side of the model run in one of the functions expressed for fixed-x resampling. What I don't understand is: X=model.matrix, and the -1 under mod= rlm. Please see below: #fixed x-resampling fit <- fitted(mod.duncan.hub) e <- residuals(mod.duncan.hub) X <- model.matrix(mod.duncan.hub) boot.huber.fixed <- function(data, indices, maxit=20){ y <- fit + e[indices] mod <- rlm(y ~ X - 1, maxit=maxit) coefficients(mod) } duncan.fix.boot <- boot(Duncan, boot.huber.fixed, 1999, maxit=100) duncan.fix.b...
2024 Feb 12
1
Avoiding Delete key function as 'Quit R' in Rterm when there are no characters in cursor line
On 2/9/24 21:39, Iago Gin? V?zquez wrote: > Duncan, do you think it's worth to comment this in R-devel list? Duncan filed a bug report via R bugzilla (thanks). There is no way to disable this functionality and it has existed for very long time, I tested that at least in R 3.0. Optionally ending the session was I believe intentional with Ctr...
2014 Jul 08
0
Re: [R-es] Consulta paquetización con versión R 3.1.0
Congratulations Eva I have been following this thread loosely. Well in the sense that I really didn't understand what was going on but hopefully thinking that I could learn something from it. Your approach to your particular setup didn't pay any attention to the heed by Duncan. So you hard headed (pig headed, stubborn as a monkey) wanted it to be your way. Now I guess you accidentally found the error you introduced between R-3.0.2 and R-3.1.0. Thank you for your persistent work that took you a step further to doing it all wrong in R. And thanks to Duncan for adding in...
2004 Nov 30
0
a better
> From: Martin Maechler <maechler@stat.math.ethz.ch> > > >>>>> "Duncan" == Duncan Murdoch <murdoch@stats.uwo.ca> > >>>>> on Sun, 28 Nov 2004 10:25:24 -0500 writes: > > Duncan> <........> > Duncan> <........> > > Duncan> We already have code to source() from the clipboard, and it could > Duncan> a...
2024 Feb 09
1
Avoiding Delete key function as 'Quit R' in Rterm when there are no characters in cursor line
Duncan, do you think it's worth to comment this in R-devel list? Iago ________________________________ De: CALUM POLWART <polc1410 at gmail.com> Enviat el: divendres, 9 de febrer de 2024 18:28 Per a: Duncan Murdoch <murdoch.duncan at gmail.com> A/c: Iago Gin? V?zquez <iago.gine at sjd...
2006 Jul 21
3
positive semi-definite matrix
I have a covariance matrix that is not positive semi-definite matrix and I need it to be via some sort of adjustment. Is there any R routine or package to help me do this? Thanks, Roger [[alternative HTML version deleted]]