Displaying 20 results from an estimated 9000 matches similar to: "Polynomial Distributed Lags?"
1999 May 24
1
sum(is.na(c(...)) -> negative number; bug or feature?
As I understand it, sum() treats a logical vectors as 1's and 0's, so
that
> is.logical(c(FALSE,TRUE,FALSE))
[1] TRUE
> sum(c(FALSE,TRUE,FALSE))
[1] 1
However, summing the results of an is.na() yields a
negative number. Eg
> is.na(c(1,NA,3))
[1] FALSE TRUE FALSE
> is.logical(is.na(c(1,NA,3)))
[1] TRUE
> sum(is.na(c(1,NA,3)))
[1] -1
(This is from R Version 0.64.0,
1999 Apr 19
1
Algorithm used by glm, family=binomial?
Does anyone know what algorithm R uses in glm, family=binomial (i.e. a
logit model)?
I assume that it's in the source somewhere, but I wasn't able to find
it. I'd like to know
what file it's in (in a unix distribution of R).
Thanks for your help.
---------------------------
Barnet Wagman
wagman at enteract.com
1361 N. Hoyne, 2nd floor
Chicago, IL 60622
773-645-8369
1999 Apr 25
1
Catching errors?
Is there anyway (other than 'repeat'') of catching the errors that R
throws?
Thanks,
-------------------
Barnet Wagman
wagman at enteract.com
773-645-8369
1361 N. Hoyne
Chicago, IL 60622
--------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send
1999 Apr 25
1
Neophyte question re using dyn.load and accessing c functions
I'm have what's probably a trivial &| silly problem trying to access a
c-function in a shared
library ( R 0.64, under redhat linux 5.2).
R COMPILE rctest.c
R SHLIB -o libRC.so rctest.o
produce a reasonable looking shared library ('nm libRC.so' shows that
the function 'rctest' is present).
In R, the command
dyn.load("/fullpathname/libRC.so")
1999 Apr 30
1
Question on the idiom: start <- coef; start[fit$pivot] <- coef
I wonder if someone could explain how the following R idiom works (it's
used in
glm.fit).
start <- coef
start[fit$pivot] <- coef
coef is a vector of coefficients, set by .Fortran("dqrls", ...).
fit$pivot is a vector of integer indexes (indicating how dqrls permuted
the columns
of x). If coef has n elements, fit$pivot is a permutation of seq(1,5).
start[fit$pivot]
1999 Apr 19
2
A couple problems installing 0.64 (under linux, redhat 5.2)
I'm encountering a couple problems configuring and making R 0.64 under
linux, redhat 5.2
These problems didn't occur when I build 0.63.2
Any suggestions would be greatly appreciated.
(1) configure generates the warning:
"configure: warning: Cannot determine how to create shared libraries.
Please set CPICFLAGS, FPICFLAGS and SHLIBLDFLAGS in `config.site'."
I'm not
2004 Apr 16
1
Distributed lag model
Has anyone writtent an R function for estimating linear
models with distributed lags(using matrix algebra)?
Y(t) = Bo + B1Xt-1+ B2Xt-2+e
Thanks,
---------------------------------
[[alternative HTML version deleted]]
2003 Oct 21
2
Polynomial lags
Does anybody know if there is a built in fuction to use create polynomial
distributed lags (sometimed called Almon lag) on linear models?
Thanks
Francisco
_________________________________________________________________
See when your friends are online with MSN Messenger 6.0. Download it now
2004 Apr 16
0
estimate distributed lag model using matrix algebra
Has anyone writtent an R function for estimating linear
models with distributed lags(using matrix algebra)?
Yt=B0+S j=1j=10 Xt-j+e
Thanks a lot!
---------------------------------
[[alternative HTML version deleted]]
2016 Mar 23
0
Fwd: Re: r-base installation fails on Ubuntu 14.04
He was suggesting to upgrade to 15.10 if you needed the newer fortran
for some reason (or other newer things only in backports or not even there).
I also mostly run LTS versions of Ubuntu, especially in my research
group where I manage our cloud/servers. Which also matches the computer
cluster available to me. That said I also stick to the stock packages
for all the basic underlying libraries
2003 Oct 19
1
Running RMySQL with SuSE 8.2?
Since there doesn't appear to be an RMySQL rpm for SuSE 8.*, does
anyone know if the 7.3 version will work with the SuSE 8.2 rpms of R and
DBI?
The package installs without complaint, but when I try to run
con <- dbConnect(dbDriver("MySQL"),dbname="test")
I get the error
Error in dbConnect(dbDriver("MySQL")) : couldn't find function
2003 Oct 21
1
Patches for DBI/RMySQL "valueClass" problem?
According David Jame's response to my earlier question, there is a
problem with setGeneric.setMethod in R 1.8.0 that affects DBI and RMySQL.
Is there a fix for this? David Jame's refers to an 'R-patched version'
but I haven't seen anything like this on CRAN. Would going back to an
older version of R solve the problem?
Thanks,
Barnet Wagman
"David James wrote:
2003 Oct 23
1
Can you create a MySQL database with RMySQL?
Is it possible to create a database in MySQL via RMySQL?
Also, is the format for the authorization field
'userName/password at databasename'? I saw an example like this somewhere
in the documenation, but I haven't found the actual specification.
Thanks,
Barnet Wagman
2016 Mar 23
2
r-base installation fails on Ubuntu 14.04
On 03/23/2016 10:23 AM, Dirk Eddelbuettel wrote:
> On 23 March 2016 at 09:35, Barnet Wagman wrote:
> | I am unable to install R on an up to date (i.e. apt upgraded) Ubuntu
> | 14.04 system. According to
> | https://cran.r-project.org/bin/linux/ubuntu/README (and many other sources),
> | R is available for this version of Ubuntu (which is a stable version).
> |
> | I currently
2016 Mar 23
2
Fwd: Re: r-base installation fails on Ubuntu 14.04
-------- Forwarded Message --------
Subject: Re: [R-sig-Debian] r-base installation fails on Ubuntu 14.04
Date: Wed, 23 Mar 2016 13:07:44 -0700
From: Barnet Wagman <bdwgen at gmail.com>
To: Dirk Eddelbuettel <edd at debian.org>
> Lastly, and please don't take this the wrong way: I think I am helping way
> more people like you who for one reason or other insist on older
2016 Mar 23
2
r-base installation fails on Ubuntu 14.04
On 23 March 2016 at 11:38, Barnet Wagman wrote:
| It's a Dell XPS 13.
|
| Obviously I don't understand what's in libcmanager0. I wonder if I can
| safely replace it. I'm a bit uneasy about replacing things Dell
| installed. I gather there are some specialized drivers for the monitor
| on this system.
i) Apply common sense
ii) If that fails do 'apt-cache show
2002 Apr 11
1
Need help decyphering 'make check' errors
I haven't been able to find any documentation explaining what these
errors mean (and if they're serious). If anyone can give me some
guidance on this, I'd very much appreciate it.
The error messages are
make[4]: *** [ctest-Ex.Rout] Error 1
make[3]: *** [test-Examples] Error 2
make[2]: *** [test-Examples] Error 2
make[1]: *** [test-all-basics] Error 1
make: ***
2008 Oct 10
1
Coefficients in a polynomial glm with family poisson/binomial
Dear R-users
When running a glm polynomial model with one explanatory variable (example Y~X+X^2), with a poisson or binomial error distribution, the predicted values obtained from using the predict() function and those obtained from using the coefficients from the summary table "as is" in an equation of the form Y=INTERCEPT+ XCoef x X + XCoef x X^2, differ considerably. The former are
2009 Apr 09
1
arima on defined lags
Dear all,
The standard call to ARIMA in the base package such as
arima(y,c(5,0,0),include.mean=FALSE)
gives a full 5th order lag polynomial model with for example coeffs
Coefficients:
ar1 ar2 ar3 ar4 ar5
0.4715 0.067 -0.1772 0.0256 -0.2550
s.e. 0.1421 0.158 0.1569 0.1602 0.1469
Is it possible (I doubt it but am
2007 Jun 06
0
Meaning of locfit warnings "procv: parameters out of bounds"?
I'm getting the following warning from locfit:
Warning: procv: parameters out of bounds
Does anyone know what this means? (I haven't found anything about it in
the locfit documentation or the list's archives).
thanks,
Barnet Wagman