Displaying 20 results from an estimated 900 matches similar to: "Questions about generating samples in R"
2006 Dec 07
2
Simulation in R
Hello!
I have the following problem.
My code:
--snip--
ergebnisse <- rep(0, each=2)
stichproben <- rep(0, each=2)
for (i in seq(1:2)) {
n <- dim(daten)[1]
ix <- sample(n,200) # producing samples
samp_i <- daten[ix,]
stichproben[i] <- samp_i # doesn???t works
# Calculation of the model:
posterior_i <- MCMClogit(y ~ fbl.ind + fekq3 + febitda4 + fuvs + fkru +
2006 Dec 07
1
Simulation in R - Part 2
Hello!
So, the simulation works (drawing 100 samples and then calculate the
model for each sample). Here is the code:
--snip--
# sample size n=200
ergebnisse200 <- rep(0, each=100)
stichproben200 <- vector(?list?, 100)
default200 <- rep(0, each=100)
for (i in seq(1:100)) {
n <- dim(daten)[1]
ix <- sample(n,200)
samp_i <- daten[ix,] # draw samples
y <- sum(samp_i$y)
2005 Nov 06
5
Human readable output
Hello,
I would like to suggest an option to rsync that makes it output sizes
in human readable units, instead of always using bytes. So
Total file size: 30864401502 bytes
would be output as:
Total file size: 28.7 GiB
Similarly for mebibytes and kibibytes.
If there's already such an option, then I'm sorry -- I didn't find it
in the manual pages.
--
Martin Geisler
2003 Oct 22
1
issue with large number of files
Hi,
I use rsync to syncronize two systems.
There are 2 million + files.
My problem is
1. rsync is very slow (it needs more than 48 hours)
2. rsync needs too much RAM (ca. 750 MByte on each server)
The backup software needs 14 hours including file transfer to the backup
server for full backup.
My configuration:
1. Server Dual-XEON with 2 GB RAM.
2. Server Dual-PIII with 2 GB RAM.
The partition
2009 Jan 12
3
[LLVMdev] IR code generation and JIT execution in a multithread environment
On Jan 12, 2009, at 11:10, Edgar Geisler wrote:
> my goal is to create a service with multiple threads, each of them
> generating IR code and JIT'ing/executing it in their threads and
> some threads will share generated code through a code repository...
Hi Edgar,
Module and Value are unsafe for concurrent access--even disjoint
instances thereof. So you'll need to hold a
2009 Jan 13
0
[LLVMdev] IR code generation and JIT execution in a multithread environment
On Jan 12, 2009, at 8:10 AM, Edgar Geisler wrote:
> Hi Everyone,
>
> my goal is to create a service with multiple threads, each of them
> generating IR code and JIT'ing/executing it in their threads
> and some threads will share generated code through a code
> repository...
>
> 1. Is there a guideline/docu out there, which describes
> serialization of
> some
2009 Jul 20
0
No subject
need transcoding to a|ulaw.
I am using it with no problems (have g729 licenses as well though).
A bit off topic, I have found some extra configuration that is not really in
the docs (or I could not find them):
fullname=Your full name
country=gr
language=en
city=City
province=Province
phone_home=+fullinternationalnumber
phone_office=+fullinternationalnumber
email=your at email.com
2005 Nov 08
2
two way synchronization with rsync?
I have two offices in one city; employees work in both of them (once in
office A, the next or an hour later in office B etc.).
They would like to have the same profile (i.e., if they log off in
office A, they would like to have their documents, Desktop, emails etc.
in the profile in the office B when they arrive there an hour later).
Is it possible with rsync to construct such a "two way
2005 Nov 24
2
Help me with this Questiions
I would like to understand the capabilities of GNU rsync software /
utility. This is used for syncing file systems / file level data across
two systems. I specifically would like to know its capabilities in
syncing files ?
1) How does it replicate data changes to files ? entire file or only
the incremental blocks?
2) Does it have any block level replication capabilities?
3) Can it
2009 Jan 12
0
[LLVMdev] IR code generation and JIT execution in a multithread environment
Hi Everyone,
my goal is to create a service with multiple threads, each of them
generating IR code and JIT'ing/executing it in their threads
and some threads will share generated code through a code repository...
1. Is there a guideline/docu out there, which describes serialization of
some LLVM objects,
especially llvm::ExecutionEngine, llvm::ModuleProvider, llvm::Module?
2. Since
2009 Jan 12
0
[LLVMdev] IR code generation and JIT execution in a multithread environment
Quick related Q:
Does the global lock of the JIT during code generation prevent
concurrent execution of already JIT-ted code?
Thanks.
On Jan 12, 2009, at 9:34 AM, Gordon Henriksen wrote:
> On Jan 12, 2009, at 11:10, Edgar Geisler wrote:
>
>> my goal is to create a service with multiple threads, each of them
>> generating IR code and JIT'ing/executing it in their threads
2003 Apr 17
3
mpg123 hangs on close, but plays fine.
I am running Asterisk CVS-04/16/03-18:57:13, and mpg123-0.59r
It all sounds great and it plays at the correct pitch and speed. However
at the end of the file it simply does nothing. It does not go on the
the next step in the extension.conf nor does it hang up. It just sits
there.
During play I have two processes running for the mp3 stream:
root 6300 6299 8 22:32 ?
2011 Nov 28
3
setting up a "server"
Hi,
I have the install guide and the admin guide....nothing in either that I can see from the contents pages tells me how to create the first "server" ( I assume that is what I have to do?)
Is there another doc Im missing? or a good URL for a howto on a redhat based machine?
Also from what I can see the "free" version is cli only?
and there is no virtual (vmware) appliance?
2012 Sep 20
2
Variance Inflation Factor VIC() with a matrix
Hi everyone,
Running the vif() function from the car package like
----------------------------------------------------
> reg2 <- lm(CARsPur~Delay_max10+LawChange+MarketTrend_20d+MultiTrade,
data=data.frame(VarVecPur))
> vif(reg2)
Delay_max10 LawChange MarketTrend_20d MultiTrade
1.010572 1.009874 1.004278 1.003351
2004 Mar 08
7
[Bug 811] locked /etc/shadow password prefix on linux
http://bugzilla.mindrot.org/show_bug.cgi?id=811
Summary: locked /etc/shadow password prefix on linux
Product: Portable OpenSSH
Version: 3.8p1
Platform: All
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: sshd
AssignedTo: openssh-bugs at mindrot.org
ReportedBy:
2011 Dec 31
1
Histogram omitting/collapsing groups
I have two large datasets (156K and 2.06M records). Each row has the
hour that an event happened, represented by an integer from 0 to 23.
R's histogram is combining some data.
Here's the command I ran to get the histogram:
> histinfo <- hist(crashes$hour, right=FALSE)
Here's histinfo:
> histinfo
$breaks
?[1] ?0 ?1 ?2 ?3 ?4 ?5 ?6 ?7 ?8 ?9 10 11 12 13 14 15 16 17 18 19 20 21
2018 May 24
2
Tabla dinamica R
Hola!
Solicito ayuda con un data frame relativamente grande ¿? del cual necesito
generar una tabla dinámica a la manera excel.
Si me pueden referenciar algún comando, paquete, pagina web y/o cualquier
ayuda que me puedan dar será muy bienvenida.
Lo que tengo que hacer es pasar de algo así:
NombreMunicipio NombreProvincia Categoria idMedicamento CodMedicamento
CodMedicamentoOL UnidadesEnvSec
2001 Nov 17
3
2.2.2 runaway SMBD process
Hello,
I am running Samba 2.2.2 with acl-0.7.16 on RedHat 6.2 (2.2.19). The PDC is
a Windows 2000 Server and the Samba server is a domain member using Winbind.
All the workstations are Windoze 2000 Pro with SP2.
Everything seemingly works fine but every day or two I get a runaway SMBD
process which hogs the CPU and becomes unkillable. The only resolution is
to reboot the server completely.
2009 Nov 04
4
read.table (again)
Dear R commnuity,
Thanks a lot for your help.
I want to read in tables, the problem is that the table is composed in a
difficult way. In ariginal it looks like this:
669 736 842101610481029114711811166124312081128117611221026 9581024 992
685 720 829 925 995 96010241057116611501104106410711092 983 908 989 904
924 896 882 897 909 933 928 907 916 902
546 734 784 868 970 954
2010 May 24
2
AM/PM strptime %p failing 2.11.0 WinXP
I am attempting to import dates in the following format to R:
5/20/2010 6:45:32 PM
Unfortunately I am unable to get the AM/PM function (%p) to work correctly
under either 2.11.0 or 2.8.1.
> strptime("5/20/2010 6:45:32 PM", "%m/%d/%Y %I:%M:%S %p")
[1] NA
but
> strptime("5/20/2010 6:45:32", "%m/%d/%Y %I:%M:%S")
[1] "2010-05-20 06:45:32"