Displaying 20 results from an estimated 70 matches similar to: "error with effects package."
2012 Sep 04
5
Associations and Math between Models
I''ve setup two models, 1 and 2, that are associated by
has_and_belongs_to_many. I''m trying to get an attribute from model_1 to use
in a method in model_2. When I use the code below, I get an error saying
''undefined method model_1_id''. What am I missing? Thanks!
Model_2.rb
Class Model_2 < ActiveRecord::Base
...
has_and_belongs_to_many :model_1
def
2005 Aug 15
1
error in predict glm (new levels cause problems)
Dear R-helpers,
I try to perform glm's with negative binomial distributed data.
So I use the MASS library and the commands:
model_1 = glm.nb(response ~ y1 + y2 + ...+ yi, data = data.frame)
and
predict(model_1, newdata = data.frame)
So far, I think everything should be ok.
But when I want to perform a glm with a subset of the data,
I run into an error message as soon as I want to predict
2006 Aug 26
1
problems with loop
Dear all,
I am trying to evaluate the optimisation behaviour of a function. Originally
I have optimised a model with real data and got a set of parameters. Now I
am creating simulated data sets based on these estimates. With these
simulations I am estimating the parameters again to see how variable the
estimation is. To this end I have written a loop which should generate a new
simulated data
2005 Aug 16
1
predict nbinomial glm
Dear R-helpers,
let us assume, that I have the following dataset:
a <- rnbinom(200, 1, 0.5)
b <- (1:200)
c <- (30:229)
d <- rep(c("q", "r", "s", "t"), rep(50,4))
data_frame <- data.frame(a,b,c,d)
In a first step I run a glm.nb (full code is given at the end of this mail) and
want to predict my response variable a.
In a second step, I would
2006 Jul 28
2
negative binomial lmer
To whom it may concern:
I have a question about how to appropriately conduct an lmer analysis for negative binomially distributed data. I am using R 2.2.1 on a windows machine.
I am trying to conduct an analysis using lmer (for non-normally distributed data and both random and fixed effects) for negative binomially distributed data. To do this, I have been using maximum likelihood,
2009 Jun 26
1
Alternate error structures in lme4?
Hi R users,
The nlme library enabled several alternate error structures useful for
longitudinal or repeated-measures data. For example, a continuous AR(1)
process:
model_2 = update(model_1, correlation = corCAR1(form = ~ time | subject))
Does anybody know if this is available in lme4?
Thank you
Ben
--
View this message in context:
2005 Dec 05
3
Noob Question about databases in rails
Ok,
This sounds like it should be easy but I am having a hard time with it.
I am making a website but I''m trying to make everything in it fairly
database driven, this is really pretty much my first rails project.
I have a table called ''nav_items'' to display the nav choices, but there
is also other dynamic data on the homepage such as the ''events''
2007 Aug 20
1
Q: combine 2 data frames with missing values
Een ingesloten tekst met niet-gespecificeerde tekenset is
van het bericht gescrubt ...
Naam: niet beschikbaar
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070820/920567a6/attachment.pl
1997 Oct 20
3
No subject
Hi,
I am currently trying to switch from Splus to R and I would like to know
whether there is a way of transfering Splus objects stored on disk into the R
environment. In Splus I would do this using the function get, e.g., foo <-
get(foo,where="dirname") where dirname is the name of a directory containing
the Splus objects. In R, argument 'where' of function get appears to
2002 Aug 14
0
re: using mac-addr for selecting configfile now working
Hi everybody
hacking in the 200-pre4 i found everything i needed, so i gave it a try ...
and it works! But dont blame for the code, its just quick and dirty!
--- ../syslinux-2.00-pre4/pxelinux.asm Sat Jun 15 07:25:51 2002
+++ ./pxelinux.asm Wed Aug 14 10:05:00 2002
@@ -17,6 +17,11 @@
; version; incorporated herein by reference.
;
;
2007 Feb 02
1
Copy/Paste Emacs & gnome-terminal
Hello
We use CentOS 4.4 but we have some problems to copy test
from Emacs to a gnome-terminal. It does not work !!
It's ok from Xemacs.
emacs-common-21.3-19.EL.4
xemacs-common-21.4.15-10.EL.1
Any idea ?
cc
**************************************************************************
Christophe Caron - INRA | T?l: (+33) 013465 2888
Mathematique, Informatique et Genome| Fax: (+33)
2008 Apr 22
1
(PR#11240)
Hi,
I have a mac OS X 10.4.11.
Since I have updated R (version 2.6.2) I have a bug with the console:=20=20
when R is busy and I want to stop the computation, I click on "STOP"=20=20
and then R does not respond anymore (I have to kill it). I had no=20=20
problem with my previous version.
For information, I have downloaded R-2.6.2-mini.dmg
regards,
Christophe.
---
Ma=EEtre de
2010 Jan 15
14
Backing up a ZFS pool
What is the best way to back up a zfs pool for recovery? Recover entire pool or files from a pool... Would you use snapshots and clones?
I would like to move the "backup" to a different disk and not use tapes.
suggestions??
TIA --Kenny
--
This message posted from opensolaris.org
2003 Nov 03
2
problem building MS-Windows package under linux
hi there,
trying to follow the steps of Yan & Rossini 2003, I have two problems
:
first when I 'make CrossCompileBuild', I get :
******************************************************************************
make[1]: Entering directory `/home/ros/RWORK/CROSSSOMP/WinR/R-1.8.0/src/gnuwin32'
make -f Makefile.docfiles
make[2]: Entering directory
2003 Jan 13
0
PXELINUX
Hello Peter Anvin
Verry good job your PXELINUX. I toke your PXELINUX and made the changes posted
from Hans-Werner Jouy.
http://www.zytor.com/pipermail/syslinux/2002-August/000757.html
It's really great!
Thanks
Roberto Rotondo
from Switzerland
2005 Nov 17
1
Samba cannot cancel job (for Jerry)
Hi Jerry!
Please excuse me, I had problems for few months at work and I don't reply
to you.
I didn't solve "remote downlevel document" problem.
I'm using samba 3.0.14a (debian sarge package).
Can you help me?
Thanks,
Fabio
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
fabio.marcone at duet.it wrote:
> Hi!
>
> I'm testing a printer server samba+cups. I set
2007 Nov 22
7
Problem Installing RMagick with Instant Rails on Windows
I''m running Instant Rails 1.4 on Windows XP with SP2.
I have downloaded the Windows binary version of RMagick from the
RubyForge page.
Specifically, I have downloaded:
1.14.1 binary gem for Ruby 1.8.5 (fixed for RubyGems 0.9.4)
RMagick-1.14.1_IM-6.3.0-7-Q8-2.zip
I have removed any older versions of RMagick using:
gem uninstall RMagick
I have updated my version of rubygems.
I
2010 May 20
13
send/recv over ssh
I know i''m probably doing something REALLY stupid.....but for some reason i
can''t get send/recv to work over ssh. I just built a new media server and
i''d like to move a few filesystem from my old server to my new server but
for some reason i keep getting strange errors...
At first i''d see something like this:
pfexec: can''t get real path of
2009 Aug 25
41
snv_110 -> snv_121 produces checksum errors on Raid-Z pool
I have a 5-500GB disk Raid-Z pool that has been producing checksum errors right after upgrading SXCE to build 121. They seem to be randomly occurring on all 5 disks, so it doesn''t look like a disk failure situation.
Repeatingly running a scrub on the pools randomly repairs between 20 and a few hundred checksum errors.
Since I hadn''t physically touched the machine, it seems a
2003 Nov 03
10
USA map
R users,
In S, there was a function called usa() that
would draw the map of the United States, plus
it had other options for graphics. I have looked
but I can't find the equivalent in R. Is there one?
Thanks,
Jason