Displaying 20 results from an estimated 11000 matches similar to: "Levels and GLM"
2006 Jul 07
1
FW: Levels and GLM
One correction... since you are fitting a logistic model, it is
technically correct to say the "mean value of the linear predictor,"
instead of "mean response".
20 lashes for me.
Max
-----Original Message-----
From: Kuhn, Max
Sent: Friday, July 07, 2006 4:11 PM
To: 'r-help at stat.math.ethz.ch'
Subject: [R] Levels and GLM
jdrapp,
By default, R fits full rank
2010 Oct 29
2
Printing data.frame data: alternatives to print?
Hi,
I have a data frame with two factors (well, more, but 2 for simple
consideration), and I want to display the different combinations of
the them that actually occur in the data. In reality, there are too
many of them to do to do a 'table' call and have one col vertical and
one col horizontal (I don't want any of the factors listed
horizontally). Before I try to write a function
2016 Dec 19
2
[lld] RFC: Finding shared libraries on OpenBSD
On OpenBSD we still use the "classic" SunOS 4 shared library
versioning scheme where the major and minor number are part of the
library name (and recorded in DT_NEEDED entries). For example the
shared libc on the OpenBSD-current is named libc.so.89.2. With this
scheme, linker has to pick the pick the library with the highest major
and minor (within the highest major version); the
2016 Dec 20
0
[lld] RFC: Finding shared libraries on OpenBSD
Hi Mark,
If we have to do this, or LLD doesn't work on OpenBSD, I think we need to
do this. But can I ask one question? I wonder why OpenBSD systems don't
have symbolic links unlike the other Unix-like systems in the first place.
On Mon, Dec 19, 2016 at 2:27 PM, Mark Kettenis via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> On OpenBSD we still use the "classic"
2001 May 16
7
Naive Bayes Classifier
Dear r-users,
I am looking for an implementation of the Naive Bayes classifier for a
multi-class classification problem. I can not even find the Naive Bayes
classifier for two classes, though I can not believe it is not
available. Can anyone help me?
Uschi
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2003 Sep 17
5
Quit asking me if I want to save the workspace!
How do you stop R from putting up a dialog box when you quit Rgui?
(I use Windows and I never save workspaces that way)
Murray
--
Dr Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html
Department of Statistics, University of Waikato, Hamilton, New Zealand
Email: maj at waikato.ac.nz Fax 7 838 4155
Phone +64 7 838 4773 wk +64 7 849 6486 home
2003 Jun 18
2
Forward stepwise procedure w/ stepAIC
I'm attempting to select a model using stepAIC. I want to use a forward
selection procedure. I have specified a "scope" option, but must not be
understanding how this works. My results indicate that the procedure begins
and ends with the "full" model (i.e., all 17 independent variables)...not
what I expected. Could someone please point out what I'm not
2003 Sep 23
2
R-project [.com?] [.net?]
I got a shock a few days ago when I accidentally visited
www.r-project.com . I thought that the r-project site had been hacked
until I realised my mistake. There is also a site www.r-project.net.
Both of these sites appear to be Japanese. Does anyone know anything
about them? I suppose that it is not unusual for names close to those of
popular sites to be used. It is good that they use a
2020 Jun 19
1
[v2v PATCH] libosinfo: declare autocleanup funcs with libosinfo < 1.8.0
libosinfo 1.8.0 declares them automatically for all of its classes, so
there is no need to declare ours. This requires fixing the definition of
the IS_LIBOSINFO_VERSION macro to wrap its body in brackets.
While in the process, simplify the workaround for a related bug by
removing a now-useless check.
---
v2v/libosinfo-c.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff
2006 Apr 14
5
vector-factor operation
I found myself wanting to average a vector [vec] within each level of a
factor [Fac], returning a vector of the same length as vec. After a
while I realised that
lm1 <- lm(vec ~ Fac)
fitted(lm1)
did what I want.
But there must be another way to do this, and it would be good to be
able to apply other functions than mean() in this way.
Cheers, Murray
--
Dr Murray Jorgensen
2007 Dec 05
2
Dimension of a vector
Consider the following:
> A <- 1:10
> A
[1] 1 2 3 4 5 6 7 8 9 10
> dim(A)
NULL
> dim(A) <- c(2,5)
> A
[,1] [,2] [,3] [,4] [,5]
[1,] 1 3 5 7 9
[2,] 2 4 6 8 10
> dim(A)
[1] 2 5
> dim(A) <- 10
> A
[1] 1 2 3 4 5 6 7 8 9 10
> dim(A)
[1] 10
Would it not make sense to have dim(A) = length(A) for all vectors?
2011 Jan 05
4
Converting Fortran or C++ etc to R
I'm going to try my hand at converting some Fortran programs to R. Does
anyone know of any good articles giving hints at such tasks? I will post
a selective summary of my gleanings.
Cheers, Murray
--
Dr Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html
Department of Statistics, University of Waikato, Hamilton, New Zealand
Email: maj at waikato.ac.nz
2003 Aug 20
5
Interlacing two vectors
I want to interlace two vectors. This I can do:
> x <- 1:4
> z <- x+0.5
> as.vector(t(cbind(x,z)))
[1] 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5
but this seems rather inelegant. Any suggestions?
Murray
--
Dr Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html
Department of Statistics, University of Waikato, Hamilton, New Zealand
Email: maj at waikato.ac.nz
2017 Jun 05
2
Backend implementation for an architecture with only majority operation instruction
Hey Sean,
So the processor does in-memory computing, it reads instructions and
operands from the memory array, performs the majority operations within the
memory array itself.
It does instructions using resistive majority which is AB'+B'C+AC
Like it does AND operation as
1: 0, 1, @C; //C=0
2: 0, 1, @Binv; //Binv=0
3: 1, @B, @Binv; //Binv=B
4: @A, @Binv, @C; //C=A.B
where each operation is
2001 May 22
2
MASS data sets
I'm running R 1.2.2 under windows 98 on a Pentium 133 laptop.
I can't seem to retrieve the package MASS data sets:
> library(MASS)
> data(wtloss)
Warning message:
Data set `wtloss' not found in: data(wtloss)
> data(abbey)
Warning message:
Data set `abbey' not found in: data(abbey)
And yet all the .rda files for the MASS datasets are in
D:\Program
2003 Dec 30
4
Assignments in loops
Greetings all. Any help with the following would be appreciated.
I want to create a data frame for each file in a directory. The following
code does not work but it may show what I am trying to do:
carmakes <- c('BMW','Chrysler','Citroen','Fiat','Ford','Holden','Honda',
2020 May 04
2
Win7 clients problem after upgrading samba file server to 4.12 on Arch
Forgot to add the tcpdump command used:
tcpdump -p -s 0 -n -w /root/tcpdump_all.txt
Pawel.
wt., 5 maj 2020 o 00:01 pavlos <pavlos.audiofreak at gmail.com> napisa?(a):
> OK, have repeated the test:
>
> - samba logs:
> http://www.mediafire.com/file/jy4qcyvqg6z39zu/logs.tar.gz/file
> - tcpdump log:
>
2004 Apr 21
2
Rgui front-end has encountered a problem and needs to close
Well I don't know if anyone can help with this but it will be
interesting to know if others have had the same problem.
I can't start R at home on my laptop [ I'm using 1.8.1 under Windows
XP]. When I click on the shortcut I get the usual Windows box for when
an application needs to close. A couple of clicks down it displays the
following:
Error signature
AppName: rgui.exe
2001 Nov 12
3
Plotting symbols
Has anyone got a cute way of compiling a table of the available plotting
symbols?
I've been repeatedly pasting in
cno <- cno + 1
cno
plot(x,y,pch=cno)
which is tedious, and besides I have to note down the symbols by hand.
Dr Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html
Department of Statistics, University of Waikato, Hamilton, New Zealand
Email: maj at
2002 Dec 03
2
Array multiplication
I wanted a sort of matrix product of an array and a matrix.
As there does not seem to be any array multiplication apart from outer()
I proceeded as follows:
lambda <- array(0, c(n,m,d))
# stuff omitted
# zed is an n by m matrix
#
# \lamb.star_{ik}
lamb.star <- matrix(0, nrow=n, ncol=d)
for (i in 1:n) {
for (k in 1:d) {
for (j in 1:m) {
lamb.star[i,k] = lamb.star[i,k] +