Displaying 20 results from an estimated 2000 matches similar to: "printing all htest class members"
2005 Mar 13
1
Use of htest class for different tests
Hello!
First of all I must appologize if this has been raised previously, but
search provided by Robert King at the University of Newcastle seems to
be down these days. Additionally let me know if such a question should
be sent to R-help.
I did a contribution to function hwe.hardy in package 'gap' during the
weekend. That functions performs Hardy-Weinberg equilibrium test using
MCMC. The
2004 Mar 31
1
R-1.9.0 Beta print.power.htest problem?
Hi all,
I just used power.t.test() in Version 1.9.0 beta (2004-03-31) today
under FC1.
The following is the output:
> power.t.test(delta = .5, power = .95, type = "paired")
$n
[1] 53.94062
$delta
[1] 0.5
$sd
[1] 1
$sig.level
[1] 0.05
$power
[1] 0.95
$alternative
[1] "two.sided"
$note
[1] "n is number of *pairs*, sd is std.dev. of *differences* within
2008 Jun 23
0
Documentation about htest?
Hello
I saw in many packages and functions a class "htest". I wanted to study
it and maybe use for a package instead of writing new classes, but did
not find any documentation about this class in the official manuals. Are
there some information available about it? How can I see how to use it?
As a second question, I also implemented some tests with bootstraped
distribution. Is the
2009 Jun 02
1
getting elements out of list automatically
o <- (structure(list(sand.silt = structure(list(statistic =
structure(185, .Names = "W"),
parameter = NULL, p.value = 0.0478835773838087, null.value =
structure(0, .Names = "location shift"),
alternative = "two.sided", method = "Wilcoxon rank sum test with
continuity correction",
data.name = ".column by site"), .Names =
2004 May 20
2
Get Slot from a Class
Hello, everyone,
I don't quite understand the following message:
> TTT <- t.test(1:10, y=c(7:20))
> class(TTT)
[1] "htest"
> TTT@p.value
Error: Trying to get slot "p.value" from an object whose class ("htest") is not defined
> TTT$p.value
[1] 1.855282e-05
Why the message says the class of TTT is not defined while class(TTT) gets
2005 Jul 08
3
McLeod Integrated T1 - no PRI?
Hello everyone,
We have recently turned up a new T1 from McLeod (Midwestern CLEC). It
is configured like so:
/etc/zaptel.conf:
loadzone=us
defaultzone=us
span=1,0,0,esf,b8zs ;(also tried 1,1,0,esf,b8zs)
bchan=13-23
nethdlc=1-12
dchan=24
/etc/zapata.conf:
switchtype=national
context=pri-in
signalling=pri_cpe
group=1
channel => 13-23
I can get hdlc0 (and pvc0) up just fine after the
2008 Jan 09
3
likelihood from test result
Is there any automatic mechanism for extracting a likelihood or test
statistic distribution (PDF or CDF) from an object of class "htest" or
from another object of a general class encoding a hypothesis test
result?
I would like to have a function that takes "x", an object of class
"htest", as its only argument and that returns the likelihood or test
statistic
2011 Jun 20
1
requesting a mentor for R development
I'd like to learn the process of revising R functions & packages and
then submitting proposed patches to the R Core team. Would someone be
willing to mentor me through one example?
For starters, consider an example. I'd like to revise the t.test
function to return the stderr value to the user. We only need to
change the "rval" in the third-from-the end line of
2011 Oct 03
2
extracting p-values in scientific notation
Dear all
How does print.htest display the p-value in scientific notation?
> (x <- cor.test(iris[[1]], iris[[3]]))
Pearson's product-moment correlation
data: iris[[1]] and iris[[3]]
t = 21.65, df = 148, p-value < 2.2e-16
alternative hypothesis: true correlation is not equal to 0
95 percent confidence interval:
0.8270 0.9055
sample estimates:
cor
0.8718
Above the p-value comes
1997 Aug 21
2
R-alpha: new class for chisquare tests?
I sort of asked this before, but perhaps not explicitly enough.
In my ctest collection, there are several chisquare-based tests. For
some of them, it may be useful to also return information on expected
(and observed) counts. The question is, how should this be done. Of
course, there is no problem adding the corresponding components to the
list returned by the functions. However, as these are
2017 Sep 25
0
0-client_t: null client [Invalid argument] & high CPU usage (Gluster 3.12)
FYI - I've been testing the Gluster 3.12.1 packages with the help of the SIG maintainer and I can confirm that the logs are no longer being filled with NFS or null client errors after the upgrade.
--
Sam McLeod
@s_mcleod
https://smcleod.net
> On 18 Sep 2017, at 10:14 pm, Sam McLeod <mailinglists at smcleod.net> wrote:
>
> Thanks Milind,
>
> Yes I?m hanging out for
2008 Oct 16
2
Saving results of Kruskal Walis test
Hello,
I am running Kruskal-Walis test in R. When I try to save results using
write.table it gives me the following error :
Error in as.data.frame.default(x[[i]], optional = TRUE, stringsAsFactors =
stringsAsFactors) :
cannot coerce class "htest" into a data.frame
The overall code is as follows :
>data_file = read.table("~/DATA.dir/data_file.txt", header=T)
2010 Sep 27
4
Fitting problem
Hi,
I have a function that generates a set of data but I am having problems
determining the parameters using the nls fitting procedure.
####
"MH"<-function(field,diameter,mu=10e-7,sig=0.1,Ms=100,chi=0){
#variables mu, sig, chi, Ms
#input: field and diameter
#all in CGS
rho <- 5
kb <- 1.38e-16
t <- 300
length.d<-length(diameter)
length.H<-length(field)
2008 Feb 05
2
Incomplete ouput with sink and split=TRUE
Dear List,
I am trying to get R's terminal output to a file and to the terminal
at the same time, so that I can walk through some tests and keep a log
concurrently. The function 'sink' with the option split=TRUE seems to
do just that. It works fine for most output but for objects of class
htest, the terminal output is incomplete (the lines are there but
empty). Here is an
2019 Feb 23
1
Return/print standard error in t.test()
>>>>> peter dalgaard
>>>>> on Fri, 22 Feb 2019 12:38:14 +0100 writes:
> It's not a problem per se to put additional information
> into class htest objects (hey, it's S3 after all...) and
> there is a precedent in chisq.test which returns $observed
> and $expected.
It seems the consent is to simply return the SE but *not*
2017 Sep 18
2
0-client_t: null client [Invalid argument] & high CPU usage (Gluster 3.12)
Thanks Milind,
Yes I?m hanging out for CentOS?s Storage / Gluster SIG to release the packages for 3.12.1, I can see the packages were built a week ago but they?re still not on the repo :(
--
Sam
> On 18 Sep 2017, at 9:57 pm, Milind Changire <mchangir at redhat.com> wrote:
>
> Sam,
> You might want to give glusterfs-3.12.1 a try instead.
>
>
>
>> On Fri, Sep
2010 Apr 28
2
Windows Client
Having newly compiled a Libvirt on a Windows Vista machine (many thanks to
Matthias Bolte) I have attempted to connect to a remote Ubuntu machine using
virsh.exe. However, the connection fails as follows:
$ virsh -c qemu+tcp:///system
error: unable to connect to libvirtd at 'localhost': errno=10061
error: failed to connect to the hypervisor
1. I have modified
2010 Apr 19
4
Libvirt Compilation on MS Vista
Does a comprehensive set of instructions on how to compile Libvirt on a
Microsoft Vista platform exist? Has this ever been accomplished? I would
very much appreciate input from persons who can give me confidence that a
Windows client application can be developed on top of Libviet that connects
to a QEMU system on an Ubuntu server. The Libvirt Windows Support page
2001 Oct 22
1
Browsing problem on the Windows Side
Hi fellow Samba Users,
I've recently added a RedHat/Samba box to a Windows network and
got an unpleasant surprise. Windows machines that logout and
then log back in are unable to browse AND unable to map drives.
The machines that were logged in before Samba booted continue
to work fine. We've repeated the experience a couple times to
make sure we understood the symptoms.
I'll
2003 May 03
1
mkstemp <filename> failed
I'm not really what you would call a linux newbie, but I managed to run
into a problem with rsync that has me stumped.
I want to conduct un-attended backups of various files and directories
over about 3000 miles of Internet, so I chose sshd and rsync for the job.
I wrote a pair of scripts to do the job, the first to run incremental tars
on the localhost, the second to run the rsync client.