similar to: quadratic discriminant analysis?

Displaying 20 results from an estimated 3000 matches similar to: "quadratic discriminant analysis?"

2002 Apr 09
1
factanal prediction
I was wondering if there is a way of predicting factor scores of new data for factor analysis in R (similar to "predict" in S-plus). So far I have not been able to find it, nor found reference to it. Thanks, Chris Fonnesbeck -- ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* Christopher J. Fonnesbeck Ph.D. Student Georgia Cooperative Wildlife Unit University of Georgia Athens, GA 30602
2001 Nov 05
3
vector problems
I dont get it: > is.vector(c(mydf[1])) [1] TRUE > unique(c(mydf[1])) Error in unique(c(mydf[1])) : unique() applies only to vectors > Is it a vector or not? This stuff is driving me nuts. I'm simply trying to convince R that my grouping vector is actually a vector so that unique will work. Its just a vector of numbers, so why shouldnt it work? --
2009 Mar 27
0
Quadratic Discriminant Analysis (qda)
Hi listers, Does anybody knows if the function qda for quadratic discriminant analysis provides the coefficients of quadratic discriminants... Well, I find out that for the linear discriminant analysis lda, the fonction provides the coefficients... Thanks in advance, Marcio -- View this message in context: http://www.nabble.com/Quadratic-Discriminant-Analysis-%28qda%29-tp22747647p22747647.html
2002 Dec 08
1
scan problems -- what can "what" be?
Hello, I am trying to import a list of "structure" objects into R (data for BUGS, actually), but am having little success. In the help file for scan there dies not seem to be a list of valid values for the "what" keyword. Can anyone provide me with one? I have pasted in a sample input file that I am trying to import below this message. I have tried
2013 Feb 20
1
Plotting Discriminants from qda
Dear R Help Members, I am aware how to plot the LD1 vs LD2 from a lda in R, using the code: plot(baseline.systat.hat$x, col=baseline.systat.hat$class,pch=as.numeric(baseline.systat.hat$class)) However, I need to use the quadratic discriminant function, qda due to data properties. Is there a way to obtain the same sort of plot for from a qda object (and the output of predict qda). I have not
2002 May 23
5
logistic regression or discriminant analysis ?
Hello, Does logistic regression really provide better results than lda or qda ? (my purpose is not classification but highlighting of discriminant variables). If this is true, where could I get an R script performing stepwise logistic regression ? Thanks -- Daniel AMORESE Lab. M2C "Morphodynamique Continentale et C?ti?re" UMR CNRS 6143 Caen/Rouen Centre de G?omorphologie UCBN
2007 Jul 25
1
qda(MASS) function error
Dear R user, I'm using qda (quadratic discriminant analysis) function (package MASS) to classify 58 explanatory variables (numeric type with different ranges) using a grouping variable (factor 2 levels "0" "1"). I'm using the qda method for class 'data.frame' (in this way I don't need to specify a formula). Using the function:
2004 Jul 03
1
graphic representation of a qda object
Hi, I'm a R newbie and I have a supervised 2-class classification problem. To find out the best representation of my data (dim = 45). I want to perform LDA und QDA on the diffrent data representations to find out, which is best to discriminate the 2 sets. For LDA there exists a method plot.lda shows (in the 2 class case) a histogramm of the data, projected onto the linear discriminants (pleas
1999 Aug 19
3
Discriminant analysis with R
Hello, I might have missed it in the help pages, but I cannot find if something exits in a package to make discriminant analysis. Any help, or hint about where to look for it, is welcome, Laurent -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help",
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,
2002 May 22
1
a more specific question about qda
Perhaps, I should complement my previous e-mail question: I am trying to select variables through a quadratic discriminant analysis. It seems to me that a robust criterion is the value of the discriminatory power (i.e. the ratio of the separation of the class means to within-class variance) How can I obtain this ratio from V & R's qda() output ? Thanks (I hope this question is relevant) --
2003 May 22
1
Getting the Bootstrap Error Rate of QDA
Hi, What does this mean when I have something like: > qda.boot <- boot(train, qda.bootstrap, R = 500) Error in qda.default(structure(data.matrix(x), class = "matrix"), ...) : Rank deficiency in group M with my qda.bootstrap() looks something like: > qda.bootstrap <- function(data, index) { + boot.qda <- qda(x = data[index, 2:9], group = data[index, 1]) + qda.pred
2003 Nov 15
1
Loading file to use with qda()
z <- qda(train, cl) save(z, file = "qda.dat") load("qda.dat") predict(qda.dat, test)$class I'm trying to save z where z <-qda(train, cl) and load z for later use in predict(z, test)$class. I think I successfully saved z by save(z, file = "qda.dat") but when I tried to load by load("qda.dat") and call predict(qda.dat, test)$class, it gives me error
2003 Jun 06
1
RMySQL on OS X
I noticed in the collection of contributed packages for the OSX release of R, there is no RMySQL package. Does anyone know if one exists, or otherwise, how to connect to relational databases from R on Mac? Any help mode appreciated. cjf
2017 Aug 23
0
Scaling Matrix in qda() function in MASS package
You need to learn how to access code for nonexported methods. See ? "::" > methods(qda) [1] qda.data.frame* qda.default* qda.formula* qda.matrix* see '?methods' for accessing help and source code Shows you that the methods are not exported from the namespace. Hence you need to use the triple colon operator to see their code: > MASS:::qda Once you have the code, I
2017 Aug 24
1
Scaling Matrix in qda() function in MASS package
I guess the question that is being asked here is what is the scaling matrix that is being returned in the qda object. The help file on qda() says: ... scaling: for each group ?i?, ?scaling[,,i]? is an array which transforms observations so that within-groups covariance matrix is spherical. ... This is a bit ambiguous. I tried a few cases (spectral, QR decomposition, especially given that it is an
2003 Feb 27
2
qda plots
Hi, I have been using some of the functions in r for classification purposes, chiefly lda, qda, knn and nnet. My problem is that the only one I can figure out how to represenent graphically is lda (using plot.lda). I have tried 'fooling' this function into accepting qda input for plotting but to no avail. I wonder if you have any suggestions? Thanks alot, Anne Marie Power Marine lab.
2003 Apr 08
1
Build fails for R 1.6.2: [base-Ex.Rout] Error 1
I am trying to build 1.6.2 from source RPM's on RedHat 9, but encounter a failure when running the base tests. An inspection of base-Ex.Rout.fail reveals the following: > ##___ Examples ___: > > var(1:10)# 9.166667 [1] 9.166667 > > var(1:5,1:5)# 2.5 [1] 2.5 > > ## Two simple vectors > cor(1:10,2:11)# == 1 [1] 1 > > > stopifnot( is.na(var(1)), +
2017 Aug 23
2
Scaling Matrix in qda() function in MASS package
Hello, I am Souradeep Chattopadhyay and I am a graduate student at Iowa State University Department of Statistics. Can anyone please explain the mathematical formulation behind the scaling matrix returned by the qda function in MASS package. I want to understand how this scaling matrix is derived from the inputs given to the qda function. Example Code The following example is using
2005 Sep 05
2
Fisher's method in discriminant analysis
Hi, I'm using mda library to solve a discriminant analysis. I get results, but the thing is that I want to use Fisher's method to obtain the classification functions and I'm lost in what I should do: libraries to use, ... Can anybody give me a clue?? Thanks. Carlos Niharra L??pez