search for: wanzare

Displaying 11 results from an estimated 11 matches for "wanzare".

2003 Oct 20
4
Processing logic for Huge Data set
Hello All, I am new to R. I am trying to process this huge data set of matrix containing four columns, say x1, x2, x3, x4 and n number of rows. I want to aggregate the matrix by x1 and perform statistic based on columns x2, x3, x4. I tried aggregate function but it gave me memory allocation error (which I am not surprised), so I ended up performing a for loop based on x1 and
2004 Apr 20
2
Rank - Descending order
Dear All, Is there any simple way to way to produce "rank", for a given list, but in a descending order? E.G: x = list(a=c(1,5,2,4)); rank(x$a); produces 1,4,2,3 However I am looking for a way to generate (4,1,3,2). It would be particularly nice if the proposed solution has all the niceties of rank function (like NA handling and ties.method functionality) TIA Manoj
2004 Jun 09
1
Multiple regression
Hi, I am trying to do multiple regression on a set of data using backward stepwise regression....however backward stepwise regression is critised for overfitting data. To actually observe the bias and to come up with a better method to use..Could you all stats experts kindly give me pointers to any alternative procedure (or references) to use over backward stepwise regression from your
2004 Nov 19
2
Performing regression using R & C
Dear All, Is it possible to perform OLS using C code? I am trying to optimize a n-period "moving window" OLS on a huge dataset hence was wondering if such a thing is possible. Ideally the solution that I am looking for would involve a C-code accepting two float arrays and returning back computed parameters such as t-stat, coefficient etc. I have glanced thru the FAQ's and tried
2004 Aug 30
3
Multiple lapply get-around
I am faced with a situation wherein I have to use multiple lapply's. The pseudo-code could be approximated to something as below: For each X from i=1 to n For each Y based on j=1 to m For each F from 1 to f Do some calculation based on Fij Store Xi,Yj = Fij End For F End for Y End for X Is there anyway to optimize the processing logic further? I *guess* using the multiple lapply
2004 Aug 27
1
selecting unique columns of a matrix/data frame
...gt; > I want to write a function that asks me what to put in certain > variables. > > > Thanks, > Neil > > > > ------------------------------ > > Message: 100 > Date: Fri, 27 Aug 2004 14:11:14 +0900 > From: "Manoj - Hachibushu Capital" <Wanzare at HCJP.com> > Subject: RE: [R] Keyboard input into functions > To: "Neil Leonard" <nleonard at tartarus.uwa.edu.au>, > <r-help at stat.math.ethz.ch> > Message-ID: > <1CBA12F2D414914989C723D196B287DC26BCD1 at jp-svr-ex1.hcjp.com> > Content-Type: te...
2003 Dec 16
1
Calling C function in R
Hi All, I am trying to write a c function to optimize loop processing. Having read the R extension and trying out a few samples I was pretty comfortable with the basics. However, I am wondering if there is anyway to call tseries functions like adf.test or po.test from within c function. Any pointers/ code sample would be greatly appreciated. Thank you. Manoj
2004 Aug 03
1
Data manipulation query
Hi, Not sure if I am making a simple problem complex but still here we go: I have a data frame with four columns say, X1 X2 X3 and X4. I want to break X4 into deciles and for each deciles obtained, I want to see corresponding elements of X1. Ideally, the output should be in a tabular fashion as shown below: Deciles 1 Deciles 2 .... Deciles 10 X1-1 X1-2 X1-99 X1-5 X1-3 X1-10
2004 Aug 27
1
Keyboard input into functions
?readline HTH -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Neil Leonard Sent: Friday, August 27, 2004 2:04 PM To: r-help at stat.math.ethz.ch Subject: [R] Keyboard input into functions Hi, Does anybody know if it is possible to have keyboard input into functions? Kind of like 'scanf()' in C. I want to
2004 Sep 02
0
Re: [S] [R/S] question re solution
> Someone else mentioned Venables and Ripley (2000) S > Programming (Springer). Please see this or some other discussion of the > "..." argument. The "Introduction to R" (from Cran website) also talks about it. See pg 49 - section 10.4 (was just reading this the other day). Cheers Manoj -----Original Message----- From: r-help-bounces at stat.math.ethz.ch
2004 Jun 14
2
CVnn2 + nnet question
Hi, I am trying to determine the number of units in the hidden layer and the decay rate using the CVnn2 script found in MASS directory (reference: pg 348,MASS-4). The model that I am using is in the form of Y ~ X1 + X2 + X3... + X11 and the underlying data is time-series in nature. I found the MASS and nnet package extremely useful (many thanks to the contributors). However I am getting