Displaying 20 results from an estimated 800 matches similar to: "iterative proportional fitting"
2004 Sep 30
1
Vectorising and loop (was Re: optim "a log-likelihood function")
>From: Sundar Dorai-Raj <sundar.dorai-raj at PDF.COM>
>Reply-To: sundar.dorai-raj at PDF.COM
>To: Zhen Pang <nusbj at hotmail.com>
>CC: r-help at stat.math.ethz.ch
>Subject: Vectorising and loop (was Re: [R] optim "a log-likelihood
>function")
>Date: Wed, 29 Sep 2004 18:21:17 -0700
>
>
>
>Zhen Pang wrote:
>
>>
>>I also use
2004 Oct 16
7
sapply and loop
Dear all,
I am doing 200 times simulation. For each time, I generate a matrix and
define some function on this matrix to get a 6 dimension vector as my
results.
As the loop should be slow, I generate 200 matrice first, and save them into
a list named ma,
then I define zz<-sapply(ma, myfunction)
To my surprise, It almost costs me the same time to get my results if I
directly use a loop
2004 Oct 16
7
sapply and loop
Dear all,
I am doing 200 times simulation. For each time, I generate a matrix and
define some function on this matrix to get a 6 dimension vector as my
results.
As the loop should be slow, I generate 200 matrice first, and save them into
a list named ma,
then I define zz<-sapply(ma, myfunction)
To my surprise, It almost costs me the same time to get my results if I
directly use a loop
2004 Jul 21
2
Rose Diagrams
Hi,
Is it possible to create Rose Diagrams of wind data (speed & direction) with
R??
Best regards,
Lars Peters
-----
Lars Peters
University of Konstanz
Limnological Institute
D-78457 Konstanz
Germany
phone: +49 (0)7531 88-2930
fax: +49 (0)7531 88-3533
e-mail: Lars.Peters@Uni-Konstanz.de
web: Lars Peters
<http://www.uni-konstanz.de/sfb454/tp_eng/A1/doc/peters/peters.html>
2003 Oct 21
5
run R under linux
Dear all,
Our department uses the linux system and we are not allowed to submit job
directly. We must make a batch to submit through "qmon".
so, I make a foo.sh file, which only contains one line: nohup R --vanilla <
foo.txt > foo.results
foo is all my codes. It is a simulation of 200 times. I set the seed at the
beginning. It is to estimate the success probability, which is
2010 Jun 23
1
Estimate of variance and prediction for multiple linear regression
Hi, everyone,
Night. I have three questions about multiple linear regression in R.
Q1:
y=rnorm(10,mean=5)
x1=rnorm(10,mean=2)
x2=rnorm(10)
lin=lm(y~x1+x2)
summary(lin)
## In the summary, 'Residual standard error: 1.017 on 7 degrees of freedom',
1.017 is the estimate of the constance variance?
Q2:
beta0=lin$coefficients[1]
beta1=lin$coefficients[2]
beta2=lin$coefficients[3]
2008 May 23
2
Don't Understand Error Entry
I am using dovecot-0.99.11-8.EL4 on my system and decided to check the logs
since I just took over as the administrator on this system and I noticed the
same error entry over and over in the logs. I went to /var/log/dovecot.err
and see:
imap(rangry): May 22 13:33:31 Error: Error parsing IMAP envelope: "Thu, 20
Apr 2006 10:10:01 -0400" "Re: Hi there I have a question"
2012 Sep 19
7
Renaming Journey and avoiding libraries with common noun names
Hi all,
I know this is a long shot, but could renaming the "Journey" module please
be considered by those in a position to support it?
I''ve written an issue on this in the journey repo also:
https://github.com/rails/journey/issues/49
Essentially our project has a model named Journey, the same as Rails 3.2''s
new routing driver. As a consequence we can no longer
2015 Sep 09
3
APC BACK UPS 2200 model BZ2200BI-BR (New output
On Tue, 8 Sep 2015 22:25:54 -0400
Charles Lepple <clepple at gmail.com> wrote:
> @rpvelloso on Github suggested some changes (driver version v0.64)
> that should help with the initial sync:
>
> https://github.com/networkupstools/nut/commit/debc8e0280ea4de9a0db5ca34aa66705b285f61f
>
> It's the solis_debug branch on Github.
>
> Does that help? I'm concerned
2009 Oct 16
2
what's the R code for wavelet decomposition (Haar transformation)?
Dear all,
Using R function "dwt", it seems that I cannot specify the wavelet
transformation like Haar. What's the R code for wavelet decomposition
which allows me to specify Haar wavelet transformation? Of course, if it
can include "db2", that is even better. In general, I want an R function
like matlab code "dwt". Thanks in advance!
Zhen Li
2003 Oct 10
3
command line limit under unix?
Dear all,
I have made my testing program to run successfully under unix in the
background. However, my simulation work does not work. I read the
foo.results file, I found it only have part of my code and not any output I
want. Is there any line limit? My code is nearly 400 line. I can cut some of
them, but I want to know whether there is any limit or exactly the number of
limit is. Thanks.
2010 Aug 17
2
Independent variables omitted in lm and glm
Dear List,
Some independent variable were missing in calculation using lm and glm
(gaussian).
(X= Y1+Y2+…..+Y16, Independent number: 16 variable)
However, those variables did work well in cor(X, Y) respectively.
str(dataframe) was also run to ensure that the variables were all numbers.
Moreover, the missing variables were different in lm and glm.
In lm, 3 factors were not taken into
2006 May 22
2
sort the values of members and obtain their ranks within groups
Dear all,
I would like to sort the values of "member" for each group, and obtain a
variable to indicate its rank within the group.
For example, we have original dataset as follows:
df <- data.frame(group = c(rep(1, 3), rep(5, 3)),
member = c(30, 10, 22, 21, 44, 15))
group member
1 1 30
2 1 10
3 1 22
4 5 21
5 5 44
6 5 15
After
2023 May 31
11
[Bug 1685] New: Calling the nftnl_set_free function may trigger the "double free" problem.
https://bugzilla.netfilter.org/show_bug.cgi?id=1685
Bug ID: 1685
Summary: Calling the nftnl_set_free function may trigger the
"double free" problem.
Product: libnftnl
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: critical
Priority: P5
2019 Apr 25
2
How to use the pass 'Unroll and Jam'
Dear LLVM developers,
Recently I want to try the pass '-loop-unroll-and-jam' to observe how the
IR is transformed, but I don't see the IR changed after doing the following
steps.
Here are the details for preparing my experiment and I have tried the LLVM
6, 7 and 8:
1) Simple 2D array source code (loop.c) is given
```
#define M 32768
#define N 32768
double a[M][N], b[M][N],
2004 Oct 19
0
Question on Rprof(); was: Re: sapply and loop
Yes. It should have something to do with read/write permissions, but it is
not clear how it happens.
I can write file to C drive using R. I usually write my results matrix to a
txt file in C drive.
For Rprof(), the boot.out file can be created, but only with one line
sample.interval=20000
The situation is the same even if I specify the directory to the D
drive,where I have the full
2008 Jun 18
6
Please advise: sending out bogus gratuitous ARP packet from vna
I''ve implemented code to send out bogus gratuitous ARP packet from vna
in order to fix CR 6701114. The webrev is at:
http://jurassic.eng/net/consulte.prc/export/build/xvm-6701114/webrev
Some backgroud information (see CR 6701114 for more detail):
During live migration of an xVM domain from one dom0 to another, the
VNIC will be moved from one switch port to another. But, the
2011 Dec 29
3
imap be killed (core dump disabled)
Hello everybody,
When I modify the dovecot imap source ,in "src/imap/" dir, I meet the
Error below:
Error: child (imap) kill (core dump disabled).
In fact, I want to record the imap operation through dovecot. So, I
modify every source file in "src/imap/cmd-IMAP_OPERATION" ,when the imap
command function is executed, it will write to a file cur time and
operation.
Could you
2002 Sep 23
3
Rgui.exe crashes on startup (PR#2057)
Full_Name: Zhen Liu
Version: 1.5.1
OS: Window XP Home/Window NT 4.0
Submission from: (NULL) (205.142.0.75)
I have installed R-1.5.1 using SetupR.exe on both my home laptop (Sony Vaio
running Window XP Home) and in office (Compaq AP550 running Window NT 4.0), but
they shared the same problem. Both worked for a while, but then Rgui.exe crashed
on the startup, complains:
The exception
2009 Jan 15
5
why vlan tag is retained in promisc mode
In current Crossbow''s implementation, vlan tag seems to be
unconditionally retained for promisc mode listener even when
MAC_OPEN_FLAGS_TAG_DISABLE is not specified.
I saw comments in mac_rx_deliver() saying that this is deliberately
designed like this.
I''m wondering why we design it like this (choose not to respect
MAC_OPEN_FLAGS_TAG_DISABLE flag for promisc mode listener)?
Or