Displaying 20 results from an estimated 542 matches for "qf".
2010 Aug 05
4
A %nin% operator?
Sometimes I write code like this:
> qf.a <- subset(qf, pubid %in% c(104, 106, 107, 108))
> qf.b <- subset(qf, !pubid %in% c(104, 106, 107, 108))
and I get a little worried that maybe I've remembered the precedence rules
wrong, so I change it to
> qf.a <- subset(qf, pubid %in% c(104, 106, 107, 108))
> qf.b <- s...
2008 Jun 05
2
qf with infinite df
Dear all,
I found the following behaviour
> rf(5,Inf,Inf)
[1] 1 1 1 1 1
but
> qf(0.1,Inf,Inf)
[1] NaN
Warning messages:
1: In qf(0.1, Inf, Inf) : value out of range in 'lgamma'
2: In qf(p, df1, df2, lower.tail, log.p) : NaNs produced
incidentally,
> pf(1.00000000000001,Inf,Inf)
[1] 1
> pf(1.0000000000000001,Inf,Inf)
[1] 0.5
Is this the expected behaviour?
Th...
2009 Sep 09
1
Stats help with calculating between and within subject variance and confidence intervals
...[1] 0.713375
> betweenCV<-sqrt(between)/grandmean * 100 # Between Machine CV%
> withinCV<-sqrt(within)/grandmean * 100 # Within Machine CV%
> totalCV<-sqrt(total)/grandmean * 100 # Total CV%
> #within confidence intervals (Chi Squared Method)
> withinLCB<-within/qf(1-a,8,Inf) # Within LCB
> withinUCB<-within/qf(a,8,Inf) # Within UCB
> #Between Confidence Intervals (Modified Large Sample Method)
> n1<-dfMachine
> n2<-dfWithin
> G1<-1-(1/qf(1-a,n1,Inf)) # According to Burdick and Graybill this
should be a
> G2<-1-(1...
2011 Jun 21
1
Help interpreting ANCOVA results
...help me interpret the following results.
The full model (Schwa~Dialect*Prediction*Reduction) was reduced via both
update() and step().
The minimal adequate model is:
ancova<-lm(Schwa~Dialect+Prediction+Reduction+Dialect:Prediction)
Schwa is response variable
Dialect is factor, two levels ("QF","SF")
Prediction is factor, two levels ("High","Low")
Reduction is covariate
summary(ancova) yields:
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 0.58047 0.09865 5.884 9e-07 ***
DialectSF...
2016 Aug 01
3
[PATCH] v2v: fixed file_owner function
...4b..aeff5c5 100644
--- a/v2v/linux.ml
+++ b/v2v/linux.ml
@@ -99,14 +99,18 @@ let rec file_owner g inspect path =
(* Although it is possible in RPM for multiple packages to own
* a file, this deliberately only returns one package.
*)
- let cmd = [| "rpm"; "-qf"; "--qf"; "%{NAME}"; path |] in
+ let cmd = [| "rpm"; "-qf"; "--qf"; "%{NAME}\\n"; path |] in
debug "%s" (String.concat " " (Array.to_list cmd));
- (try g#command cmd
+ (try
+ let pkgs...
2010 Apr 18
1
var.test
...est(m,n)
F test to compare two variances
data: m and n
F = 13.7438, num df = 9, denom df = 4, p-value = 0.02256
alternative hypothesis: true ratio of variances is not equal to 1
95 percent confidence interval:
1.543430 64.844094
sample estimates:
ratio of variances
13.74375
> qf(.0250,9,4)*var(m)/var(n)
[1] 2.912997 <- correct degrees of freedom (I think!) and does not match
var.test lower bound
> qf(.0250,4,9)*var(m)/var(n)
[1] 1.543430 <-matches var.test lower bound with degrees of freedom
reversed
>
It seems that the F-test in var.test is getting the...
2006 Aug 03
1
A patch for ocfs2 source configuration process.
...is "2.6.9-11.19AX"(Asianux2.0 on a vmware server with a single
processor configured), the configuration find that it is
2.6.9-11.19AX-smp. So after I make and install, those *.ko went to the
wrong place.
The reason is:
1. When vendor/ax2/vendor.guess runs.
The script is :if [ "`rpm -qf /etc/asianux-release --qf '%{VERSION}'
2>/dev/null`" != "8AX" ]
while in my machine it is "2.0", not "8AX".
I also modify the script in vendor.guess. In asianux2.0, In /etc, you
can find
redhat-release and asianux-release. So the vendor.guess will get...
2013 Jan 26
2
confidence / prediction ellipse
...arameters: shape, center, radius .
If i read dataEllipse() function i can see how these parameters are
calculated for a confidence ellipse.
ibrary(car)
a=c(12,12,4,5,63,63,23)
b=c(13,15,7,10,73,83,43)
v <- cov.trob(cbind(a, b))
shape <- v$cov
center <- v$center
radius <- sqrt(2 * qf(0.95, 2, length(a) - 1)) # radius <- sqrt(dfn *
qf(level, dfn, dfd))
conf.elip = ellipse(center, shape, radius,draw = F)
plot(conf.elip, type='l')
points(a,b)
My question is how I can calculate shape, center and radius to obtain a
prediction ellipses rather than a confidence ellipse...
2017 Oct 19
1
[PATCH] v2v: Fix RPM file owned test (RHBZ#1503958).
...: ā%sā")
- line in
- fst (String.split "," line)
-
| "rpm" ->
- (* Although it is possible in RPM for multiple packages to own
- * a file, this deliberately only returns one package.
- *)
- let cmd = [| "rpm"; "-qf"; "--qf"; "%{NAME}\\n"; path |] in
- debug "%s" (String.concat " " (Array.to_list cmd));
- (try
- let pkgs = g#command_lines cmd in
- pkgs.(0)
- with Guestfs.Error msg as exn ->
- if String.find msg "is not...
2012 Jun 23
3
Upgrading from 5.7 to 5.8
My box did upgrade itself automatically from the
initial 5.5 DVD installation to 5.7
How can I tell if my box has been automatically upgraded
from 5.7 to 5.8 please?
I see the CentOS-CR.repo is still in my /etc/yum.repos.d/
directory. Is that repo responsible for doing the automatic
upgrades for Centos 5.x?
Kind Regards,
Keith Roberts
2007 Jun 21
4
FW: Suse RPM installation problem
Hello
I am trying to install the R RPM for Suse 10.0 on an x86_64 PC. However
I am failing a dependency for "libpng12.so.0" straight away
PC5-140:/home/rmgzshd # rpm -i R-base-2.5.0-2.1.x86_64.rpm
error: Failed dependencies:
libpng12.so.0(PNG12_0)(64bit) is needed by R-base-2.5.0-2.1.x86_64
I do seem to have this file
PC5-140:/home/rmgzshd # whereis libpng12.so.0
2010 Apr 13
1
[PATCH node] refactor node image recipe
...ks
diff --git a/recipe/common-manifest-post.ks b/recipe/common-manifest-post.ks
new file mode 100644
index 0000000..020f3a0
--- /dev/null
+++ b/recipe/common-manifest-post.ks
@@ -0,0 +1,31 @@
+%post
+# Create post-image processing manifests
+manifests=/tmp/manifests
+mkdir -p $manifests
+rpm -qa --qf '%{name}-%{version}-%{release}.%{arch}\n' | sort \
+ > $manifests/rpm-manifest-post.txt
+rpm -qa --qf '%{sourcerpm}\n' | sort -u > $manifests/srpm-manifest-post.txt
+du -akx --exclude=/var/cache/yum / > $manifests/file-manifest-post.txt
+du -x --exclude=/var/cache/yum /...
2016 Aug 03
1
Re: [PATCH] v2v: fixed file_owner function
...nux.ml
> > @@ -99,14 +99,18 @@ let rec file_owner g inspect path =
> > (* Although it is possible in RPM for multiple packages to own
> > * a file, this deliberately only returns one package.
> > *)
> > - let cmd = [| "rpm"; "-qf"; "--qf"; "%{NAME}"; path |] in
> > + let cmd = [| "rpm"; "-qf"; "--qf"; "%{NAME}\\n"; path |] in
> > debug "%s" (String.concat " " (Array.to_list cmd));
> > - (try g#command cmd...
2002 Jan 04
1
[S] confidence ellipsoid for model parameters
...of coefficients is just (with an
>adjustment for size) the perpendicular shadow of the joint ellipsoid, in
>the same sense that the confidence intervals for individual coefficients
>are shadows of the joint ellipsoid or ellipse. The usual confidence ellipse
>for 2 of q coefficients uses qf(.95, 2, df.error) to scale the ellipse; if
>you want to scale the ellipse as a literal shadow of the joint confidence
>region for all q coefficients, use qf(.95, q, df.error) instead (which
>produces a smaller ellipse). You can do this by simply editing
>confidence.ellipse.lm in car.
D...
2008 Apr 03
3
summary(object, test=c("Roy", "Wilks", "Pillai", ....) AND ellipse(object, center=....)
...229.1),
+ z1 = c(123.5, 146.1, 133.9, 128.5, 151.5, 136.2, 92),
+ z2 = c(2.108, 9.213, 1.905, .815, 1.061, 8.603, 1.125))
> attach(ex7.10)
> f.mlm <- lm(cbind(y1,y2)~z1+z2)
> y.hat <- c(1, 130, 7.5) %*% coef(f.mlm)
> round(y.hat, 2)
y1 y2
[1,] 151.84 349.63
> qf.z <- t(c(1, 130, 7.5)) %*%
+ solve(t(cbind(1,z1,z2)) %*% cbind(1,z1,z2)) %*%
+ c(1, 130, 7.5)
> round(qf.z, 5)
[,1]
[1,] 0.36995
> n.sigma.hat <- SSD(f.mlm)$SSD # same as t(resid(f.mlm)) %*%
resid(f.mlm)
> round(n.sigma.hat, 2)
y1 y2
y1 5.80 5.22
y2 5.22 12.57...
2007 Mar 07
2
Power calculation for detecting linear trend
...o come up with the
same number. Am I doing something wrong in the calculation of the power?
Here's my code:
T<-5
R<-5
sigmasq<-0.1
q<-10
Vl<-(T*R)-2
Dl<-(R*(T-1)*T*(T+1)/(12*sigmasq))*(log(1+(q/100)))^2 #Dl result is
still similar
power.1<-1-pf(qf(.95,(T*R-2),1,ncp=0),(T*R-2),1,ncp=Dl)
Thank you for any suggestions/help.
I'm using R2.4.1, on windowsXP.
Erik Meesters
[[alternative HTML version deleted]]
2006 Dec 10
1
Noncentral t & F distributions
...happening with the following code. The central distributions agree as
they should but the noncentral distributions do not. Am I missing
something or is there a bug in the code?
> alpha <- 0.05
> nu <- 10
> NCP <- c(0,1,2,3)
> TV <- (qt(1-alpha/2,nu,NCP))^2
> FV <- qf(1-alpha,1,nu,NCP^2)
> rbind(TV,FV)
[,1] [,2] [,3] [,4]
TV 4.964603 12.535179 24.58013 41.71937
FV 4.964603 9.285829 18.98771 32.97855
> TV <- (qt(1-alpha/2,nu,NCP))^2
> FV <- qf(1-alpha/2,1,nu,NCP^2)
> rbind(TV,FV)
[,1] [,2] [,3] [,4]
TV 4...
1999 Jun 23
1
Influence.measures
...hed in
Atkinson 1985:8 (Plots, Transformations and Regression)
Observation x y
1 -4 2.48
2 -3 0.73
3 -2 -0.04
4 -1 -1.44
5 0 -1.32
6 10 0.00
which is not very well excepted. The command
> inflm <- influence.measures(result)
reports
Warning: NaNs produced in function "qf"
and
> which(apply(inflm$is.inf,1,any))
reports
Error: names attribute must be the same length as the vector
What should I do?
Thank you very much.
Peter B.
--
Peter B. Mandeville mandevip at deimos.tc.uaslp.mx
Jefe del Depto. de Inform?tica y Bioestad?st...
2010 Mar 23
2
[PATCH] Remove initrd patching from oc-boot
...static in Fedora
- cp /lib$bit/libreadline.so.5 /lib$bit/libncurses.so.5 lib$bit
- fi
-
- find $init_script bin/lvm lib$bit -type f |
- cpio -H newc --quiet -o |
- gzip -9 |
- cat $live/$syslinux/initrd0.img - > $initrd_dest/initrd0.img
-
version=$(rpm -q --qf '%{version}' ovirt-node)
release=$(rpm -q --qf '%{release}' ovirt-node)
# reorder tty0 to allow both serial and phys console after installation
--
1.6.6.1
2016 May 18
9
one-shot yum command to match rpms between systems?
Given a list of rpms on one system (rpm -qa > list.txt), is there a one-shot command that I can run on another system to remove all of the rpms not listed and add any that are on the list and not present on the second system?
--
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com