Displaying 20 results from an estimated 10000 matches similar to: "correlation between categorical data"
2000 May 17
1
crosstabs
Hi all!
What is the equivalent R function of SPLUS crosstabs?
Thank you.
Danar.
Stat. Inst. Umea Univ.
Umea, Sweden
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To:
2007 Jun 26
3
inter-rater agreement index kappa
Is there a function that calculates the inter-rater agreement index
(kappa) in R?
Thanks ../Murli
[[alternative HTML version deleted]]
2010 Jan 22
1
Sata and R users GLM methods translation
Hello,
I am learning R and I am fluent in Stata and I try to translate part of my
Stata code to R to check the reliability of the data under R. I have a
proportion variable as a dependent variable pQSfteHT . Independent variables
are dummies for two categorical variables called dQSvacrateHTQuali3 and
cluster_3. I am fitting a model with the Stata command below:
glm pQSfteHT dQSvacrateHTQuali3_2
2003 Jan 23
1
spearman rank correlation
hello help,
i''ve searched through the manual pages and the only reference i can find to spearman rank correlation is cor.test, which only seems to give the significance value of the correlation.
is there any way to get the actual value of rho?
david.
[[alternate HTML version deleted]]
2002 Feb 25
5
another basic ?
i am sure that there is a simple solution that i am just overlooking, but
there is no logical test for =
there is one for != and >,<, >=, <=...
what do i do if i need to check if something IS EQUAL
or is there an easy way, in working with a matrix of size n x 3, to sort
the matrix by one of the columns?
specifically what i am trying to do is i have a matrix with individual and
2009 Dec 13
2
O(N log N) Kendall Tau
I've noticed that the implementation of Kendall's Tau in R is O(N^2).
The following reference describes how it can be done in O(N log N):
A Computer Method for Calculating Kendall's Tau with Ungrouped Data
William R. Knight
Journal of the American Statistical Association, Vol. 61, No. 314, Part
1 (Jun., 1966), pp. 436-439
http://www.jstor.org/pss/2282833
I'm interested in
2004 Oct 14
1
correlating between two vectors of numbers
Hi, R!
Question1:
I am trying to correlate two vectors of numbers (two columns of microarray
signal values) by using the non-parametric Spearman's rank correlation
coefficient rho:
> cor.test(V2.Signal,V3.Signal,method="spearman")
but I get the error message:
Error in if (q > (n^3 - n)/6) pspearman(q - 1, n, lower.tail = FALSE) else
pspearman(q, :
missing value
2006 May 12
3
Maximum likelihood estimate of bivariate vonmises-weibulldistribution
Thanks Dimitris!!! That's much clearer now. Still have a lot of work to
do this weekend to understand every bit but your code will prove very
useful.
Cheers,
Aziz
-----Original Message-----
From: Dimitrios Rizopoulos [mailto:Dimitris.Rizopoulos at med.kuleuven.be]
Sent: May 12, 2006 4:35 PM
To: Chaouch, Aziz
Subject: RE: [R] Maximum likelihood estimate of bivariate
2010 Jun 30
3
Logistic regression with multiple imputation
Hi,
I am a long time SPSS user but new to R, so please bear with me if my
questions seem to be too basic for you guys.
I am trying to figure out how to analyze survey data using logistic
regression with multiple imputation.
I have a survey data of about 200,000 cases and I am trying to predict the
odds ratio of a dependent variable using 6 categorical independent variables
(dummy-coded).
2010 Mar 22
3
Mosaic Plots
Hello Everyone
I want to plot Moasic Plots, I have tried them using iplots package (using
imosaic). The problem is the names dont get alligned properly, is there a
way to a align the names and provide legend in Mosaic plots using R?
Also I would like to know any other packages using which I can plot Mosaic
Plots
Thank you in advance
Sunita
--
View this message in context:
2008 Apr 01
1
SEM with a categorical predictor variable
Hi,
we are trying to do structural equation modelling on R. However, one of our
predictor variables is categorical (smoker/nonsmoker). Now, if we want to
run the sem() command (from the sem library), we need to specify a
covariance matrix (cov). However, Pearson's correlation does not work on the
dichotomous variable, so instead we produced a covariance matrix using the
Spearman's (or
2002 Mar 20
3
check without loop
i am probably just missing this one, but how can i check to see if a number
is a part of a vector?
i know i could do a loop checking for equivalence for each element, but i am
thinking that there must be a simpler way to do it than that ( i think that
i have even done it in the past, but can't remember how!)
thanks
what i am working with:
(hope this makes sense)
arclist
[1] 2 2 6
2002 Feb 18
3
i think i asked the wrong ?
me again, new to R, haven't programmed in a long time at all
sorry to ask what is probably basic
a while ago i asked how to remove an element from a list
apparently what i am using is not a list but a vector, didn't realize there
was a list data type
could also use a matrix for what i am doing, is there a way to remove
single elements from either of those?
thanks for any help, if i was
2009 Nov 26
2
Multivariate problems . . . with 200 resposes variables and 1 explanatory variable
How should I analysis it in R ???? all the resposes variables are ordinal
from 0 to 10. and the explanatory variable is a factor ...
--
View this message in context: http://old.nabble.com/Multivariate-problems-.-.-.-with-200-resposes-variables-and-1-explanatory-variable-tp26522912p26522912.html
Sent from the R help mailing list archive at Nabble.com.
2006 Sep 12
1
Kendall's tau-c
Hello,
I can't find a package which calculates Kendall's tau-c. There is the
package Kendall, but it only calcuates Kendall's tau-b.
Here is the example from
ttp://www2.chass.ncsu.edu/garson/pa765/assocordinal.htm.
cityriots <- data.frame(citysize=c(1,1,2,2,3,3),
riotsize=c(1,2,1,2,1,2), weight=c(4,2,2,3,0,4))
cityriots <- data.frame(lapply(cityriots,function(x)
2005 Jun 28
1
faster algorithm for Kendall's tau
Hi,
I need to calculate Kendall's tau for large data
vectors (length > 100'000).
Is somebody aware of a faster algorithm or package
function than "cor(, method="kendall")"?
There are ties in the data to be considered (Kendall's
tau-b).
Any suggestions?
Regards
Ferdinand
2017 Sep 01
4
correlation between nominal and ordinal
I would be very grateful if you would tell me how I can find the
degree of correlation between a nominal dependent variable and an
independent ordinal variable. The nominal variable has only two
levels: YES and NO.
thank you very much in advance
regards,
merlin
----------------------------------------------------------------
--
Este mensaje le ha llegado mediante el servicio de correo
2007 Sep 19
4
fontsize in mosaic plot lables
Hi List,
I am trying unsucessfully to modify the fontsize of lables in mosaic:
require(vcd)
mosaic(Titanic, pop=FALSE,
labeling_args=list(rot_labels=c(bottom=90,top=90),
set_varnames = c(Sex = "Gender"),
gp_text=gpar(fontsize=20))) #can't get it to resize text
tab <- ifelse(Titanic < 6, NA, Titanic)
# it works for labeling_cells
labeling_cells(text = tab,
2006 Jan 04
1
How to create a correlation table for categorical data???
Hi,
I need to create the correlation table of a set of categorical data (sex, marital_status, car_type, etc.) for a given population.
Basically what I'm looking for is a function like cor( ) working on factors (and, if possible, considering NAs as a level).
To better express myself, the manual way should be:
1) to create a set of n-1 numeric dummies (whose assigned values are
2010 Feb 08
2
Incorrect Kendall's tau for ordered variables (PR#14207)
Full_Name: Marek Ancukiewicz
Version: 2.10.1
OS: Linux
Submission from: (NULL) (74.0.49.2)
Both cor() and cor.test() incorrectly handle ordered variables with
method="kendall", cor() incorrectly handles ordered variables for
method="spearman" (method="person" always works correctly, while
method="spearman" works for cor.test, but not for cor()).
In