[R] Statistical analysis of a large database
Deall all, We need to perform a statistical analysis of a large database (40,000 entries with approximately 500 fields in each entry) currently handled in Oracle. The data contains categorical variables only. At the current stage we suggest classification and clustering analysis. We are planning to perform the analysis in R and would be very grateful for any recommendations/suggestions/references regarding the packages/tools appropriate for this task. Thank you in advance for your attention, Vicky Landsman. [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
[R] Convergence code in nlm function
Dear R users, I am using the nlm function for minimization of the very non-linear function of four parameters. I am running 100 simulations and almost always I get the convergence code =2 (Successive iterates within tolerance. Current iterate is probably solution.) [about 75 times of 100]. Frequently, 3 of 4 relative gradients are close to zero and the fourth is huge but there are also cases where all four gradients are far from zero. Interestingly, that the estimates are close enough to the true values in most of cases. I tried to change the optional parameters in the nlm call but this does not help to achieve code=1. What may be a reason for such situation? Could I think that the obtained estimates are what I am looking for? I am using R 1.9.1: nlm(N.Loglik,initial.values,fscale=1,print.level = 1, gradtol = 1e-6,steptol = 1e-6,iterlim = 500,y=y) Much thanks, Victoria. [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
[R] Question about mle function
Dear all, I'd like to find the mle esttimates using the mle function mle(negloglik, start = list(), fixed=list(), method=...). I am using the L-BGFS-B method and I don't supply the gradient function. Is there a way to print the gradients found at the solution value? I am using R-1.9.1 on Windows and on Unix. Thank you in advance, Victoria Landsman. [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
[R] Running the optimization on the subset of parameters
Dear all, I'd like to find a minimum of (-loglik) function which is a function of k parameters. I'd like to run the minimization algorithm for the different subsets of the parameters and assign the fixed values to the complementary subset. How should I define my (-loglik) function such that it can be passed to the optim or other optimization function? Much thanks for any suggestions. Vicky Landsman. [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
[R] How to bring an Splus object into R
Dear all, I like to bring the list created in Splus into R. What is the shortest way to do this? Much thanks, Vicky. [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] How to bring an Splus object into R
Much thanks to all who replied me. I used 'dump' in Splus5 and then 'source' in R 1.9.1 (both on Unix) and it works. Vicky. - Original Message - From: Peter Wilkinson [EMAIL PROTECTED] To: Victoria Landsman [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, July 11, 2004 10:51 PM Subject: Re: [R] How to bring an Splus object into R Actually I have wondered about the same but from R to S. To solve that I have written the data from R into a tab separated file, then imported it into S. Peter At 04:54 PM 7/11/2004, Victoria Landsman wrote: Dear all, I like to bring the list created in Splus into R. What is the shortest way to do this? Much thanks, Vicky. [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
[R] Example using Rdqags
Dear all, I'd like to use the Rmath library for calling R functions in C code. I have no any experience in this. I am trying to read the Writing R extensions manual but with no success. I searched the Web and archives but did not find appropriate example. To be specific, I am looking for an example of the .c file and .R file aimed to compute the integral of f(x)=x^2 from 0 to 1 using Rdqags? I am running R 1.9.1 on Sun. Much thanks for any comments/help. Vicky. [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html