Displaying 20 results from an estimated 1100 matches similar to: "sparse matrix and block of R"
2009 Oct 24
1
operations on sparse matrices, and dense intermediary steps
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I'm doing some basic operations on large sparse matrices, for example
getting a row.
it takes close to 30 seconds on a 3Ghz machine, and shots the memory
usage up to the sky.
I suspect there are dense intermediary steps (which, if true would
defeat the purpose of trying to use sparse representaitons).
As much as I try understanding the
2010 Jan 11
5
R for windows 64 bit
Dear all,
do you know if there is any particular version of R to implement with
windows 64 bit, in such a way to increase the amount of memory it can
use?
How should I increase the memory, and more importantly to set a higher
max vector size? It still stops me saying "Could not allocate vector
of size 145"
thanks to all
alessia
2010 Jan 11
2
sparseM and kronecker product_R latest version
Dear all,
I just installed the new version of R, 2.10.1, and I am currently
using the package sparseM. (I also use a 64 bit windows version)
I got a problem that I never had: when I try to multiply with a
kronecker product (%x%) two sparse matrixes I get the following
message:
Error in dim(x) <- length(x) : invalid first argument
I never had this problem with previous versions of R.
May
2009 Jun 18
1
quantile fixed effects with weights
Dear all,
I 'm implementing the koenker procedure for quantile fixed effects. I
would like also to apply weights to the procedure, so that to give
more weight to the observation that better represent my original
sample (much larger than it is possible to use in R). Do you know if
it is possible? How could I solve this problem?
Thank you
alessia
2006 Jul 08
1
KhmaladzeTest
Hello. I am a beginer in R and I can not implement the KhmaladzeTest in the following command. Please help me!!!!!!!!!!!
PD: I attach thw results and the messages of the R program
R : Copyright 2006, The R Foundation for Statistical Computing
Version 2.3.1 (2006-06-01)
ISBN 3-900051-07-0
R es un software libre y viene sin GARANTIA ALGUNA.
Usted puede redistribuirlo bajo ciertas
2006 Jan 11
1
Strange behaviour of load
Dear All,
simetimes when I load an Rdata I get this message
#######
Code:
load('bladder1.RData')
Carico il pacchetto richiesto: rpart ( Bad traslastion: Load required package-...)
Carico il pacchetto richiesto: MASS
Carico il pacchetto richiesto: mlbench
Carico il pacchetto richiesto: survival
Carico il pacchetto richiesto: splines
Carico il pacchetto richiesto: 'survival'
2006 Jan 18
0
Loading of namespace on load of .Rdata (was strange behaviour of load)
Last week Giovanni Parrinello posted a message asking why various packages were loaded when he loaded an .Rdata file. Brian Ripley replied saying he thought it was because the saved workspace contained a reference to the namespace of ipred. (Correspondence copied below).
This begs the question: how did the reference to the namespace of ipred come to be in the .Rdata file? Brian did say it is
2007 Mar 24
1
frequency tables and sorting by rowSum
Dear list,
I have some trouble generating a frequency table over a number of vectors.
Creating these tables over simple numbers is no problem with table()
> table(c(1,1,1,3,4,5))
1 3 4 5
3 1 1 1
, but how can i for example turn:
0 1 0
0 0 1
0 1 0
1 0 0
0 1 0
1 0 0
into
0 0 1 1
1 0 0 2
0 1 0 3
My second problem is, sorting rows and columns of a matrix by the rowSums/colSums.
I did it
2006 Jan 18
2
Loading of namespace on load of .Rdata (was strange behaviour of load)
Last week Giovanni Parrinello posted a message asking why various packages were loaded when he loaded an .Rdata file. Brian Ripley replied saying he thought it was because the saved workspace contained a reference to the namespace of ipred. (Correspondence copied below).
This begs the question: how did the reference to the namespace of ipred come to be in the .Rdata file? Brian did say it is
2017 Jun 19
0
quantreg::rq.fit.hogg crashing at random
Dear all,
I am using the "rq.fit.hogg" function from the "quantreg" package. I have
two problems with it.
First (less importantly), it gives an error at its default values with
error message "Error in if (n2 != length(r)) stop("R and r of incompatible
dimension") : argument is of length zero". I solve this by commenting four
lines in the code. I.e. I
2008 May 15
2
plot(summary) within quantreg package
Quantreg package allows to plot the summary of models derived by quantile
regression at different taus.
The plot shows the parameters variation by varying taus: intercept and slope
(for a linear model).
Together with these values even confidence intervals may be plotted, based
on the threshold given within the summary (e.g. alpha=0.01 equals 99% CI).
However the graphic even plots the mean of
2004 Jul 19
3
why won't rq draw lines?
I've been trying to draw quantile linear regression lines across a scatterplot of my data using
attach(forrq)
plot(PREGNANT,DAY8,xlab="pregnant EPDS",ylab="postnatal EPDS",cex=.5)
taus <- c(.05,.1,.25,.75,.9,.95)
xx <- seq(min(PREGNANT),max(PREGNANT),100)
for(tau in taus){
f <- coef(rq(DAY8~PREGNANT,tau=tau))
yy <-
2008 Oct 31
1
Quantile Regression for Longitudinal Data:error message
Quantile Regression for Longitudinal Data.
Hi,
I am trying to estimate a quantile regression using panel data. I am trying
to use the model that is described in Dr. Koenker's article. So I use the
code the that is posted in the following link:
http://www.econ.uiuc.edu/~roger/research/panel/rq.fit.panel.R
I am trying to change the number quantiles being estimated.
I change the codes about
2007 Jun 12
4
write some custom values to CDR table
Hi,
I write the CDR of my Asterisk 1.2.17 server in MySQL database
using cdr_addon_mysql.so.
Now I'm trying to write some custom values to userfield column by
the SET(CDR(USERFILED)=SOME_TEXT) sintax, but nothing gets writeen in
MySQL cdr table!!
Why? I'm I skeeping something or what?
Taking a look at the URL:
2008 Jul 10
1
problems with rq.fit.sfn
Dear all,
I am running a quantile estimation with Sparse matrix and when I run
the procedure rq.fit.sfn I receive the following warning: tiny
diagonals replaced with Inf when calling blkfct.
Does anyone knows exactly what does it mean? What's this kind of
error? Should I get worried about this message?
The matrix I use is a full rank matrix (and indeed I do not have any
message about
2006 Oct 13
2
loop, pipe connection, output objects
Hi all,
I have the following -newbye- problem.
Inside R, I am trying to process a file and creating from it many files.
The file is organized in different columns, the second containing a code. I want to create as output objects, which contain only entries in a certain code range, and whose name contain the code itself.
Here is my attempt
indice <- (201:399)
for(i in indice){
data.i <-
2006 Oct 30
1
no possible to load a package correctly dowloaded by the R prompt
Please, help me.
I had a trouble in downloading from CRAN the package "untb".
Everything seems to work. I type
>install.packages(c(untb))
after selecting the CRAN mirror and I get a message of successful downloading. Indeed I have the package in the library and if I check with command
> library()
I see untb among the various packages.
But, when I type the command:
2012 Apr 20
1
error loading tcltk2
Hello,
I just installed R-2.15.0 on windows XP and cannot load package tcltk2
(which I just downloaded from CRAN as tcltk2_1.2-1.zip; package install
reported no problems):
> library(tcltk2)
Carico il pacchetto richiesto: tcltk
Loading Tcl/Tk interface ... done
Error : .onLoad failed in loadNamespace() for 'tcltk2', details:
call: system("cat /etc/issue", intern = TRUE,
2002 Nov 11
0
AOV and general formula sintax
As an agronomist, sometimes i need to perform statistical analisys on
"weird" field data, like 3 or 4 level split plot design.
I've read both the help of the program, some books and manual about S and
"Venables/Ripley, Modern Applied Statistics with S", but i still have
problems in (i suppose) formulae sintax.
I'm trying to perform AOV, as explained in "Random
2008 Apr 18
0
Fw: efficiently replacing values in a matrix
----- Forwarded Message ----
From: Nnamdi <nnamdii at yahoo.com>
To: roger koenker <rkoenker at uiuc.edu>
Sent: Friday, April 18, 2008 1:08:58 PM
Subject: Re: [R] efficiently replacing values in a matrix
I tried the sparse matrix implementation, still there are issues:
a <- matrix(nrow=10000,ncol=10000)
> a.csr <- as.matrix.csr(a)
Error in if (nnz == 0) { : missing value