similar to: Multiple regression

Displaying 20 results from an estimated 2000 matches similar to: "Multiple regression"

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 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
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 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 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
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 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
2000 Mar 07
1
manova
> > After running a MANOVA test, I used univariate Fs in order to see > which IV(s) was contributing the difference. > However, I have been critised about it, > and the reason I was given is: > > "MANOVA allows you to explore multiple associations but > does not excuse you from tracing out the causal relationships > for each variable. This does
2002 Mar 01
2
step, leaps, lasso, LSE or what?
Hi, I am trying to understand the alternative methods that are available for selecting variables in a regression without simply imposing my own bias (having "good judgement"). The methods implimented in leaps and step and stepAIC seem to fall into the general class of stepwise procedures. But these are commonly condemmed for inducing overfitting. In Hastie, Tibshirani and Friedman
2012 Sep 19
0
Lowest AIC after stepAIC can be lowered by manual reduction of variables (Florian Moser)
A few general comments about stepwiseAIC and a suggestion of how to select models a) Apart form the problem, that stepwise selection is not a garanty to get the best model, you need to have a lot of data to avoid overfitting if your model includes 7 parameter plus interactions (> 10 observations per parameter is what you are ideally looking for). b) Have a look at Anderson and Burnham's
2013 Feb 10
2
[LLVMdev] llvm-installation
hello sir, in llvm installation ./configure command worked properly but while giving make -j 4 command in ubuntu everything got build properly but at last it showed error as llvm[4]: Linking Debug+Asserts executable clang collect2: ld terminated with signal 9 [Killed] make[4]: *** [/home/manoj/Desktop/LLVM/ build/Debug+Asserts/bin/clang] Error 1 make[4]: Leaving directory
2008 Apr 21
1
Compile libtheora 1.0beta3 with VS2005
Hi all, I tried to compile the theora source with VS2005. But it asked for the ogg library. error message is as follow. **************************************************************************** Error 1 fatal error C1083: Cannot open include file: 'ogg/ogg.h': No such file or directory c:\Documents and Settings\Manoj\Desktop\libtheora-1.0beta3\include\theora\codec.h 64 Error
2009 May 04
8
CentOS DomU on Opensolaris Dom0 - virt-install fails with error in virDomainCreateLinux()
Hi, I am trying to install CentOS on an Opensolaris Dom0. virt-install fails with an error in virDomainCreateLinux(). Is this a known issue? Am I missing some step? manoj@mowgli:~$ uname -a SunOS mowgli 5.11 snv_101b i86pc i386 i86xpv Solaris manoj@mowgli:~$ pfexec virt-install What is the name of your virtual machine? centos How much RAM should be allocated (in megabytes)? 512 What would
2004 Jul 28
1
automating sequence of multinomial regressions
Disclaimer first: I only heard about R fairly recently, so I apologize if this is either a simple or impossible request, but R looked like it might be a good framework for this sort of thing... Is it possible to write a script to run stepwise multinomial regressions on many *dependent* variables, and then compare results to a validation data set (e.g., Chow test)? Essentially, automate the
2013 Feb 11
1
[LLVMdev] llvm-installation
hello sir, ./configure worked properly but while giving make -j 2 command in ubuntu everything got build properly but at last it showed error as llvm[4]: Linking Debug+Asserts executable clang collect2: ld terminated with signal 9 [Killed] make[4]: *** [/home/manoj/Desktop/LLVM/ build/Debug+Asserts/bin/clang] Error 1 make[4]: Leaving directory
2013 Feb 11
1
[LLVMdev] llvm
hello sir, ./configure worked properly but while giving make -j 2 command in ubuntu everything got build properly but at last it showed error as llvm[4]: Linking Debug+Asserts executable clang collect2: ld terminated with signal 9 [Killed] make[4]: *** [/home/manoj/Desktop/LLVM/build/Debug+Asserts/bin/clang] Error 1 make[4]: Leaving directory `/home/manoj/Desktop/LLVM/
2013 Feb 10
0
[LLVMdev] llvm-installation
You should use make -j with a number lower than 4, it looks like you ran out of memory when linking. On 10 February 2013 15:41, Manoj C <manoj.chinthala at gmail.com> wrote: > hello sir, > in llvm installation ./configure command worked properly but while > giving > make -j 4 command in ubuntu > > everything got build properly but at last it showed error as > >
2012 Jan 20
8
The Recycled PIDs Fix
** Low Priority ** Hi Volker, This is regarding your fix on recycled PIDs. I am an NCP developer from Novell and we use libsmbsharemodes library from Samba for Cross Protocols Locks between NCP, Samba and others. I have few queries regarding your fix. In your fix, you have added a new field called 'unique_id' in the server_id structure and we need to pass this in our call to samba
2005 May 30
3
Vector Manipulation
Dear All, For any given vector, I want to extract a sub-vector such that the new vector skips all zeros, if any , at the start of vector. Is it possible to achieve this w/o looping? E.G : > x = c(0,0,1,2,3,4,5,0,0,8,9) > y = somefunc(x); > y [1] 1 2 3 4 5 0 0 8 9 In the example above, I want to skip the two
2009 Jun 25
1
error: ‘FT_MulFix’ undeclared here
Hi, I am using ubuntu 9.04. I have installed ubuntu 9.04. And then downloaded wine-1.0.1.tar.bz2 from winhq/download site. Then follow following steps: 1) Untar files: tar jxvf wine-1.0.1.tar.bz2 2) cd wine-1.0.1/ 3) ./tools/wineinstall During step three, following error comes: ******************************************** make[2]: Leaving directory `/home/manoj/wine-1.0.1/dlls/fusion'