Displaying 20 results from an estimated 10000 matches similar to: "Normality tests"
2010 Jun 23
2
About normality tests...
Hi all,
I have two very large samples of data (10000+ data points) and would
like to perform normality tests on it. I know that p < .05 means that
a data set is considered as not normal with any of the two tests. I am
also aware that large samples tend to lead more likely to normal
results (Andy Field, 2005).
I have a few questions to ensure that I am using them right.
1) The Shapiro-Wilk
2001 Jul 02
2
Shapiro-Wilk test
Hi,
does the shapiro wilk test in R-1.3.0 work correctly? Maybe it does, but can
anybody tell me why the following sample doesn't give "W = 1" and
"p-value = 1":
R> x<-1:9/10;x
[1] 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9
R> shapiro.test(qnorm(x))
Shapiro-Wilk normality test
data: qnorm(x)
W = 0.9925, p-value = 0.9986
I can't imagine a sample being
2001 May 28
3
normality test
Hello
I have used recently the kolmogorov smirnov test,
which is a test of normality.
This test is named ks.test() in ctest library of R.
I wonder if the results of ks.test () are true, because
the results are strange, time to time.
thank you for help
meriema
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2008 Jan 29
1
Help needed on Normality test
Hi all T gurus,
I would like to test if my dataset is indeed from N(0, 0.011908969).
K.S. test gives following result:
> ks.test(data, "pnorm", 0, 0.011908969)
One-sample Kolmogorov-Smirnov test
data: data
D = 0.1092, p-value = 1.318e-05
alternative hypothesis: two-sided
How ever "Shapiro-Wilk" test give following :
>
2001 Apr 23
3
missing ctest and methodological question
Hi,
I couldn't figure out how to use the functions from the
ctest library. I'm using the r-base package that comes with
debian potato. library("ctest") told me that no such package
existed. I checked the CRAN, but no such package was
availiable, instead I was told that it would be part of the
standard installation. But functions from ctest like
shapiro-wilk don't work. The
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
2010 Sep 22
2
kstest vs shapirotest
Dear R-users
Idea:
Analysing tree height frequency with hist(), normal distribution (ks.test & shapiro.test) and skewness (package e1071 - thanks a lot for this useful package)as an indication of possible self-thinning in an experimental tree stand.
Problem:
Results from the ks.test and the shapiro.test are not comparable (see example of both tests). Tree height is a nice continuous
2013 Jan 03
3
How to plot multiple datasets
Good Morning,
I have 3 sets of data, all with the same horizontal axis but with varying
vertical input. I want to plot all 3 sets on one x-y plot. I can get 3
linear regression plots and 3 polynomial regression plots on the same chart
but I have not been able to get more than one set of input data on the same
chart. Can you help me?
Thank you for all that you do to provide R to the public.
2001 Nov 10
2
Goodness-of-fit on Burr distributed data
I simulate a uniform data and then transformed into Burr(1,3,1) data,
which is of pdf:
f(x)=[3*(x^2)] / [(1+x^3)^2], x>0
How can I perform a goodness-of-fit test (k-s,
anderson-darling,chisq,cramer-von mises,...) on it (should highly accept)
to get test-statistics & p-values?
Thanks!
Sincerely,
Shelton Jin
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
2012 Nov 09
3
Looking for a test of standard normality
Dear list members,
I am looking for a goodness of test that will tell me if a sample is
likely to have come from a standard normal distribution. I can find
plenty of omnibus tests for normality in the nor.test package, but none
of them appear to allow me to test against the specific alternative that
the data are not standard normal. My back up option is to use a
Kolmogorov-Smirnov test, but my
2009 Nov 06
4
PRUEBAS DE NORMALIDAD
Estimados todos:
Me es grato escribir a esta lista de ayuda para R, ya que comparto 100% la filosofĂa de Software libre en especial software en EstadĂstica ya que es la carrera que estoy siguiendo.
El motivo de este mensaje es por un par de dudas que no pude resolver:
1. He utilizado las funciones para realizar pruebas de normalidad (kolmogorov-smirnov, cuando n>50) y (Shapiro, cuando
2007 Nov 16
2
ks.test
Hello,
I want to do normality test on my data
I write this but I don't understand the display of the results
ks.test(data,"pnorm")
In fact I want to know if my data is a normal distribution. I have to check the p-value or D?
Thanks.
_____________________________________________________________________________
l
[[alternative HTML version deleted]]
2008 Jul 12
5
shapiro wilk normality test
Hi everybody,
somehow i dont get the shapiro wilk test for normality. i just can?t
find what the H0 is .
i tried :
shapiro.test(rnorm(5000))
Shapiro-Wilk normality test
data: rnorm(5000)
W = 0.9997, p-value = 0.6205
If normality is the H0, the test says it?s probably not normal, doesn
?t it ?
5000 is the biggest n allowed by the test...
are there any other test ? ( i know qqnorm
2024 Sep 02
2
Adding parameters for Benchmark normal distribution in shapiro.test
Hi,
In ?shapiro.test, there seems to be no option to pass mean and sd
information of the Normal distribution which I want to compare my
sample data to.
For example in the code below, I want to test my sample to N(0, 10).
shapiro.test(rnorm(100, mean = 5, sd = 3))
Is there any way to pass the information of the benchmark normal distribution?
2010 Apr 01
2
Regression
I am trying to learn R, and am having problems with doing a simple linear
regression. I loaded data from a fixed width file, using wd=c(...), and
read.fwf(...) and I can read in the file ok and it comes in as vectors in
columns, which is what I expected. The problem is when I try to do a linear
regression, lm=(y~x), I get the following error message, "Error in
model.frame.default(formula =
2006 Jun 13
1
Cramer-von Mises normality test
Hi, this is my first help request so please bear with me.
I've been running some normality tests using the nortest package. For
some of my datasets the Cramer-von Mises normality test generates an
extremely high probability (e.g., 1.637e+31) and indicates normality
when the other tests do not. Is there something I'm misunderstanding
or potentially a bug in the code?
Below are the
2004 Dec 22
2
how to fit in R
Good morning,
in my work I need to study data distributions and so I need to fit the
experimental distribution by theoretical curves such as normal, Poison,
binomial and so on. I'd like to know, given a vector of data, for example
x<-rnorm (1000, 10)
if they follow a normal distribution. I'd like to do a fit (to estimate
the parameters of the theoretical distribution) and then a
2007 Nov 29
1
Testing normality
Hi,
I'm doing kolmogorv-smirnov test but I don't know what conclusions to take, I want to know if my data has a normal distribution:
> ks.test(dados1,"pnorm")
One-sample Kolmogorov-Smirnov test
data: dados1
D = 0.972, p-value < 2.2e-16
alternative hypothesis: two-sided
Warning message:
cannot compute correct p-values with ties in: ks.test(dados1,
2005 Sep 09
2
test for exponential,lognormal and gammadistribution
hello!
i don't want to test my sample data for normality, but exponential- lognormal-
or gammadistribution.
as i've learnt the anderson-darling-test in R is only for normality and i am
not supposed to use the kolmogorov-smirnov test of R for parameter estimates
from sample data, is that true?
can you help me, how to do this anyway!
thank you very much!
nadja
2009 Oct 22
1
Normality test
I am having a hard time interpreting the results of the 'shapiro.test' for normality. If I do ?shapiro.test I see two examples using rnorm and runif. When I run the test using rnorm I get a wide variation of results. Most of this may be from variability of rnorm, samll sample size (limited to 5000 for the test), etc but if I repeat the test multiple times I can get:
>