[R] how to enter frequency type data in R with class intervals

2011-01-30 Thread arindam fadikar
-- Arindam Fadikar M.Stat Indian Statistical Institute. New Delhi, India [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org

[R] how to avoid NaN in optim()

2010-09-30 Thread arindam fadikar
... -- Arindam Fadikar M.Stat Indian Statistical Institute. New Delhi, India [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

Re: [R] how to avoid NaN in optim()

2010-09-30 Thread arindam fadikar
- Original Message - From: arindam fadikar arindam.fadi...@gmail.com Date: Thursday, September 30, 2010 2:17 pm Subject: [R] how to avoid NaN in optim() To: r-help@r-project.org hi , lik - function(nO, nA, nB, nAB){ loglik - function(par) { p=par[1] q=par[2

[R] how to use MCD condition

2010-06-05 Thread arindam fadikar
Dear R users, I have a matrix and i want to get mahalanobis distance based on covariance matrix and MCD ( minimun covariance determinant), but I could not find any such argument 'MCD in the function 'mahalanobis'. Please help. -- Arindam Fadikar M.Stat Indian Statistical Institute. New Delhi

[R] problem with the version of R

2010-04-16 Thread arindam fadikar
Dear users, I am using R in UBUNTU , but the version is 9.1. How can I upgrade it to R 10.1? -- Arindam Fadikar M.Stat Indian Statistical Institute. New Delhi, India [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

Re: [R] square root of inverse

2010-04-08 Thread arindam fadikar
On Thu, Apr 8, 2010 at 5:38 PM, David Winsemius dwinsem...@comcast.netwrote: On Apr 8, 2010, at 1:45 AM, arindam fadikar wrote: Dear users, How to get a symmetric square root of a positive definite matrix? I have tried using spectral decomposition, but some eigen values come out

[R] square root of inverse

2010-04-07 Thread arindam fadikar
Dear users, How to get a symmetric square root of a positive definite matrix? I have tried using spectral decomposition, but some eigen values come out to be complex. Is there any function in R that can give the symmetric square root of a pd matrix? -- Arindam Fadikar M.Stat Indian Statistical

[R] checking bivariate normality

2010-04-06 Thread arindam fadikar
x - iris$Sepal.Length[1:50]/iris$Sepal.Width[1:50] y - iris$Petal.Length[1:50]/iris$Petal.Width[1:50] I want to check whether (x,y) follows a bivariate normal distribution or not, using density plot or scatter plot. Is it possible to plot a bivariate density in R. I cant find any. Arindam

[R] obtaining the index

2010-03-27 Thread arindam fadikar
I have a vector with entries 0 and 1. I want the positions for which the entries are 1. - arindam fadikar [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] anova table for glm with p values

2010-03-27 Thread arindam fadikar
I have to obtain an ANOVA table with suitable p-values for an glm of binomial model with probit link function. I can fit the model but how can i get the anova table with suitable p values? Ref: example in help(esoph) -arindam fadikar [[alternative HTML version deleted