Displaying 10 results from an estimated 10 matches for "5.4349".
2013 Dec 21
3
calculo del area de t experimental o F experimental
Estimados compañeros: tengo una duda sobre R; cuando ejecuto la prueba t, R
calcula una t experimental y le calcula su probabilidad asociada y la
compara con P=0.05 (valor por defecto).
Mi duda es si para calcular este area, tipifica primera a z y luego entra
en la tabla de z y la calcula y la presenta en pantalla.
De otra manera no veo como asociar un valor de t a una probabilidad (la
2013 Dec 21
0
calculo del area de t experimental o F experimental
Porque con "less" estás hacienddo un test de una cola. En tu ejemplo
estás haciendo un test de dos colas:
> 2*pt(-5.4349,df=21.982)
[1] 1.855473e-05
El 21/12/2013 21:33, HERNANDEZ CORONADO JORGE escribió:
> t.test(1:10,y=c(7:20))
>
> Welch Two Sample t-test
>
> data: 1:10 and c(7:20)
> t = -5.4349, df = 21.982, p-value = 1.855e-05
> alternative hypothesis:
2013 Dec 21
0
calculo del area de t experimental o F experimental
Si te refieres a t.test, lo que hace R es calcular el estadístico t y
después compara el valor observado con la distribución de probabilidad
de la t para los grados de libertad de tu prueba. Ej:
> t.test(1:10, y = c(7:20), alternative="less")
Welch Two Sample t-test
data: 1:10 and c(7:20)
t = -5.4349, df = 21.982, p-value = 9.276e-06
alternative hypothesis: true
2019 Feb 21
5
Return/print standard error in t.test()
Dear Thomas,
it is, unfortunately, not that simple. t.test() returns an object of class "htest" and not all such objects have standard errors. I'm not entirely sure what the point is since it's easy to compute the standard error of the difference from the information in the object (adapting an example from ?t.test):
> (res <- t.test(1:10, y = c(7:20)))
Welch Two Sample
2013 Dec 21
0
Fwd: Re: calculo del area de t experimental o F experimental
Si miras el código de t.test() verás que para calcular el p-valor llama
a pt().
En la página de ayuda de pt() se cuenta que:
"For the central case of pt, a normal approximation in the tails,
otherwise via pbeta.
For the non-central case of pt based on a C translation of
Lenth, R. V. (1989). Algorithm AS 243 ? Cumulative distribution function
of the non-central t distribution, Applied
2005 Jun 14
1
t.test using RSPerl
Hi,
I've just started using R and RSPerl. I have some code as follows:
&R::initR("--no-save");
&R::call("t.test", (\@array1, \@array2));
where @array1 and @array2 are both 1-dimensional arrays in Perl having 54675 elements each. On execution the output is as follows:
Calling R function name `t.test', # arguments: 3
1) Arg type 3
Got a reference to a
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*
2019 Feb 21
0
Return/print standard error in t.test()
Hi John,
Thanks for your reply. Of course I could write a package and of course I
would find that trivial to do. The point is this is a main entry point to R
for probably (at this point) hundreds of thousands of students. I?d like
them to be able to get a basic quantity of interest from a t-test without
four subsequent function calls.
I also don?t really see the point about the object class,
2019 Feb 22
0
Return/print standard error in t.test()
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.
Getting such information printed by print.htest is more tricky, although it might be possible to (ab)use the $estimate slot.
The further question is whether one would really want to do that (change the
2012 Apr 18
3
Installing texlive dependencies
Hello ALL!
I am running Fedora 16 x86_64. Due to some dubious problems, that i
couldn't resolve, with the TeXLive (2007, which is a default), I removed
it. That removed R as well, and some other dependent packages. Then, I
installed TeXLive 2011 from CTAN. However, when I wanted to install R,
from Fedora's repositories, it asks for some TeX dependencies (for
example, tex-preview,