search for: qq

Displaying 20 results from an estimated 620 matches for "qq".

2013 Sep 10
1
[PATCH] show vector length in summary()
...base/R/summary.R.old /home/sds/src/R-3.0.1/src/library/base/R/summary.R --- /home/sds/src/R-3.0.1/src/library/base/R/summary.R.old 2013-03-05 18:02:33.000000000 -0500 +++ /home/sds/src/R-3.0.1/src/library/base/R/summary.R 2013-09-10 10:19:02.682946339 -0400 @@ -39,6 +39,7 @@ summary.default <- qq <- stats::quantile(object) qq <- signif(c(qq[1L:3L], mean(object), qq[4L:5L]), digits) names(qq) <- c("Min.", "1st Qu.", "Median", "Mean", "3rd Qu.", "Max.") + qq <- c(qq,"Length" = length(object)) if(any(nas))...
2010 Oct 04
1
Help with apply
...ave the following data: tmp <- data.frame(var1 = sample(c(0:10), 3, replace = TRUE), var2 = sample(c(0:10), 3, replace = TRUE), var3 = sample(c(0:10), 3, replace = TRUE)) I can run the following double loop and yield what I want in the end (rr1) as: library(statmod) Q <- 2 b <- runif(3) qq <- gauss.quad.prob(Q, dist = 'normal', mu = 0, sigma=1) rr1 <- matrix(0, nrow = Q, ncol = nrow(tmp)) L <- nrow(tmp) for(j in 1:Q){ for(i in 1:L){ rr1[j,i]...
2004 Mar 08
0
Graphical Test
...ance for your help. :-) Jei > ### Graphical test of suitability of the exponential and gamma model for the aircondit data > > > library(boot) > > data(aircondit) > > > > # Testing if the aircondit data comes from an exponential distribution > > expqq.fun <- function(data, q) sort(data)/mean(data) > exp.gen <- function(data, mle) rexp(length(data), mle) > n <- nrow(aircondit) > qq <- qexp((1:n)/(n+1)) > exp.boot <- boot(aircondit$hours, expqq.fun,R=999, sim="parametric", + ran.gen=exp.gen, mle=1/mean(airc...
2011 Feb 22
3
QQ International -- Almost works, but always says I'm "Away"
I got QQ International (version 1.0) to work via WINE under Mepis 8.5. Using winetricks, I installed all of the missing DLL's, and QQ now starts up and runs fine. ... except for the fact that it always shows me as being "Away". Even if I manually set my status to "Online", it change...
2012 Feb 17
1
QQ plot
Hello, I am having two data set original and predicted. I want to dind QQ-plot fot it. I tried in following manner : >qq(original~predicted) and error was : Error in qq.formula(o ~ p) : y must have exactly 2 levels There is an option "qtype" which dosent make any difference. What is the correct way for plotting QQ-plot or am I missing something. -- Ama...
2014 Mar 21
3
Local account login failed when samba join to LDAP
.../usr/lib/security/pam_unix.so I can use LDAP account to login samba via the below command, smbclient -L 192.168.8.75 -U kevin2%123456123456 But when I use local account to login samba via smbclient, it reports "session setup failed: NT_STATUS_LOGON_FAILURE" smbclient -L 192.168.8.75 -U qq%qq One thing is interested that when I change "passdb backend = ldapsam:ldap://192.168.8.143" to "passdb backend = tdbsam", local account can login samba but LDAP account will fail to login. The below is samba output debug message, [2014/03/21 17:44:25.780867, 5] lib/smbldap.c...
2010 Jun 23
1
Video call with QQ or any messenger
Hi everyone, I'm a newbie to wine, and am working on QQ or any other messengers in wine. My environment is : ubuntu 10.04, installed wine 1.1.42, QQ2009. And during my debugging, I also check some source code from latest wine 1.2-rc4. Although QQ's level is "garbage", but fortunately it works almost fine under wine, including login, text...
2010 Jun 08
10
QQ International - How to troubleshoot an app that wont run?
As I mentioned in the subject, I have installed the latest version of QQ International (beta 3), under wine in ubuntu lucid. It installs without much trouble, however when I run the application, nothing happens. How do I begin troubleshooting this application to see if I can make it work? Or if anyone happens to know of an x64 linux qq client that actually work...
2002 Dec 08
3
strange QQ-Plot
Hi, i am working on a data set with EDA. That includes QQ-Plots of residuals vs expected normal distribution. What puzzles me is that the range of ordinate and abscissae is so different: while the theoretical quantiles range from [-2, 2] the sample quantiles on the ordinate do extent from [-20, 50]. Quite obviously some kind of transformation is done....
2007 Nov 30
2
Quantiles and QQ plots
I have 20 variables: 5,9,6,1,5,9,7,4,5,6,3,2,4,8,9,6,1,8,4,8 How do I calculate the corresponding quantiles from a normal distribution with the same mean and variance as the sample? Also, how do I draw a QQ plot of the data? Thanks for any help! -- View this message in context: http://www.nabble.com/Quantiles-and-QQ-plots-tf4925742.html#a14097909 Sent from the R help mailing list archive at Nabble.com.
2009 Nov 01
2
Internal error in 'ls' for pathological environments (PR#14035)
...of course a peculiar call (no names in the list), but the error is not caught cleanly. It is not clear from the documentation whether with(list(2)...) is allowable; if it is not, it should presumably give an error. If it is, then ls shouldn't have problems with the resulting environment. > qq <- with(list(2),ls()) # An incorrect call (no names in list) > nchar(qq) Error in nchar(qq) : 'getEncChar' must be called on a CHARSXP # ls returned a bad object > qq [1]Error: 'getEncChar' must be called on a CHARSXP > qq[1] [1]Error: 'getEn...
2005 Feb 09
1
efficient R code
...the exact distribution. I'm looking forward to comments on improving the programming efficiency for this problem. (The "return(...)" seems to be necessary in R only.) Knut #-------------------------------------------------------------------------- # asymp.SMN.pvalue(pP,qP,pX,qX,pQ,qQ) # exact.SMN.pvalue(pP,qP,pX,qX,pQ,qQ) #-------------------------------------------------------------------------- # pP,qP = number of PP,PQ children of PP~PQ parents # pX,qX = number of PP,QQ children of PQ~PQ parents # pQ,qQ = number of PQ,QQ children of PQ~QQ parents #---------------------------...
2013 Apr 05
1
mixed formatting of integer and numeric (e. g., by summary.default())
...sing - from my current point of view - the same commands as the respective part of summary.default() does, i. e., > my.summary <- function( object, digits = max( 3, getOption("digits")) - 3) { nas <- is.na( object) object <- object[ !nas] qq <- stats::quantile( object) qq <- signif( c( qq[ 1L:3L], mean( object), qq[ 4L:5L]), digits = digits) names( qq) <- c( "Min.", "1st Qu.", "Median", "Mean", "3rd Qu.", "Max.") v <- i...
2020 Feb 06
3
Call for testing: OpenSSH 8.2
On 2020-02-06 at 13:28 +1100, Darren Tucker wrote: > Like this. > --- a/sshd_config.5 > +++ b/sshd_config.5 The ssh_config.5 also has a copy of this and presumably needs the same change, unless I've misunderstood. -Phil
2002 Jul 02
2
problem with qq( ) (PR#1729)
...frekvenssi.n <- c(2,8,12,19,33,47,42,15,2,1,0) win.graph() aikaero <- rep(c(aikaero,aikaero), c(frekvenssi.m,frekvenssi.n)) a.ero <- data.frame(aikaero, sukupuoli=rep(c("kukot","kisut"), c(sum(frekvenssi.m),sum(frekvenssi.n)))) qq(sukupuoli ~ aikaero, data=a.ero) However, running the following analysis, gives miehet vs. miehet. aikaero <- -27.5+5*(0:10) frekvenssi.m <- c(0,1,15,37,53,45,23,18,4,1,1) frekvenssi.n <- c(2,8,12,19,33,47,42,15,2,1,0) win.graph() aikaero <- rep(c(aikaero,aikaero), c(frekvenssi.m...
2007 Mar 01
1
Generating R plots through Perl
...roduce a pdf file with no data (i.e. the plot data is not getting passed to the file). It seems that the pipe connection created via Statistics::R cannot produce a graphics device window to save. A very simple version of the commands that I am using in my Perl program are as follows: $R->send(qq (xVal <- c(1,2,3,4,5,6))); $R->send(qq (yVal <- c(3,5,2,6,1,5))); $R->send(qq (pdf("C:/Test Environment/R/perlPlotTest.pdf"))); $R->send(qq (plot(xVal, yVal))); $R->send(qq (graphics.off())); As the code indicates, I am using R's pdf function to create a pdf file...
2007 Dec 06
1
correlation coefficient from qq plot
Hi, I am trying to figure out how to get the correlation coefficient for a QQ plot (residual plot). So to be more precise, I am creating the plot like this: qq.plot(rstudent(regrname), main = rformula, col=1) But want to also access (or compute) the correlation coefficient for that plot. Thanks, Tom [[alternative HTML version deleted]]
2011 Dec 21
4
qqnorm & huge datasets
Hi, When qqnorm on a vector of length 10M+ I get a huge pdf file which cannot be loaded by acroread or evince. Any suggestions? (apart from sampling the data). Thanks. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://mideasttruth.com http://honestreporting.com http://...
2011 Apr 30
4
QQ plot for normality testing
Hi all, I am trying to test wheater the distribution of my samples is normal with QQ plot. I have a values of water content in clays in around few hundred samples. Is the code : qqnorm(w) #w being water content qqline(w) sufficient? How do I know when I get the plots which distribution is normal and which is not? Thanks, m [[alternative HTML versi...
2000 Feb 24
2
(-1 as index) OR (envelope for QQ)
I'm new to R (and to S) and am wondering about code from pages 72 and 83 of MASS (Venables+Ripley, 3rd edition), to draw an envelope on a QQ plot. Copying from the book, I've got: #... code whose gist is "a.fit <- nls(..." num.points <- length(resid(a.fit)) qqnorm(residuals(a.fit)) # illustrate data-model residuals qqline(residuals(a.fit)) samp <- cbind(residuals(a.fit), matrix(rnorm(num.points*19...