Displaying 20 results from an estimated 9000 matches similar to: "help comparing two median with R"
2011 Jan 30
3
medians in Wilcoxon disagree with median function
I am sure I am opening myself up to looking stupid, but I have two samples
with medians of 613.5 and 189 (difference in location of 424 compared to
the difference suggested from the wilcoxon of 291.5)
> wilcox.test(pipwtCount,pipwdCount, conf.int=TRUE, na.rm=TRUE)
Wilcoxon rank sum test
data: pipwtCount and pipwdCount
W = 822, p-value = 0.01227
alternative hypothesis: true location
2012 Dec 15
3
kruskalmc, significant differences while median values are the same
Dear list!
I work with multiple Kruskal-Wallis test (kruskalmc, package pgirmess), which evaluates differences in medians among groups (5 groups). A result of a test is significant differences among some groups, while median values are the same for 4 groups (using tapply). Why?
p.s.: number of samples in groups vary from 50 to 4900.
Thanks to all, OV
.
2014 Oct 16
2
Heatmap de paro (o de otra cosa) en España
Hola Pedro.
El INE cambió los ficheros de microdatos no hace mucho, aquí dejo como
se haría ahora, (utilizando MicroDatosEs). Lo que cambia es la función
para recodificar.
http://rpubs.com/joscani/unemplrate
El 15/10/14 a las #4, Carlos Ortega escribió:
> Hola Pedro,
>
> Acabo de recordar que hace poco José Luis Cañadas (participa en esta lista)
> publicó un enlace suyo a un
2009 Aug 21
4
help with median for each row
Hi,
I tried looking through google search on whether there's a way to computer
the median for each row of a nxn matrix and return the medians for each row
for further computation.
And also if the number of columns in the matrix are even, how could I
specify which median to use?
Thank you very much!
--
Edward Chen
[[alternative HTML version deleted]]
2012 Jul 19
3
median comparison tests
Hi,
A client has a consumption measure on each of four products. The sample
size is 75. The consumption distributions are highly skewed for each
product. He would like a pairwise comparison test of the products, much
like Tukey's HSD but using medians rather than means. Is there such a
median comparison test in R?
Thanks,
Walt
________________________
Walter R. Paczkowski, Ph.D.
2018 Jun 25
2
Transformar muchas variables factor en variables binarias de acuerdo a niveles
Por cierto data.table tiene implementadas las funciones de reshape2 melt y dcast pero mucho m?s r?pidasen ejecuci?n
Obtener Outlook para Android<https://aka.ms/ghei36>
________________________________
From: R-help-es <r-help-es-bounces en r-project.org> on behalf of V?ctor Granda Garc?a <victorgrandagarcia en gmail.com>
Sent: Monday, June 25, 2018 4:23:52 PM
To: Fernando Reche
2013 Oct 24
1
Rarezas con boot
Pues parece que el problema si es de lme4, cuya versión 1.0-4 se publicó en
septiembre de este año. En la página en cran del paquete pone "The core
computational algorithms are implemented using the Eigen C++ library for
numerical linear algebra and RcppEigen "glue" " . El tema es que al
utilizar esta versión junto con la librería boot, el tiempo de cálculo se
incrementa
2009 Sep 08
1
Obtaining value of median survival for survfit function to use in calculation
Hi,
I'm sure this should be simple but I can't figure it out! I want to get the median survival calculated by the survfit function and use the value rather than just be able to print it. Something like this:
library(survival)
data(lung)
lung.byPS = survfit(Surv (time, status) ~ ph.ecog, data=lung)
# lung.byPS
Call: survfit(formula = Surv(time, status) ~ ph.ecog, data = lung)
1
2008 Jun 10
1
Problem with by(... , median)
Hello everyone,
I am new to R, I have been using SAS for a while. Not surprisingly, I
find R much better in graphics, which is publication ready right away.
Recently, I have been trying to calculate some basic statistics using R.
I have a dataset of multiple rows per subject. For example:
Subject Date Factor1 Factor2 Factor3
P1 0.5 1 1 3
P1 1 3 2 5
P1 2 3 5 NA
...
P2 0.5 1 6 4
P2 1 2 NA 7
P2
2014 Jul 17
2
[Grupo de Usuarios R Madrid]: Siguiente reunión el 1-julio... (Agenda disponible)...
Hola:
El 02/07/14 a las #4, Jose Luis Cañadas Reche escribió:
> [...]
> Ya de paso pregunto si alguien está interesado en
> hacer un GIL (Grupo de Interés Local) en Andalucía..
¿En que zona tienes interés?
En Almería no hay muchos eRReros pero alguno que otro estamos.
Salud y Revolución.
Lobo.
--
Libertad es poder elegir en cualquier momento. Ahora yo elijo GNU/Linux,
para no
2014 Jul 02
2
[Grupo de Usuarios R Madrid]: Siguiente reunión el 1-julio... (Agenda disponible)...
Hola,
Ya está disponible el material que utilizamos en la reunión de ayer (videos
y presentaciones) en la página del grupo:
http://r-es.org/GILMadrid
(Disculpas por adelantado por el video de la píldora sobre el paquete
"pipeR" que por un problema técnico ha salido sin sonido).
Saludos,
Carlos Ortega
www.qualityexcellence.es
El 29 de junio de 2014, 1:44, Carlos Ortega
2006 Oct 22
1
least median squares
Does anyone can provide a code to implement least median squares
regression in R (not using the lqs function or calling C functions)?
Reason: teaching/learning purposes
Thanks
PM
2006 Mar 16
1
running median and smoothing splines for robust surface f itting
loess() should be able to do robust 2D smoothing.
There's no natural ordering in 2D, so defining running medians can be
tricky. I seem to recall Prof. Koenker talked about some robust 2D
smoothing method at useR! 2004, but can't remember if it's available in some
packages.
Andy
From: Vladislav Petyuk
>
> Hi,
> Are there any multidimenstional versions of runmed() and
>
2002 Sep 16
1
Running Median and Mean
R gurus,
On Aug 20, 2002, I asked in R-help about calculating a running 5-day median on
a large matrix. Thanks to Martin Maechler <maechler@stat.math.ethz.ch> and Ray
Brownrigg <Ray.Brownrigg@mcs.vuw.ac.nz> for responding.
I ended up writing C code (and an R interface) to do it, which is about 1000x
faster than the naive method! (72s became .09s on a 223 x 520 matrix). I
added a
2006 Mar 22
3
ordering boxplots according to median
Dear R-users,
Does anyone knows how I can order my serie of boxplots from lowest to
highest median (which is much better for visualization purposes).
thanks in advance,
willem
[[alternative HTML version deleted]]
2007 Jan 06
2
Bootstrapping Confidence Intervals for Medians
I apologize for this post. I am new to R (two days) and I have tried and tried
to calculated confidence intervals for medians. Can someone help me?
Here is my data:
institution1
0.21
0.16
0.32
0.69
1.15
0.9
0.87
0.87
0.73
The first four observations compose group 1 and observations 5 through 9 compose
group 2. I would like to create a bootstrapped 90% confidence interval on the
difference of
2013 Jun 13
2
fecha primera versión de R
Muy interesante. Gracias Carlos.
Estaba indagando en los orígenes, más que nada como referencia en un
documento, pero dan ganas de probar la R 0.49.
Creo que la primera que instalé fue R 1.2.0, en un curso que dieron en
la universidad allá por el 2000. ¿y vosotros?
Saludos
El 13/06/13 15:12, Carlos J. Gil Bellosta escribió:
> Hola, ¿qué tal?
>
> Richard A. Becker tiene un
2018 Jun 25
2
Transformar muchas variables factor en variables binarias de acuerdo a niveles
Puedes probar con la función dummy del paquete dummies.
Un saludo
Fernando Reche Lorite
Departamento de Matemáticas
Universidad de Almería
El 25 de junio de 2018, 15:55, Carlos J. Gil Bellosta <cgb en datanalytics.com>
escribió:
> ¿No te vale model.matrix?
>
> El lun., 25 jun. 2018 a las 15:49, Juan Abasolo (<juan.abasolo en ehu.eus>)
> escribió:
>
> > Buenas,
2010 Apr 06
1
median of two groups
Dear all,
What is the right test to test whether the median of two groups are
statistically significant? Is it the wilcox.test, mood.test or the ks.test?
In the text book I have got there is explanation for the Wilcoxon (Mann
Whitney) test which tests ob the two variable are from the same population
and also ks.test!
Regards,
Cheba
[[alternative HTML version deleted]]
2012 Nov 20
1
lattice density plot: add vertical lines at groupwise medians for all panels
Suppose you have the following code:
########## Start code##########
data(Chem97, package="mlmRev")
densityplot(~gcsescore | factor(score), groups=gender, data=Chem97,
auto.key=TRUE, plot.points=FALSE, ref=TRUE,
panel=function(x,...){
panel.densityplot(x,...)
median.values <- median(x)