0% found this document useful (0 votes)
23 views

Test 1 Solucion

This document compares the results of two treatments (A and B) using statistical tests. It finds that: 1) The means and variances of the two treatments are statistically significantly different based on a t-test and F-test, respectively. 2) The data meet the assumptions of homoscedasticity and normality required for the statistical tests. 3) The residual variance is estimated to be 67.4, and the tests allow rejection of the null hypothesis that the true means are equal at the 5% significance level.

Uploaded by

victorbomar17
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views

Test 1 Solucion

This document compares the results of two treatments (A and B) using statistical tests. It finds that: 1) The means and variances of the two treatments are statistically significantly different based on a t-test and F-test, respectively. 2) The data meet the assumptions of homoscedasticity and normality required for the statistical tests. 3) The residual variance is estimated to be 67.4, and the tests allow rejection of the null hypothesis that the true means are equal at the 5% significance level.

Uploaded by

victorbomar17
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 21

y y

n1 = n2 = 10 ȳ1 = 43.1 ȳ2 = 29.3


ŝ21 = 154.02 ŝ22 = 111.7

ȳi
ŝi
↵ = 0.05
ŝ2R = 67.4

t0 = 1.486

n1 n2
ŝ21 ŝ22 2
2 2
H0 : = 2 H1 : >2
2 2 2 2 2
0 0 0 0 0

= 11
↵ = 0.05

P
11 P
10
(y1j y 1 )2 = 45 (y2j y 2 )2 = 53, 1
j=1 j=1

n1 = 16 n2 = 21
ŷ1• = 755 ŷ2• = 801 sb1 = 21.1
sb2 = 16.3 k=2

V E = 19573 V N E = 12451 V E = 19216 V N E = 11992


V E = 19573 V N E = 11998 V E = 19216 V N E = 12451
V E = 12451 V N E = 19216

y y
y y

ȳ1 = 3.4 ȳ2 = 4.8


ȳ3 = 6.1 n1 = n2 = n3 = 8 ŝ2R
6 µ3
H0 : µ 2 = µ 3 H 1 : µ 2 =

t0 t0 t0 t0 t0

x
ŝx

n1 = n2 = 10 n3 = 20 x1 = 10.2 x2 = 12.3 x3 = 9.2 ŝ1 = 5.1 ŝ2 = 4.8 ŝ3 = 5.4


H0 : 2 = 5 H1 : 2 6= 5

sb21 = 0.24; sb22 = 0.53; sb23 = 0.39; sb24 = 0.16

↵ = 0.05

↵ = 0.05

H0
ŷi = 0 F4,96
H0

ȳ1 = 3.4 ȳ2 = 4.8 ȳ3 = 6.1 s2R = 2.1


(1/3)µ1 + (2/3)µ3 t

y y
y y

ȳ1• = 66.7; ȳ2• = 92.1; ȳ3• = 75.3; ȳ4• = 57.3; ȳ5• = 70.7; ȳ6• = 87.3; ȳ7• = 60.7; ȳ8• = 51.7
ŝ2R = 9.5

↵ = 0.05
[T 4, T 7]; [T 1, T 5]; [T 5, T 3]; [T 6, T 2]
[T 4, T 7]; [T 1, T 7]; [T 5, T 1]; [T 5, T 3]
[T 4, T 7]; [T 1, T 5]; [T 6, T 2]
[T 4, T 7]
[T 4, T 7]; [T 1, T 5]

↵ = 0.05

y O. = 12.97, y I. = 14.16, y P. = 12.66, y V. = 12.06, n =


= 28 sbR = 1.02 (↵ = 0.05)

µI 2 (13.36, 14.96) µO 2 (11.40, 13.00) µI 2 (13.36, 14.96) µO 2 (11.17, 14.77)


µI 2 (13.36, 14.96) µO 2 (12.17, 13.77) µI 2 (14.36, 15.96) µO 2 (12.17, 13.77)
µI 2 (13.36, 14.96) µO 2 (12.40, 13.77)

y 1 . = 106 y 2 . = 113.75 y 3 . = 104.5 y 4 . = 124 ŝ1 = 6.22 ŝ2 = 8.02 ŝ3 = 8.74 ŝ4 = 6.06

7.35 5.91 6.48 10.34 6.83

K ŝ2R = 0.8
F

