search for: nortest

Displaying 20 results from an estimated 40 matches for "nortest".

Did you mean: fortest
2004 Feb 04
5
nortest package
Hi, I'm a newbie and i am unable to use lillie.test in nortest I have a message: "Couldn't find function "lillie.test" I am under windows2000 with R1.8.1 nortest is listed with .packages(TRUE) How to do to use lillie.test function? Laurent Houdusse Analyste Programmeur
2006 May 21
3
normality testing with nortest
I don't know from the nortest package, but it should ***always*** be the case that you test hypotheses H_0: The data have a normal distribution. vs. H_a: The data do not have a normal distribution. So if you get a p-value < 0.05 you can say that ***there is evidence*** (at the 0.05 significance level) that the data...
2006 Jun 14
1
Bug in nortest cvm.test package (PR#8980)
I believe there to be a bug in the cvm.test module of the nortest package authored by Juergen Gross. I do not know how to contact the author directly. 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 nor...
2007 Jul 07
1
Minor bug in lillie.test from nortest package (PR#9784)
Full_Name: David Sterling Version: 2.4.0 OS: OS X Submission from: (NULL) (64.81.102.199) lillie.test() dies without grace producing the error message: 'Error in if (pvalue > 0.1) { : missing value where TRUE/FALSE needed' when passed a vector of identical values. Examples: > lillie.test(c(0,0,0,0,0,0,0,0,0,0)) Error in if (pvalue > 0.1) { : missing value where TRUE/FALSE
2006 Dec 06
3
R-Help
Respected Sir I am a very new user of R. I want to ask a question about "the nortest package". In this package how we can write the code of ad.test, cvm.test, ks.test for other distributions like GEV, GPA etc. I request you to please guide to me. Kind Regards AMNA -- AMINA SHAHZADI Department of Statistics GC University Lahore, Pakistan. Email: amnakhan493@gmail.com amna_9...
2005 Nov 17
1
(no subject)
Hi there, I am trying to perform different normality tests in R. I have no problem when I use Shapiro.test( ). However, when I try to use any normality tests from the Nortest package, I kept getting this error " Error in read.table(source, header = T, fill = T) : 'file' must be a character string or connection". I have no idea why because there was no problem with the read.table () in the Shapiro.test(). I had installed Nortest package alrea...
2010 Sep 02
1
Error: could not find function "ad.test"
Hi, I'm trying to run an anderson-darling test for normality on a given variable 'Y': ad.test(Y) I think I need the 'nortest' package, but since it does not appear in any of the Ubuntu repositories for 2.10.1, I am wondering if it goes by the name of something else now? Thanks -- View this message in context: http://r.789695.n4.nabble.com/Error-could-not-find-function-ad-test-tp2501293p2501293.html Sent from the R...
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 results of the tes...
2008 Aug 10
2
detect if data is normal or skewed (without a boxplot)
Hello all: Is there a way to detect in R if a dataset is normally distributed or skewed without graphically seeing it? The reason I want to be able to do this is because I have developed and application with Visual Basic where Word,Access and Excel "talk" to each other and I want to integrate R to this application to estimate confidence intervals on fish sizes (mm). I basically want to
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
2011 May 27
1
Normality test
Dear Sir, I am writing to inquire about normality test given in nortest package. I have a random data set consisting of 300 samples. I am curious about which normality test in R would give me precise measurement, whether data sample is following normal distribution. As p value in each test is different in each test, if you could help me identifying a suitable test in R...
2010 May 29
3
adding statistical output to a plot
I have written a function to emulate minitab's QQ plotting output (with SW test and AD test results on the graph): mtab.norm<-function(x) { library(nortest) library(lattice) x<-as.numeric(x) x<-as.vector(x) plot.ht<-4.6 plot.wd<-4.6 pt.ht=plot.ht/5 txt.sz<-(plot.ht/7.5) X11(width=plot.wd, height=plot.ht, bg='gray96') qqplot(x, pch=16, cex=pt.ht, col=palette()[c(1,2)], xlab=paste(colnames(x)), ylab='Normal Quantile-Quantile P...
2007 May 07
1
Simple question about function with glm
Dear all, I coded a function called u.glm u.glm <- function (x,ahi,age,bmiz,gender) { library(nortest) lil.rslt <- lillie.test(x) if (lil.rslt$p.value >0.05) { cat("Logtrans=0, lillie=",lil.rslt$p.value,"\n") xmodel<-glm(x~ahi+age+bmiz+as.factor(gender)) summary(xmodel) confint(xmodel) } else { cat("Logtrans=1, lillie=",lil.rslt$p.valu...
2012 Oct 13
1
DCC help
hi all, i am using a dcc model for my senior thesis, it looks at stock returns during times of market uncertainty. my current rfile is below. library(SparseM) library(quantreg) library(zoo) library(nortest) library(MASS) library(fEcofin) library(mvtnorm) library(ccgarch) library(stats) library(foreign) #dataset<-read.csv(file="xxxx",header=FALSE) attach(dataset); vardata=data.frame(dataset[,2],dataset[,4]) ### DCC ### #initial values a1 <- c(0.003, 0.001, 0.001) A1 <- diag(c(0....
2010 Feb 22
4
Normal distribution (Lillie.test())
Hi all, I have a dataset of 2000 numbers ( it's noise measured with a scoop ) Now i want to know of my data is normal distributed (Gaussian distribution). I did already: - 68-95-99.7 test - Q-Q-plot and now i used "nortest library" and the Lilli.test() However i don't understad the output? lillie.test(z) Lilliefors (Kolmogorov-Smirnov) normality test data: z D = 0.0218, p-value = 0.0278 I read wiki, but still can understand it.. Can anyone, give an explanation of my output D and p-value? Thanks in...
2004 Nov 17
1
R: log-normal distribution and shapiro test
...garitmic transformation "shapiro.test(log10(y))" says: W=0.9773, p-value= 2.512e-05." it seems the log-values are not distributed normally and so original data are not distributed like a log-normal: the p-value is extremally small! Other tests for normality are available in package: nortest compare the log-transformation of your ecdf with normal cdf: see ? ecdf use qqnorm and qqplot did you calculate skewness and kurtosis? see in package fBasics. I remember to you that the log-normal distribution as three parameters: shape parameter, location parameter and scale parameter. Transfr...
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
2009 May 29
2
Odd Behavior Out of setdiff(...) - addition of duplicate entries is not identified
I think I am using the improved version of setdiff(...) that handles data.frames, so I think some odd behavior was expected but this one is escaping me. It appears that the the addition of duplicate entries is not caught by the setdiff(...). Is this expected behavior? If so, is there another method or approach that should be used to identify duplicate row entries between two different data
2005 Nov 01
0
two sample Cramer-von Mises test
Hello list, Is there any function in some package can calculate two sample Cramer-von Mises test statistic? I searched around and only find one sample version cvm.test() in nortest package. thanks, WC _________________________________________________________________ Don’t just search. Find. Check out the new MSN Search!
2006 May 23
1
problem with ad.test
dear experts, i am a novice and have been trying to use the anderson-darling test on a simple text file with one column of data. i have followed the example in the manual to read from a file into a vector(mm). i am able to see the summary stats with >summary(mm) however, when i try to use the ad.test package, it keeps coming up with the following error messages, > ad.test(mm) Error in