Displaying 20 results from an estimated 130 matches similar to: "Fwd: 'for Loop'"
2009 Mar 31
3
'for Loop'
Hello,
I'm trying to create a for loop for a data set, I have a list of results in this data set and I want to take the 1st two add them together and divide by the mean of the 1st to, then do the same for the 3rd and 4th values in the list and so on and each time return a value for the calculation on each pair.
Any help would be appreciated.
Thanks,
Al
[[alternative HTML version
2007 Dec 30
2
Patch: fragment reconstruction MMX for GCC
Hi again,
I measured my fragment reconstructions against the compiler output from
GCC and well - the new codes perform better, so I brushed up my gcc
inline assembler skills and made a port.
Code is here: http://torus.untergrund.net/code/mmxfrag.c
All routines perform much better now. Inter2 alone got a speedup of
factor 5 on Pentium-M. Athlon CPU's execute roughly 3 times faster.
2009 Jul 13
0
[PATCH server] remove vm forward vnc and vm host history
since the introduction of ovirt-vnc-proxy and the updating
of ovirt-viewer to user it the forward vnc functionality is
no longer necessary / and incompatable w/ the current system.
---
src/app/controllers/vm_controller.rb | 2 -
src/app/models/host.rb | 9 -
src/app/models/vm.rb | 36 ----
2003 Jul 31
3
using vcut on split ogg files
hi,
I am recording a continuous 24/7 broadcast using ecasound, oggenc and
cronolog.
because the broadcast is continuous and to not lose any data, I split up
the recorded stream into a file for every 30 minutes using cronolog
(http://www.cronolog.org).
o the chain looks like the following:
ecasound | oggenc | cronolog
the problem is the following, because the oggfiles are split, they lack
a
2004 Sep 30
1
polr (MASS) and lrm (Design) differences in tests of statistical signifcance
Greetings:
I'm running R-1.9.1 on Fedora Core 2 Linux.
I tested a proportional odds logistic regression with MASS's polr and
Design's lrm. Parameter estimates between the 2 are consistent, but the
standard errors are quite different, and the conclusions from the t and
Wald tests are dramatically different. I cranked the "abstol" argument
up quite a bit in the polr
2011 May 15
5
Question on approximations of full logistic regression model
Hi,
I am trying to construct a logistic regression model from my data (104
patients and 25 events). I build a full model consisting of five
predictors with the use of penalization by rms package (lrm, pentrace
etc) because of events per variable issue. Then, I tried to approximate
the full model by step-down technique predicting L from all of the
componet variables using ordinary least squares
2018 Feb 12
0
FreeBSD Core dump: PAM authentication with Kerberos credentials (GSSAPI_MIT)
Hi!
Can you attempt to get core dump with debugging symbols with dovecot too? Currently it seems to only contain symbols from kerberos bit, which is not very useful on it's own.
Aki
> On 12 February 2018 at 17:34 Ben Woods <woodsb02 at gmail.com> wrote:
>
>
> Hi everyone,
>
> I have a repeatable core dump when running dovecot on FreeBSD in the
> specific
2018 Feb 12
3
FreeBSD Core dump: PAM authentication with Kerberos credentials (GSSAPI_MIT)
Hi everyone,
I have a repeatable core dump when running dovecot on FreeBSD in the
specific scenario described below.
Dovecot is linked against MIT kerberos in /usr/local/lib/, whilst PAM is
linked against Heimdal in /usr/lib/.
My expectation was that dovecot authentication using GSSAPI would use MIT
kerberos in /usr/local/lib, whereas PAM authentication is independent from
dovecot and would
2006 Mar 17
1
Fatal trap 12: page fault while in kernel mode / current process=12 (swi1: net)
this is 6.0-STABLE as for Mar 17.
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.1-PRERELEASE #2: Fri Mar 17 11:05:32 UTC 2006
vlad@host:/usr/src/sys/amd64/compile/DEF_WEB
Timecounter
2013 Feb 15
0
CVlim
Can anyone help explain to me why the two codes below have different result? I thought I can use log(time)~. to replace log(time)~dist+climb+timef.I am using CVlm from DAAG package. I think nihills is preloaded with the package. Thanks in advance.
> CVlm(df=nihills, form.lm=formula(log(time)~.),plotit="Observed",m=2)Analysis of Variance Table
Response: log(time) Df Sum Sq
2014 Jun 26
1
Another Crash in service imap with version 2.2.13 - Debian Wheezy
Hi,
yesterday I updated my second server from Debian Squeeze to Debian Wheezy.
Since todaay I get the followinig errors in my logs:
Error-Log:
...
Jun 26 09:08:28 mailstore dovecot: imap(user at domain.net pid:28898 session:<iuMX3Lf8fACXLrFC>): Fatal: master: service(imap): child 28898 killed with
signal 11 (core dumped)
...
Mail-log
...
Jun 26 09:08:28 mailstore dovecot: imap-login: ID
2009 Mar 18
24
rename(2), atomicity, crashes and fsync()
Hi all,
Recently there''s been discussion [1] in the Linux community about how
filesystems should deal with rename(2), particularly in the case of a crash.
ext4 was found to truncate files after a crash, that had been written with
open("foo.tmp"), write(), close() and then rename("foo.tmp", "foo"). This is
because ext4 uses delayed allocation and may not
2010 Jul 12
3
Continuing on with a loop when there's a failure
Hi R sages,
Here is my latest problem. Consider the following toy example:
x <- read.table(textConnection("y1 y2 y3 x1 x2
indv.1 bagels donuts bagels 4 6
indv.2 donuts donuts donuts 5 1
indv.3 donuts donuts donuts 1 10
indv.4 donuts donuts donuts 10 9
indv.5 bagels donuts bagels 0 2
indv.6 bagels donuts bagels 2 9
indv.7 bagels donuts bagels 8 5
indv.8 bagels donuts bagels 4 1
indv.9
2012 Aug 09
1
Factor moderators in metafor
I'm puzzled by the behaviour of factors in rma models, see example and
comments below. I'm sure there's a simple explanation but can't see it...
Thanks for any input
John Hodgson
------------------------------------- code/selected output -----------------
library(metafor)
## Set up data (from Lenters et al A Meta-analysis of Asbestos and Lung
Cancer...
##
2007 Apr 13
3
apply problem
Dear R-Help
I am running apply on a data.frame containing factors and numeric
columns. It appears to convert are columns into as.character? Does it
convert data.frame into matrix? Is this expected? I wish it to recognise
numerical columns and round numbers. Can I use another function instead
of apply, or should I use a for loop in the case?
> summary(xmat)
A B
2009 Feb 11
2
Linear model
I want to know how accurate are the p-values when you do linear regression in
R?
I was looking at the variable x3 and the t=10.843 and the corresponding
p-value=2e-16 which is the same p-value for the intercept where the t-value
for the intercept is 48.402.
I tried to calculate the p-value in R and I got 0
x<-2*(1-pt(10.843,2838))
> x
[1] 0
> G<-lm(y~x1+x2+x3+x4+x5)
>
2004 Oct 26
1
Newbie question about the use of lm and anova
Version of R: Windows Version 2.0.0
The experimental design contains two plant lines - a control (C) and a
mutant (M) - grown out three separate times in plots A, B, C.
The design is unbalanced:
In plot A, 9 control plants were grown with 29 mutant plants.
In plot B, 8 control plants were grown with 20 mutant plants.
In plot C, 8 control plants were grown with 22 mutant plants.
The
2005 Dec 06
3
reading in data with variable length
I have very large csv files (up to 1GB each of ASCII text). I'd like to be able to read them directly in to R. The problem I am having is with the variable length of the data in each record.
Here's a (simplified) example:
$ cat foo.csv
Name,Start Month,Data
Foo,10,-0.5615,2.3065,0.1589,-0.3649,1.5955
2010 Aug 15
1
Paired t-tests
Hello List,
I'm trying to do a paired t-test, and I'm wondering if it's consistent
with equations. I have a dataset that has a response and two
treatments (here's an example):
ID trt order resp
17 1 0 1 0.0037513592
18 2 0 1 0.0118723051
19 4 0 1 0.0002610251
20 5 0 1 -0.0077951450
21 6 0 1 0.0022339952
22 7 0 2
2008 Aug 21
1
summary.lme and anova question
Dear all,
When analyzing data from a climate change experiment using linear mixed-effects models, I recently
came across a situation where:
- the summary(model) showed a significant difference between the levels of a two-level factor,
- while the anova(model) showed no significance for that factor (see below).
My question now is: Is the anova.lme() approach correct for that model? And why does