y y
💔 💔
×

Comparación de dos tratamientos

A 1 -
A -
km,.IN. {%;
-
Cosas,?.int};
Haµ ,
#µ,}
Ho:p,-1 2 4 = 0. 0 5
S I ÉSE
II. = 4 3.1 Ja. = 2 9.3 sí =
2 - = 132.9
d d d
M i µ S r= 11.5 02

t-III.IE???I?-z=e.68ntntniz
18

Solución + = 2.68€---------..
- . .
÷
Ésto n o lo piden. Para A -0.05 '
.
- .
i

Rechazo d e Ho
←µ¥É¥
- 7 2 . 6 8 = - 1
Rechazo H o
• . . . . .
_...:'
'

2.IO/tl-2.68>2.10
-2.10
Rechazo H o
c o n 2=0.05
Las medias y s diferentes.
on
i


de
Comparación de dos tratamientos

Á
1 -
A
€4...im.
-
µ (Yes,M e
{Jjj""" 8.6 Yaa,...,Yana{¥52""
n ,= 8 =
n , 8 = 7. 8 =

( a ) Los datos s o n homocedásticos-Verdadero

Hori.si v Hsiritri F. = fija-1.22

( c ) L a varianza
residual e s
t.fi
6 7. 4
"En"
V E R DA D E R O
mEEEEINto

Tristán 6 7. 4 Ir--8-2 TH
"M',¥¡to-%ff-I.ws☹
(duse) VERDADERO

as

{Hs ti.
II.

"
s
µ Acepto
'
Se
H o l a 2mayorqeBI
. 14
( b ) La media de A- e FA L S O
s
sig.

affiifijí. É s t -
o s
Se Acepta H o
×

Comparación de dos tratamientos

Á
1 -
A
€44...im,
-
µ (Yes,M e
{Jjj Yaa,...,Yana{5¥
Estimación de 0 2
Gpi = cni-DS.tt/Nz-DsT-=9x2.1t11x3o1-=z.65
M i7 h a - 2 2 0

Ho: 0 2 = 2
Hs: 0 4 2
n = N ,M 2 = 2 2 µ

cnzz.SI → En-a
s i No e s cierto
C a d i z 26.5 -----
×} =
2
= ,

i.
Solución: 2 6.5 :

No lo
Contraste unilateral, a - 0 . 0 5 .
piden: →
i
Xiao i

F I
l
Ed gar
Ho
. .
i"
...
a •
2 0 26*31=4---------
*

Comparación d e dostratamientos

# A
€44...im,
m í
(Yes,
{Jjj Yu,...,Yana{%.

Hs:p#µ}
Ho:Miya Ji-Ta. NO,1
→ )
FEET

s i 0 e s conocida (es práctica)


raro en la
e n lugar de t-student, utilizamos NCO,1 )

r.EE#YEedHoNCo,s,
-

-1.96 1.96

10.16
Zo 2 1.96
= #
es decir 5M × 10.16
1.96
- >
m > 1.GG?x112x2-= 9,006
1 0.1 6 2

Deberíamos tener 10 o más


-
corrección: el número de observaciones TOTAL ha de ser 9*2 o superior
×

Comparación de dostratamientos

Á
1 -
Á
km,_Insti;
-
Cosas,?...is
analizo

5,2=2%1, - I sof
- = 4 1
M i - 1 1 0

§ = EMITÍ =
SII
Ho: r i = TE
Ha: Ti#Ti
1 2

F =
SÉ ¥1,7= = 0 . 7 6

Ojo: También puede ser 5¥ = 1 . 3 2


❤ 😐

xx

Comparación de dos tratamientos

Á
1 -
A
€4...im.
-
µ (Yas,M e
n i 16
{Jjj" = 21.1 Yaa,...,Yana{¥58"
n ,= 2 1
= 16.3

VE Ms (Js. -Joo J na ( J r. -Joo)'

{
= t

Joo = 14755721801T = 781.1


3 7
- V E = 1 6 (755-781.1)' t 2 1 (801-781.15=19215.6
UNE EE is-Ji.Y

{
=

= Cni-DF + c n .- e ) sí
= 1 5 × 2 1.1 2 t 20×16.32 = 11992

'iiiiiiiiiiiiiiiiiin
nntcm-n.tn#a-nFzvE=EII7-
nini.-II.
F=vEsfE--EÉ E
=
😐😐 😐 😐😐

×

Falso gl=45
Falso

→ Falso tres
→ Falso V T= 65.61-16,4=82.0

2 k
1/5
o o o

A
-
- Á
- o • o
Á
-

µ, M2 Mk

÷:L::: ÷ -÷:*: .

K = 5 V E = ZNILJio-J.at = 16.4
UNE = eij-EEilbij-5i.IE#ni-DsTi--I

i t E-
ja, j a 1

= 65.6
R = M ,t n , t . . . t Ms = 5 0

{Hs:
#o} M
Ho:
µ, =
µ, = . . .
s

a -0.0 5
algún µ .
[ = VENI → F
K- i ,n - K
✓NEIN-K

¥-05 → FU,4 5
16.4/4
=
65¥ 2.8d
Exi
g

F-= 2 . 8 1 > E n= 2 . 5 7 --.........???.!


trato
.

diferencias significativas entre


con × = 0.05
😐 😐 😐

1 2 3

Á
-
Á -
Á -

µ, µ µ
a:L!:
Y, 421 431
'
÷ .

* 1¥. 3

Yin, 42hL 431g 1 3

I s o= 3.4 Izo 4. 8 530=6.1


M e= 8 Nz
N, 8
8

EÉ = 2 . 1

Ho:
µ-13
Ha µ#M3

t.is?I=.:IIr=....a: :
:

☹0
:

0. Í
0.0 2 5
\ →
:

- -2.08
,
- -
1
1-2.08 . . . ."
.

"i-----------" Acepte.
ltol-1.23ctqz-z.es Ho
💔☹😐 😉 😐

t
mediadel a

1 2 3

L E
-
Á
-
Á
-

µ, M2 µ
Modelo t r e s t r a t a m i e n t o s . Nos piden u n
con
intervalo p a r a l a media de l a longitud
µ ,
del pétalo de l a especie versicolor.

La formula es:

Ma C- 54 ± tags
Tn a
EL número de datos en los tres grupos es 5 0

M , = h a = M3 = 5 0

=
por tanto
§, 0. 4 3
3 =

c o n 152 grados de liber tad (n-K-152)


tapa= 1.65
os

1 .
%26-j.gg ×
×
-
1.65
4.2 6 1.65
VSO
µ ,e
= t

4 .1 6 0 E Ma E 4.360
💔 😐😐😐
×

1 2 3

A
-
Á
-
Á
-

µ, µ2 µs
Comparación de t r e s tratamientos c o n varianza
[ M u n R . E l número de datos e s 4-10, NEN,NEN
por tanto, l a estimación de sía e s :
¿ ¿ = 9xstt9xsitla.is?-=26.q
3 7

cn-3) sii
s
Ho: ó → X }7
Hs: }
j a
37×26.9
X! =
5 -
= 199.06

-
No l o piden: - C o n t r a s t e c o n a - 0.05

o.MS - 025

22.1 55.7
RechazamosHo
Como X i ¢ [22.1, 55.7J
😐 😐 😐 ☹
×

e s

1 2 3 4

Comparación d e k=4 tratamientos, 0 2 común.

M-1,74=13--14--7, D = 7×4=28

Nos piden calcular LSD


↳ D = tal, 5 r E
Para a - 0.05,
tq, -1.06 Key

- 2 . 0 2.064
¥ °

S i tsitsits.ir
SÍ =
4 -
0.33 SÍ = 0. 5 74

LSD = 2 . 0 6 × 0 . 5 74 ×#= 0.633


😐😐 💔
×

1 2 o o o K

T E
- -
Á o • o
Á -

µ, M2 Mk

:
y
iii.÷. ÷:
*.

÷
K =
5, M i= 2 5 n = 25×5=125

F -= VENI → FU,1 2 0
U N% o

A -0.05 {Hs:
Ho: µ , µ µ
alguna µ #
%

p_Valor = 0.067> x Avp. Ho

Aceptamos tho d e igualdad d e medias


😉

1 2 3

A
-
Á
-
Á
-

µ, M2 µ
Ho: µ = }µ EM t 3

Hs: µ, I H i t Esµ

Ho: µ ='zµt3-M3 →
µ - § µ , -Esµ , = 0

Hs: µ + H t E N -EN;# 0

µ, -§
µ,

Estimamos
µ-Ep,-Eps con Iz-ÉI, -EJ,
y es fácil deducir q u e :

ELE-EJ-EJEM-EM-EM,
Recordar
_ que
Var[y] = Var[y]/n
Valija-ÉL-35J:{lsttqtqtf.EE
I-II-EJ, → NIM-EM-EM,Ñ3 6o )
si t b e s cierto Ja-EJ-EJ
- → tq
VEER
t o = 48-¥3.4 × te

¥ - 1
=
-0.44 →
,

VENI
0¥70
AFIELE -2.26 O 2.26
😐
😐😐😐
😐 😐😐
😐😐

1 2 . . . 4 = 8

4,
÷.nl?:-xz:id!:=az-::II*tty=Eiioj
=3 Ya
= 3 Y a = 3

tn-x k-8M-3sr-f9.SI 3.08


S I I I I . - 5 .1 > t a s k Rechazo Ho
- m = 3

°
L S D

025
LSD = 2.12×3.08#= 5.33

-2.12 2 .1 2 1 2 3 Y 5 6 7 8

IIIrim.ws?¥÷
6 6 . 7 92.1 75.3 57.370.7 87.360-7517
E n l a -

9 .4
1 6 6 . 7 - 2 5 . 4 8-6 4 2 0 . 6 6 15

Ü%687--2-760--8--- 5 7 0 . 7 - - 6 1 0 1 9 / 3
Menores
de 5 . 3 3
%%

[ Ts , Ts ] [ Ty t o ] [ T s ,T s ] [ T y ,T z ] → Solución
-
- m m -

.
S O p 6 0 t # 7 0 Q 8 0 a o
😐😐

E N

A A ☹
51=3.241
→ S Í= 1.2
→ 5, = 4.08 S Í = 2 .O
→ 5, = 9. 5 6 J j = 3 . 5 4

Sr
= 3
=
1 .5

HEH-txksrfmeph-pza-Esa-
JDttxksrfmm-5ytxlz-2.is
( 1 2 grados d e
libertad)

(4,08-9.56)-2.18×1.EE (4.08-9.56)+2.18×1.EE
µ,-µ,
a - e

- 7. 5 4 EM,-µ, E - 3 . 4 1
☹ 😐 😐 😐

O I P

☹ MO
-

MI Mp µ ✓

Intervalo de confianza para cada media:

M i e Jitta SÉ
Consideramos *
hay 7- datos cada

que e n

g r u p o ( 2 8 observaciones e n total) n i - 7

tal, s e obtiene c2o-n0 6a - 0.05, con 2 4 g. l o
ta n =
Para invierno

1 ¥ -
14.16-2.061¥ EMIE 14161-2.06

36 a -
M I E 1 4.9 5

Pa ra otoño
12.96-2.06× El E lo
12.96 t 2 . 0 6x 10¥
12. 1 7 Ello = 13.7 7

* ) E n e l enunciado n o es obvio que haya


siete observaciones e n cada estación
😐

DI Da Das DX e s

É I ☹ 1 2 3 4

• V E : [ n i LJi-J.at
106+113.751-10451-124

Mi-4 p a r a los 4 grupos e 5 .E - 11206


Y
V E = 4×1106-112.06ft...- 4×(124-112.06)?=
t 9 5 7. 2

ZZCY.y-I.pe
Y Y
• UNE =
¡ = L 5-1

=. Cni-1 S Í )

x(6.2221-8.0221-8.742+6.06?)
= 3
= 648.36

f-=
VEHK-I) 957.2/3
-


N%-K)
=
648.3%
=
5-9}
- !
No lo piden ,"

¥4.is?aFmeFias ✓
FRIZ ,..

distintas

\ s o n
1 3. 4 9
÷
😐😐
*

E N

A a
Joo= l0-2t¿2 =
12.13

VE = I n i (Jio-5..)?=
9×(15-12.13)?
=
9×(10.2-12.13)'t9×41.2-12.13ft
= 115.44

F -
✓E l k - I

¥ « =
V Í
S R
115.44/2
=
-0.8=72.2
-

No l o piden µ

s
"

→ E , 24 F 73.4
Las medias
on
diferentes

3.4 = En

You might also like