Displaying 20 results from an estimated 2000 matches similar to: "about power of tests"
2004 May 27
3
Different results
Hello everybody,
I've been practicing with some data in R and SPSS and I noticed that there are some differences in ANOVA results.
For example with :
y<-c(1,2,34,2,3,45,2,1,67,3,2,67,2,2,98,4,4,23,1,1,23,2,3,45) and
x<-rep(c(1,2,3),8)
I get in R ( with summary(aov(y~x)) )
MSres=350.7
df=22
while in SPSS I get
MSres=221.9
df=21
Can enyone explain me what is the problem or
2005 Mar 30
2
Step error
Could anyone tell me what am I doing wrong?
> pro<-function(indep,dep){
+ d<-data.frame(indep)
+ form<-formula(lm(dep~.,data=d))
+
forward<-step(lm(dep~X1,data=d),scope=form,trace=0,direction='f')
+ return(forward)
+ }
> pro(m,q)
Error in inherits(x, "data.frame") : Object "d" not
found
Where q is a vector with the dependent variable's
2012 Apr 10
3
How to get the SS and MS from oneway.test?
Hello everyone:
I'm a new member of this group.
I have a question about "oneway.test".
When I use "anova(lm(....))" to analysis the
ANOVA,
I can get the information about Sum Sq and Mean
Sq.
(The R code and the results are as follows.)
2011 Apr 21
1
one-way ANOVA model, with one factor, an unbalanced design and unequal variances
Hi,
i'm looking for an R function to fit a one-way ANOVA with one factor
containing 10 levels. The factor levels have different numbers of
observations (varying between 20 to 40). For most of the dependent variables
i'm testing there are unequal variances among the factor levels.
I see the function oneway.test:
oneway.test(variable ~ factor, data=dataset)
which by default does not
2018 Jan 16
1
Letters group Games-Howell post hoc in R
Hello everybody,
I use the sweetpotato database included in R package:
data(sweetpotato) This dataset contains two variables: yield(continous
variable) and virus(factor variable).
Due to Levene test is significant I cannot assume homogeneity of variances
and I apply Welch test in R instead of one-way ANOVA followed by Tukey
posthoc.
Nevertheless, the problems come from when I apply posthoc
2005 May 04
4
rank of a matrix
how do I check the rank of a matrix ?
say
A= 1 0 0
0 1 0
then rank(A)=2
what is this function?
thanks
I did try help.search("rank"), but all the returned help information
seem irrelevant to what I want.
I would like to know how people search for help information like this.
rank(base) Sample Ranks
SignRank(stats) Distribution of the
2007 Mar 12
2
altering prefix to multiple variables in different locations within a command file
Hello,
I am seeking advice regarding how I might add the prefix " kc$ " to
variables in a series of commands. The complication is that there is
a large number of variables with different commands. Examples of the
variables in typical commands follow.
It is simple to use search & replace for common variables such as
"group" but I would appreciate advice about whether
2012 Nov 29
2
Analysis of Variance
Hi, I am encountering a difficulty I don't understand. Be patient, I'm very
new to analysis of variance.
If I load this data:
example12_7=read.table("http://msemac.redwoods.edu/~darnold/math15/data/chapter12/example12_7.dat",header=TRUE)
The run the oneway.test:
oneway.test(time~drug,data=example12_7,var.equal=TRUE)
I get these results:
data: time and drug
F = 4.1881, num
2004 Nov 22
1
Left justification af dimnames in tables.
Hi helpeRs.
When I do two-ways tables dimnames in columns are almost left-adjusted:
<- factor(rbinom(30,1,.3),labels=c("first","second"))
> b <- a
> table(a,b)
b
a first second
first 21 0
second 0 9
If I do a oneway table however, dimnames are right-adjusted:
table(a)
a
first second
21 9
Actually I must admit I
2007 Jan 09
5
a question of substitute
Hi all,
I want to write a wrapper for an analysis of variance and I face a curious
problem. Here are two different wrappers:
fun.1 <- function(formula) {
summary(aov(formula))
}
fun.2 <- function(formula) {
oneway.test(formula)
}
values <- c(15, 8, 17, 7, 26, 12, 8, 11, 16, 9, 16,
24, 20, 19, 9, 17, 11, 8, 15, 6, 14)
group <- rep(1:3, each=7)
# While the first
2008 Mar 15
1
Anova
Hi all,
I apologize for what might be a silly question.
I am interested in doing a one way anova.
This is not too hard in and of itself, either with anova, aov or oneway.test
.
However, I need to
1) get pvalues,
2) do a posthoc analysis with Tukey HSD,
3) and have (sometimes) an unbalanced design.
I just can't seem to put all the pieces together.
Any suggestions?
Thanks in advance,
Dan.
2009 Jul 09
2
plm Issues
Hi List
I'm having difficulty understanding how plm should work with dynamic
formulas. See the commands and output below on a standard data set. Notice
that the first summary(plm(...)) call returns the same result as the second
(it shouldn't if it actually uses the lagged variable requested). The third
call results in error (trying to use diff'ed variable in regression)
Other info:
2004 Jun 21
2
Welch-JM-Test or Brown-Forsythe-Test in R?
Does oneway.test do what you want?
Hope this helps,
Matt Wiener
-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Sven Hartenstein
Sent: Monday, June 21, 2004 3:23 PM
To: r-help at stat.math.ethz.ch
Subject: [R] Welch-JM-Test or Brown-Forsythe-Test in R?
Hi,
I want to test mean differences of > 2 groups with
2005 Feb 02
2
Asterisk with SourdCard
My system is:
Redhat 9.0 + Asterisk + ISDN4Linux + Teles 16.3 ISA Passive card
I haven't sound card.
Comunication between two SIP Clients is OK
Comunication between PSTN and SIP Client is OneWay (i cant recive dtmf
and voice from pstn)
is it needed sound card ?
2009 Oct 02
2
Robust ANOVA with variance heterogeneity
Dear list members,
I am looking for an alternative function for a two-way ANOVA in the case of
variance heterogeneity. For one-way ANOVA, I found oneway.test(), but I
didn't find anything alike for two-way ANOVA. Does anyone have a suggestion?
Thank you!
Maike Luhmann
Freie Universit?t Berlin
2006 Mar 28
2
Welch test for equality of variance
Hello
Using R 2.2.1 on a Windows machine.
Has anyone programmed the Welch test for equality of variances?
I tried RSiteSearch, but this gave references to t test and
oneway.test, which are not quite what I need.....I need the Welch test
itself, for use in a meta-analysis (to determine if variances are
equal).
TIA
Peter
Peter L. Flom, PhD
Assistant Director, Statistics and Data Analysis
2005 Oct 11
2
Two factor (or more) non-parametric comparison of means
Can anyone suggest a good non-parametric test, and an R implementation of the test, that allows for two or more factors? Wilcoxon signed rank allows for only one.
Thanks,
John
John Sorkin M.D., Ph.D.
Chief, Biostatistics and Informatics
Baltimore VA Medical Center GRECC and
University of Maryland School of Medicine Claude Pepper OAIC
University of Maryland School of Medicine
Division of
2011 Nov 01
1
help with unequal variances
Hello,
I have some patient data for my masters thesis with three groups (n=16, 19 &
20)
I have completed compiling the results of 7 tests, for which one of these
tests the variances are unequal.
I wish to perform an ANOVA between the three groups but for the one test
with unequal variance (<0.001 by both bartlett and levene's test) I am not
sure what to do.
I thought i would run
2015 Mar 18
2
Asterisk switching bridge to native_rtp even with direct_media=no
Hey guys,
have issues with reinvite, no matter what endpoint is calling asterisk always tries switch simple_bridge to native_rtp
Bridge 0422bfa0-9d22-4bba-9108-a3f14d7d1cab: switching from simple_bridge technology to native_rtp
in endpoints table ?direct_media? sets to ?no? on all endpoints but it doesn?t help.
if native_rtp not work for some reason I have oneway audio. how can I fix this?
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
.