similar to: simulated data using empirical distribution

Displaying 20 results from an estimated 3000 matches similar to: "simulated data using empirical distribution"

2007 Dec 02
3
documenting yoru progress
Hello all: I have a function that writes a fairly elaborate report based on some survey data. For documentation and bookkeeping purposes, I'd like to write out in the report the function call that produced the report, or at least enough information to help me recreate the steps that led to that report. I've been generating all the reports with scripts, in order to be able to recreate
2007 Oct 15
1
avoiding a loop?
Hi All: I feel like there must be a slick R-native no-loop way to get the counts for the entries in a factor, but I'm unable to see how. Right now I'm doing this: hn.ent<-data.frame(rep(0,length(levels(hnf))), row.names=levels(hnf)) colnames(hn.ent)<-c("count") for (lev in levels(hnf)) { hn.ent[lev,"count"] <- sum(lev == hnf) } I'm sure there's a
2007 Nov 30
1
vector sprintf argument
Hello all: If I have a vector and a format, I want to do this: > A <- c(3,4,5) > F <- "Number: %d, %d, %d" > sprintf(F,A) This doesn't work because A isn't three arguments, it's just one. Is there a way to peel the vector members out of A so that sprintf can get at them? I would like to do this because I have a large set of variable-length data that
2007 Sep 27
1
curvilinear grid
Hello all: A question from a new user. I have data on a geo-referenced curvilinear grid. This is a grid with 75 rows and 51 columns, is not aligned north-south, and the rows and columns are not straight. (And the coordinates are in meters.) I want to make image plots of this data, but where the grid is deformed according to the correct locations of the grid points, instead of coming out
2007 Dec 20
1
data shape
Hello: I have been give a spreadsheet to work with formed as one big table. What it consists of is a 10-row-by-40-column table for each of about 70 different locations. In other words, the table row names are repeated 70 times, once for each of the locations (whose names also appear in the same column, where it's talking about the totals for that location), e.g.: A B C
2007 Nov 30
0
vector sprintf argument [SEC=UNCLASSIFIED]
Hi Tom, Try this: > G <- "Number: %s" > sprintf(G, toString(A)) [1] "Number: 3, 4, 5" Cheers Joe Joe Crombie Biosecurity and Information Sciences Bureau of Rural Science Canberra Australia p: +61 2 6272 5906 e: joe.crombie at brs.gov.au -----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of
2017 Oct 22
3
ASR Suggestions for small dictionnary (<1000 entries) lookup in France/french
Hello, I'm in the early stages of designing an Emergency calling service IVR application. The IVR application asks simple one or two questions like "which is the postal code of the area you are currently calling from ?" "Is the correct ?". The expected values are a 5-digits number like "twenty-five-thousand-two-hundreds-twelve" or
2006 Jan 16
3
Max Number of #include statements
What's the maximum number of #include statments I can have in extensions.conf? I'm getting an error at the 11th one. I tried breaking twelve #include's into 2 different contexts, and still got the same error. These aren't nested includes... they're only one level deep. Thanks, Doug.
2006 Jan 23
3
date.to_s trimming
When I convert a datetime to a string, it prints out something like this Jan 20 12:00:00 EST 2006 I want to trim off the last twelve characters, i.e. :00 EST 2006 I tried to do it like so: @date = @meeting.date.to_s.chomp.chomp.chomp.chomp.chomp.chomp.chomp.chomp.chomp.chomp.chomp.chomp but the chomps seem to do nothing. I''d love to use regex, but I don''t know which
2006 Mar 25
3
Rails and Lighttpd, hangs?
I know this is kind of a generic question. But, when hitting my lighttpd/rails site on some of the first hits, the site hangs. I think it has something with the lighttpd configuration, possibly something I am missing with rails or ruby? Any ideas or how to track this down. fastcgi.server = ( ".fcgi" => ( "0.0.0.0" => ( "socket" =>
2010 Sep 21
3
R-help Digest, Vol 91, Issue 21
All Is there a script in R equivalent to the "if then" transforms one can perform in Systat? For example, I want to create a "Treatment" column coded either 1 or 2 for twelve field sites in a large data set. Ideally, I'd be able to tell R to code sites a-f as 1 and sites g-l as 2. Cheers Kurt *************************************************************** Kurt Lewis
2008 Aug 29
2
non-parametric Anova and tukeyHSD
I have insect data from twelve sites and like most environmental data it is non-normal mostly. I would like to preform an anova and a means seperation like tukey's HSD in a nonparametric sense (on some sort of central tendency measure - median?). I am searching around at this time on the internet. Any suggestions, books, etc. would be greatly appreciated. -- Stephen Sefick Research
2005 Sep 19
1
new samba install
we have been trying to move our samba box to a faster server, with better NICs, faster processor and more memory. both the old and new server are using samba 3.0.14A both on debian based distributions (old was sarge, new is breezy) here are the steps we followed: install samba from the apt archives. confermed that they were the same version. copied smb.conf from old server to new server. changed
2018 Jan 09
2
Audio Output Timer Utility
We have several CentOS 6.x systems that are incorporated into suites of special test equipment.? One of the requirements for these systems is that they be kept up to date and they are kept up to date using yum once per week or more frequently, as needed. All of our CentOS 6.x systems have at least 2TB system disks and were installed with essentially everything that was available on the DVD at the
2019 Apr 01
3
Today is the last day of mediocre library call optimizations
To this day, we still do too little when it comes to optimizing well known library calls. Given that various libraries, especially the C/C++ standard library, are relatively clear defined, and LLVM has all the infrastructure already in place, e.g., SimplifyLibCalls.cpp, it seems odd that we still miss so many optimization opportunities. To show how easy it is, and how much impact it can have, I
2016 Feb 17
2
1000 analogue lines with asterisk
On Wed, Feb 17, 2016 at 8:14 AM, Mitul Limbani <mitul at enterux.in> wrote: > Sangoma 50 port FXS Thanks. Will I now stack 20 boxes in order to achieve the 1000 FXS lines? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160217/0d4c2800/attachment.html>
2004 Nov 11
2
RODBC & POSIX & Daylight Saving blues
Dear All, The recent improvement in RODBC to recognize datetimes in tables has exposed my ongoing confusion. All my data are obtained from a satellite system (Argos) which tags events in the GMT time zone. Daylight saving is ignored. To my way of thinking this means that 1. twelve-o-clock means halfway through the day regardless of season, and 2. the difftime of any two dates where
2018 Jan 31
1
Problems with "predict" function
Hello, I am synthesising some sales data over a twelve month period, and then trying to use the "predict" function, firstly to generate a thirteenth month forecast with upper and lower 95% confidence limits. So far so good But what I then want to do is add the upper sales value at the 95th confidence limit to the vector of thirteen months and their respective sales to create a
2003 Feb 26
2
na.action in model.tables and TukeyHSD
Hello everybody! I use R 1.6.2 in Windows, and have a problem controlling the na.action. In a dataset with twelve trials, one of the trials lack any readings of the variable "STS.SH" (standing power at harvest) Fitting an aov() object with the call: led1t7sts.aov <- aov(STS.SH ~ Trial/Block + Treatment + Treatment:Trial, data = led1t7, na.action=na.exclude) seems to work as it
2018 Feb 20
2
Take the maximum of every 12 columns
Don't do this (sorry Thierry)! max() already does this -- see ?max > x <- data.frame(a =rnorm(10), b = rnorm(10)) > max(x) [1] 1.799644 > max(sapply(x,max)) [1] 1.799644 Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic