[R] R function for Step-wise Panel Regression

2014-06-11 Thread Nitin Jain
Hi, Can anyone please suggest if it's possible to do a step-wise panel regression in R ? Thanks, Nitin [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEA

[R] R-Query (fine-classing_Logistic Regression)

2014-01-15 Thread nitin agarwal
Hi all, I am facing a problem with fine-classing used in logistic regression. If the term is not clear, here are the details of what I want to do: Suppose I have 4 entries in total and I want to have 10 groups of these, so ideally the group length should be of 4000 each, but according t

[R] tcltk installation problem in R (Mac OS X version)

2012-09-13 Thread Nitin Bhardwaj
am not setting the TCL_LIBRARY right. When I try to set the TCL_VARIABLE to /usr/bin even then it does not work. What am I doing wrong? Please help. Thanks, Nitin -- ΝI+IИ [[alternative HTML version deleted]] __ R-help@r-project.org mailing lis

[R] Call R from C

2012-02-20 Thread nitin kumar
Dear All, I am new to calling R in C. I want to call sample R function in C. i.e. I want to do a sample equivalent to n <- c(1:10) p <- seq(0,10,length.out= 10) sample(n,size = 1, prob = p, replace = FALSE) how can I call this function directly in C? any help would be great, thanks,

[R] access R basic libraries

2012-02-13 Thread nitin kumar
Hello Everyone, I am trying to access all R basic C/Fotran libraries to see how some functions are written in fotran or C so that in case I need to change some stuff I can do that. Any help would be great, nitin [[alternative HTML version deleted

[R] Fitting 3 beta distributions

2011-10-01 Thread Nitin Bhardwaj
fitting normal dist and fitdistr will only fit 1 distribution, not 3). Is that right? Also, my data has 26 million data points. What can I do to reduce the computation time with the suggested function? thanks a lot in advance, eagerly waiting for any input. Best Nitin -- ΝI+IИ [[alternative

[R] BreastCancer Dataset for Classification in kknn

2010-06-01 Thread Nitin
; converted to a factor 2: In model.matrix.default(mt, test) : variable 'Id' converted to a factor I tried the codes with other datasets in mlbench package and most of them working. That is the mistake here for this particular dataset and how can I solve it? Thanks Nitin [[alt

Re: [R] Null and Alternate hypothesis for Significance test

2008-08-21 Thread Nitin Agrawal
statistic of the KS test a good choice? Nitin On Thu, Aug 21, 2008 at 7:40 PM, Moshe Olshansky <[EMAIL PROTECTED]>wrote: > Hi Nitin, > > I believe that you can not have null hypothesis to be that A and B come > from different distributions. > Asymptotically (as both sample sizes go

[R] Null and Alternate hypothesis for Significance test

2008-08-21 Thread Nitin Agrawal
this in R would be greatly appreciated. On a related note: what is a good way to measure the difference between observed and expected PDFs? Is the D statistic of the KS test a good choice? Thanks! Nitin [[alternative HTML version deleted]] __ R

[R] Null and Alternate hypothesis for Significance test

2008-08-21 Thread Nitin Agrawal
this in R would be greatly appreciated. On a related note: what is a good way to measure the difference between observed and expected PDFs? Is the D statistic of the KS test a good choice? Thanks! Nitin [[alternative HTML version deleted]] __ R

[R] Capture warnings

2008-02-19 Thread Nitin Jain
rning still does not exist in the function (but in some other environment), hence R is trying to assign NULL to a character. Can anyone tell me how to fix the above problem? Thanks. Best, Nitin __ R-help@r-project.org mailing list https://stat.ethz.ch/

Re: [R] saving results under specified file name

2007-09-23 Thread Nitin Jain
On 9/23/07, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > > Frank E Harrell Jr wrote: > > Nitin Jain wrote: > > > >> Thanks Professor Ripley and Professor Harrell. > >> > >> Yes, save(list=newname, ...) works. > >> > >> Best, &

Re: [R] saving results under specified file name

2007-09-23 Thread Nitin Jain
Thanks Professor Ripley and Professor Harrell. Yes, save(list=newname, ...) works. Best, Nitin - Original Message From: Prof Brian Ripley <[EMAIL PROTECTED]> To: Nitin Jain <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Sent: Sunday, September 23, 2007 11:14:37 AM Subject: Re

[R] saving results under specified file name

2007-09-23 Thread Nitin Jain
FIXME } aa(3, "test") load("test.RData") ls() I would like to see test (which should store 9) rather than newname (which stores "test") Please let me know how to do this. Thanks. -Nitin _