Displaying 20 results from an estimated 3000 matches similar to: "merge data frames taking mean/mode of multiple macthes"
2005 Jan 25
1
r square values for independent variables in multiple linear regr ession model -- newbie
Hello
Could you please suggest a way to find out the r square values for each
independent variable while using "lm" for developing a multiple linear
regression model.
Thank you
avneet
"I have no data yet. It is a capital mistake to theorize before one has
data. Insensibly one begins to twist facts to suit theories instead of
theories to suit facts."
~ Sir Arthur Conan Doyle
2005 Jan 11
1
transcan() from Hmisc package for imputing data
Hello:
I have been trying to impute missing values of a data
frame which has both numerical and categorical values
using the function transcan() with little luck.
Would you be able to give me a simple example where a
data frame is fed to transcan and it spits out a new
data frame with the NA values filled up?
Or is there any other function that i could use?
Thank you
avneet
=====
I believe in
2005 Aug 29
1
staying with R, jobs in R
Hi:
I started using R and am an avid fan of the product and also the concept. I
am considering switching jobs but do wish to continute with R while the
industry standard seems to be SAS. Is there any web site which posts jobs at
places which use R for their work.
avneet
--
An eye for an eye makes the whole world blind.
~Mahatma Gandhi
http://truthloveandcompassion.blogspot.com/
2006 Nov 06
2
comparing 2 dataframes
Een ingesloten tekst met niet-gespecificeerde tekenset is
van het bericht gescrubt ...
Naam: niet beschikbaar
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20061106/756382a8/attachment.pl
2006 Sep 22
2
Merge problem
Hello all,
I have read as many merge issues as I possibly could tonight and
although I presume this is a small error, I have not found the
solution to my problem.
I'm trying to merge two data sets: dat0 and TransTable. As you can
see below, dat0 has 8000 rows, whereas TransTable has 47296 rows. I
would expect when I merge the two data sets, with all.x=F, and
all.y=F, that the
2005 May 15
3
adjusted p-values with TukeyHSD?
hi list,
i have to ask you again, having tried and searched for several days...
i want to do a TukeyHSD after an Anova, and want to get the adjusted
p-values after the Tukey Correction.
i found the p.adjust function, but it can only correct for "holm",
"hochberg", bonferroni", but not "Tukey".
Is it not possbile to get adjusted p-values after
2005 Jan 22
1
Wilcoxon test for mixed design (between-within subjects)
Hallo,
is there any extension of the pairwise Wilcoxon test to a dependent
samples layout with replicates (or, in other terms, a one-way layout
with blocking and replicates)?
The Wilcoxon method with matched pairs works for the case of dependent
samples with one observation per block, while the Mann-Whitney test
works for independent samples, thus one single block and replicated
observations. Is
2005 Mar 02
2
wilcox.test statistics
Hi,
Could anyone provide the formula of the statistics which the wilcox.test
used for the two-sample rank-sum test? I got some statistics of 0 values,
but it is impossible to have 0 "rank-sum". Does the function use the
Mann-Whitney U test statistics? Thanks.
Ting-Yuan Liu
2005 Mar 18
1
Pb with ks.test pvalue
Hello,
While doing test of normality under R and SAS, in order to prove the efficiency of R to my company, I notice
that Anderson Darling, Cramer Van Mises and Shapiro-Wilk tests results are quite the same under the two environnements,
but the Kolmogorov-smirnov p-value really is different.
Here is what I do:
> ks.test(w,pnorm,mean(w),sd(w))
One-sample Kolmogorov-Smirnov test
data: w
D
2005 Feb 16
4
(no subject)
R-people
I wonder if one could change a list of table with number of the form
1,200.44 , to 1200.44
Regards
JG
------------------------------------------------------------------------------
This e-mail and any attachment may be confidential and may also be privileged.
If you are not the intended recipient, please notify us immediately and then
delete this e-mail and any attachment without
2004 Dec 13
1
Friedman test for replicated blocked data
Hi,
I would need to extend the Friedman test to a replicated
design. Currently the function: friedman.test(y, ...) only works for
unreplicated designs.
I found in Conover 1999 "Practical Nonparamteric statistics" an
extension of the formula to my case.
Nevertheless, other sources, like Sheskin 2000 "Parametric and
Nonparametric statistical Procedures" and Daniel 1990
2005 Jan 21
1
Cholesky Decomposition
Can we do Cholesky Decompositon in R for any matrix
---------------------------------
[[alternative HTML version deleted]]
2005 Jan 27
3
How to generate labels or names?
Hi,
I'm new to R and I would like to generate labels like data.frame does
: "V1 V2 V3...".
I'm trying to generate a N vector with label such as "Lab1 Lab2 ... LabN".
I guess this is pretty easy when you know R ;)
Thanks for help
Eric
2005 Jan 07
2
Getting empirical percentiles for data
Dear List,
I have some discrete data and want to calculate the percentiles and the
percentile ranks for each of the unique scores. I can calculate the
percentiles with quantile().
I know that "ecdf" can be used to calculate the empirical cumulative
distribution. However, I don't know how to exact the cumulative
probabilities for each unique element. The requirement is similar
2005 Jan 18
3
Dropping a digit with scan() on a connection
R gurus,
My use of scan() seems to be dropping the first digit of sequential
scans on a connection. It looks like it happens only within a line:
> cat("TITLE extra line", "235 335 535 735", "115 135 175",
file="ex.data", sep="\n")
> cn.x <- file("ex.data", open="r")
> a <- scan(cn.x, skip=1, n=2)
Read 2 items
2005 Feb 18
2
bivariate empirical cdf
Dear R users,
I'm trying to write a small function in order to compute empirical cumulative density function.All seems to work but when I try to plot the function, I always get error messages.
This is the function I use
mecdf<-function(u,v,z) {
u=sort(u)
v=sort(v)
n=length(u)
nb=0
for (i in seq(1,n)) {
if (u[i]<z & v[i]<z) {
nb<-nb+1
}
}
nb=nb/n
2005 Feb 16
2
problem with se.contrast()
I am having trouble getting standard errors for contrasts using se.contrast() in
what appears to be a simple case to me. The following test example illustrates
my problem:
Lab <- factor(rep(c("1","2","3"),each=12))
Material <- factor(rep(c("A","B","C","D"),each=3,times=3))
Measurement <-
2005 Jan 11
3
Kolmogorov-Smirnof test for lognormal distribution with estimated parameters
Hello all,
Would somebody be kind enough to show me how to do a KS test in R for a
lognormal distribution with ESTIMATED parameters. The R function
ks.test()says "the parameters specified must be prespecified and not
estimated from the data" Is there a way to correct this when one uses
estimated data?
Regards,
Kwabena.
--------------------------------------------
Kwabena Adusei-Poku
2006 Mar 15
2
difftime arguments
Hi
I just started using RGui.exe under widnows.
I have a text file containing date arranged in columns and rows, each column has the same format, each row with different formats. 3 of the columns are something like this 1/12/2006 3:59:45 PM
I need to calculate the different in seconds between 2 selected periods using their row’s index
My solution:
Read the file in a data frame and
2005 Jan 03
1
different DF in package nlme and lme4
Hi all
I tried to reproduce an example with lme and used the Orthodont
dataset.
library(nlme)
fm2a.1 <- lme(distance ~ age + Sex, data = Orthodont, random = ~ 1 | Subject)
anova(fm2a.1)
> numDF denDF F-value p-value
> (Intercept) 1 80 4123.156 <.0001
> age 1 80 114.838 <.0001
> Sex 1 25 9.292 0.0054
or alternatively