Displaying 20 results from an estimated 200 matches similar to: "Hep on using GAM() in R"
2007 Dec 13
1
Probelms on using gam(mgcv)
Dear all,
Following the help from gam(mgcv) help page, i tried to analyze my
dataset with all the default arguments. Unfortunately, it can't be run
successfully. I list the errors below.
#m.gam<-gam(mark~s(x,y)+s(lstday2004)+s(slope)+s(ndvi2004)+s(elevation)+s(disbinary),family=binomial(logit),data=point)
2007 Dec 13
1
Two repeated warnings when runing gam(mgcv) to analyze my dataset?
Dear all,
I run the GAMs (generalized additive models) in gam(mgcv) using the
following codes.
m.gam
<-gam(mark~s(x)+s(y)+s(lstday2004)+s(ndvi2004)+s(slope)+s(elevation)+disbinary,family=binomial(logit),data=point)
And two repeated warnings appeared.
Warnings$B!'(B
1: In gam.fit(G, family = G$family, control = control, gamma = gamma, ... :
Algorithm did not converge
2: In gam.fit(G,
2016 Apr 20
1
Use multiple cores on Linux
I am trying to run the following code in R on a Linux cluster. I would like
to use the full processing power (specifying cores/nodes/memory). The code
essentially runs predictions based on a GAM regression and saves the
results as a CSV file for multiple sets of data (here I only show two).
Is it possible to run this code using HPC packages such as
Rmpi/snow/doParallel? Thank you!
2004 Oct 06
1
Foreign code problem
Hello,
I wanted to test the odesolve package and tried to use compiled C-code.
But when I do:
erg <- lsoda(y, times, "mond", parms, rtol, atol, tcrit=NULL, jacfunc=NULL,
verbose=FALSE, dllname="mond", hmin=0, hmax=Inf)
I get the error message:
Error in lsoda(y, times, "mond", parms, rtol, atol, tcrit = NULL,
jacfunc =
2005 Jul 27
4
odesolve/lsoda differences on Windows and Mac
Hi -
I am getting different results when I run the numerical integrator
function lsoda (odesolve package) on a Mac and a PC. I am trying to
simulating a system of 10 ODE's with two exogenous pulsed inputs to the
system, and have had reasonably good success with many model parameter
sets. Under some parameter sets, however, the simulations fail on the
Mac (see error message below). The
2011 Aug 13
1
How do I disable auto-logout ....
.... I have a 64-bit CentOS 5.6 VM running on a 64-bit FC14 host. I
notice that it has an automatic logout feature after a period of
idleness, see below:
[wam at centos-5, CFD, 5:52:45pm] 1183 % ll -tr LIST LIST.Update
/usr/local/bin/P* /usr/local/bin/*WAM* ; ps -u wam -lf ; uname -a ; date
ls: No match.
F S UID PID PPID C PRI NI P SZ:RSS WCHAN STIME
TTY TIME CMD
5 S
2012 Sep 25
1
minor swap issue ....
.... I have a CentOS 5.n VM running on a Fedora 14 server/host,
installed using virt-manager, pretty plain vanilla. I use it to compile
binaries to run under RHEL/CentOS 5.n OS. I occasionally notice that
when the VM gets paged out by the server, it takes several minutes to
get it back in :-/ (see below).
On the host, logged in to a shell through a terminal window, this A.M.:
[wam at Q6600,
2005 Apr 10
0
Samba problem under IRIX ....
.... I am using Samba 2.2.2 (from SGI freeware) under IRIX 6.5.20 very
successfully until a few weeks ago. I use it to backup my Gtw 1600 MHz
box using smbclient under cron for automated backups. I attach a small
file of error messages I am getting now. This worked (for months) when I
first set it up about 15-18 months ago. Unfortunately at some
indetermniate time in the recent past (a few
2024 Apr 15
0
地域児童への学習支援事業 WEB説明会
??????????????
????????????
???????????????????????
???????????????????
????????1???????????????????
9????????????????????
?????????????????
?4?25?????14:00?15:00????????
----------------------------------------------------------
?? ???????????????WEB????
??????????????????????
?????????????????????
????? ??????????????
?????????? ????? ?
???? https://wam-edu-fc.jp/wam2/
?
2004 Aug 06
2
gam --- a new contributed package
I have contributed a "gam" library to CRAN,
which implements "Generalized Additive Models".
This implementation follows closely the description in
the GAM chapter 7 of the "white" book "Statistical Models in S"
(Chambers & Hastie (eds), 1992, Wadsworth), as well as the philosophy
in "Generalized Additive Models" (Hastie & Tibshirani 1990,
2004 Aug 06
2
gam --- a new contributed package
I have contributed a "gam" library to CRAN,
which implements "Generalized Additive Models".
This implementation follows closely the description in
the GAM chapter 7 of the "white" book "Statistical Models in S"
(Chambers & Hastie (eds), 1992, Wadsworth), as well as the philosophy
in "Generalized Additive Models" (Hastie & Tibshirani 1990,
2013 Feb 06
0
adehabitatHR - Creating Biased Random Bridge UD with a boundary
Dear List,
It's the first time that I try to request your support.
I intent do use the BRB (Biased Random Bridge) function with a boundary.
I believe I have made sure to fulfill all the rules for boundaries (segment length, angle of junction)
When calculating the UD I get the following Error:
Error in adehabitatHR:::.fbboun(sor2, boundary, sigg, max(so$h)) : non convenient sign
Can
2005 Apr 06
0
Version 0.93 of GAM package on CRAN
I have posted an update to the GAM package. Note that this package
implements gam() as described
in the "White" S book (Statistical models in S). In particular, you can
fit models with lo() terms (local regression)
and/or s() terms (smoothing splines), mixed in, of course, with any
terms appropriate for glms.
A number of bugs in version 0.92 have been fixed; notably
1) some problems
2005 Apr 06
0
Version 0.93 of GAM package on CRAN
I have posted an update to the GAM package. Note that this package
implements gam() as described
in the "White" S book (Statistical models in S). In particular, you can
fit models with lo() terms (local regression)
and/or s() terms (smoothing splines), mixed in, of course, with any
terms appropriate for glms.
A number of bugs in version 0.92 have been fixed; notably
1) some problems
2004 Jun 14
1
olesolve: stepsize
Hi,
I am doing a project on the simulation of glucose metabolism based on a
pharmacokinetic modeling in which we have 4 differential equations. I did
this in R by using the odesolve package. It works very well, but I have two
questions:
Here is the odemodel function
_________________________________________________
Ogtt.Odemodel <- function(t, y, p) {
absx <- c(-60, -45, -30,
2011 Sep 12
1
hclust and cutree: identifying branches as classes
Good afternoon,
After cuting a hierarchical tree using cutree(), how to check correspondances between classes and branches?
This is what we do:
srndpchc <- hclust(dist(srndpc$x[1:1000,1:3]),method="ward") #creation of hierarchical tree
plclust(srndpchc,hmin=20000) #visualisation
srndpchc20000 = cutree(srndpchc,h=20000) #returns 4 classes
table(srndpchc20000 )
srndclass20000 =
2017 Aug 19
0
My very first loop!! I failed. May I have some start-up aid?
Thank you for providing the example code... for the request of running it
multiple times it would have helped if you could have confirmed that the
example ran through without errors... there were a lot of mistakes in it.
Look into using the reprex package to check your example next time.
I don't do this kind of analysis... I really don't know what to expect
from the functions. The
2011 Aug 10
1
Problems setting up a VM ....
.... New to this list & definitely new to virtualization :-/ .... I am
trying to setup a 64-bit CentOS 5.6 VM on a 64-bit FC14 server host, all
patched up as of a couple of weeks ago. uname -a on the host shows:
[wam at Q6600, CFD, 9:24:23am] 540 % uname -a
Linux Q6600 2.6.35.11-83.fc14.x86_64 #1 SMP Mon Feb 7 07:06:44 UTC 2011
x86_64 x86_64 x86_64 GNU/Linux
[wam at Q6600, CFD, 9:52:43am]
2008 Apr 09
3
LSODA not accurate when RK4 is; what's going on?
I'm solving the differential equation dy/dx = xy-1 with y(0) = sqrt(pi/2).
This can be used in computing the tail of the normal distribution.
(The actual solution is y(x) = exp(x^2/2) * Integral_x_inf {exp(-t^2/2) dt}
= Integral_0_inf {exp (-xt - t^2/2) dt}. For large x, y ~ 1/x, starting
around x~2.)
I'm testing both lsoda and rk4 from the package odesolve.
rk4 is accurate using step
2017 Aug 19
0
My very first loop!! I failed. May I have some start-up aid?
[answers inline]
On 18 August 2017 at 20:08, Dagmar <Ramgad82 at gmx.net> wrote:
>
> myframe<- data.frame (ID=c("Ernie", "Ernie","Ernie","Ernie"),
> Timestamp=c("24.09.2012 08:00", "24.09.2012 09:00", "24.09.2012 10:00",
> "25.09.2012 10:00"),