similar to: Linear Discriminant Analysis

Displaying 20 results from an estimated 5000 matches similar to: "Linear Discriminant Analysis"

2009 Feb 06
3
How to convert Charagter variables into numeric
I am importing a dataset in R where some of the variable are numerical and some of them are character...but the problem is that R is treating numerical variables as character (I am using "is.character" to judge the type). Now the question is how can I convert these character variables into numeric and also let me know about the other conversion like "numeric to
2009 Feb 04
2
How to import HTML and SQL files
I can't import any HTML or SQL files into R..:confused: Please suggest me the packages for these two file types and also let me know the syntax for importing these two type of files. Thank you in advance. Arup -- View this message in context: http://www.nabble.com/How-to-import-HTML-and-SQL-files-tp21830945p21830945.html Sent from the R help mailing list archive at Nabble.com.
2012 Oct 21
1
Linear discriminant function analysis based median as group centroid and nonparametric scale estimators???
Dear All, I am using a specific approach for my master thesis. In essence, a supervised reclassification is used as an intermediate step to find chemical parameters which are able to reclassify defined groups. These variables will be used in a next step where location and scale estimators of the groups are important. Traditionally linear discriminant analysis is used for reclassification which
2001 Dec 07
2
Help for Linear Discriminant Analysis
Dear colleague, I'd like to compute linear discriminant analysis, using R. In the book Modern applied statistic with Splus (Venables & Ripley, p. 396), lda function is used. Could you tell me where I can find this function? At what site, can I download this library ? Thank for your help. Best Regards Sovan ---------------------------------------------------------------- Prof. Sovan
2009 Aug 28
3
CHAID in R
Hi..I am trying to run CHAID in R..I have installed the sofyware Party and trying to use the function ctree() to carry out the analysis. but I am getting the following message Error in terms.default(formula, data = data) : no terms component . I am having some Likert scale variable where I have variables like "Overall satisfaction"(Dependent Variable),"Product quality", Brand
2004 May 27
1
Source Code for Linear Discriminant Analysis
Dear R users, I am not an R user myself, but someone searching the web for C source code that will do linear discriminant function analysis. The only lead I have been able to locate is that R contains a function called "lda" which is contained in the MASS package. (http://stat.ethz.ch/R-manual/R-devel/library/MASS/html/lda.html) I downloaded the R source file R-1.9.0.tgz, and
2005 Sep 29
1
Fisher's discriminant functions
Hi everyone, I'm trying to solve a problem about how to get the Fisher's discriminant functions of a "lda" (linear discriminant analysis) object, I mean, the object obtained from doing "lda(formula, data)" function of the package MASS in R-project. This object gives me the canonical linear functions (n-1 coefficients matrix of n groups at least), and only with this
2006 Feb 20
1
linear discriminant analysis in MASS
Hello R people I now know how to run my discriminant analysis with the lda function in MASS: lda.alain=lda(Groupes ~ Ht.D0 + Lc.Dc + Ram + IDF, gr, CV = FALSE) and it works fine. But I am missing a test and cannot find any help on how to get it, if it exist. The "S" equivalent: discrim(structure(.Data = Groupes ~ Ht.D0 + Lc.Dc + Ram + IDF, class = "formula"), data = gr,
2011 May 16
1
Linear Discriminant Analysis error: "Variables appear constant"
Hi R experts, I'm attempting to run Linear Discriminant Analysis using the lda function in the MASS package. I've got around 50 predictor variables and one response variable. My response variable has 5 numeric categories that represent different clusters of fish abundance data (clusters were developed using Bray-Curtis and NMDS), and my predictor variables are environmental variables that
2005 Jul 05
4
Discriminant Function Analysis
Dear All This is more of a statistics question than a question about help for R, so forgive me. I am using lda from the MASS package to perform linear discriminant function analysis. I have 14 cases belonging to two groups and have measured each of 37 variables. I want to find those variables that best discriminate between the two groups, and I want to visualise that and create a
2006 Nov 16
3
X-fold cross validation function for discriminant analysis
Hi all, I ran a discriminant analysis with some data and want to get a general idea of prediction error rate. Some have suggested using X-fold cross validation procedure. Anyone know if there is a function for this in R? Thanks, Wade [[alternative HTML version deleted]]
2005 Aug 05
1
lda discriminant functions
Hi list, I'm looking about lda function. I'd like to know how calcolate the value of the discriminant functions for the original datas. I see that in the result object "lda" there is $scaling a matrix which transforms observations to discriminant functions, normalized so that within groups covariance matrix is spherical. I'd like to have the value of the discriminant
2010 May 26
1
Linear Discriminant Analysis in R
Dear R gurus, Thank you all for continuous support and guidance -- learning without you would not be efficient. I have a question regarding LD analysis and how to best code it up in R. I have a file of (V52 and 671 time points across all columns) and another file of phonetic features (each vowel is aligned with a distinct binary sequence, i.e. E 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1 0 0 0 0 0 0
2010 Dec 14
4
Discriminant Correspondence Analysis
Hello everyone, I am totally new to the R program. I have had a look at some pdf documents that I downloaded and that explain how to do many things in R; however, I still cannot figure out how to do what I want to do, which is to perform Discriminant Correspondence Analysis on a rectangular matrix of data that I have in an Excel file. I know R users frown upon Excel and recommend converting Excel
2005 Aug 05
2
Discriminant analysis
Hi, I'm a newbie in R and don't much aobut all the modules and their capabilities, but I'm interested in solving a problem about a discriminant analysis done with SPSS tool. The thing is that I would like to make a discrimant analysis similar to the one done with SPSS, but I can't find the way to solve it. I've been playing with R and I can handle more or less my data,
2007 Feb 05
1
manova discriminant functions?
Hello, I've been playing with the manova() function to do some pretty straightforward multivariate analyses, and I can't for the life of me figure out how to get at the discriminant functions used. When predicting several variables simultaneously, it's important to be able to gauge how much each variable is contributing to the analysis...a simple p-value isn't really enough. I
2013 Nov 10
0
Mark each group centroid in a linear discriminant analysis plot
Hi, How can I calculate and mark each group centroid in a linear discriminant analysis plot (using ggplot2)? Script: ## originate from http://r.789695.n4.nabble.com/LDA-and-confidence-ellipse-td4671308.html require(MASS) require(ggplot2) iris.lda<-lda(Species ~ Sepal.Length + Sepal.Width + Petal.Length + Petal.Width, data = iris) LD1<-predict(iris.lda)$x[,1]
2005 Apr 28
0
Linear Discriminant Analysis Biplots
Dear R I'm trying to plot the lda means onto a 2 D plot of discriminant scores. Preferably I'd like these to be in a larger font compared to the discriminant scores. I tried skull.mean.pred <- predict(skulls.lda, as.data.frame(skulls.lda$means), dimen=2) from which I got skull.mean.pred $class [1] 1 2 3 4 5 Levels: 1 2 3 4 5 $posterior 1 2 3 4
2009 Apr 01
1
Discriminant analyse
Hi everyone, I intend to do a discriminant analyse for 2 measures(eye diameter and body length) and for different areas to show differences between those areas if there are any. The raw data (eye diameter, body length) make one cloud of points so it seems there aren't any differences between those areas. If I take the mean values (eye diameter) for length classes, I nearly get linear functions
2010 Jun 05
1
Prediction in discriminant analysis
Sir, I am working with multiclass discriminant analysis.(say response variable has 3classes).In R, using lda(), I get 2 sets of coefficients for the discriminant function.Now, I want to put a new x-vector(vector of independent variables) and want to check it corresponds to which class of y.Is there any formula for doing this? or how can I do this? Regards, Suman Dhara [[alternative HTML