2 . Consider the model Yị = where X, (0, 1), that is it is a binary predictor. Then show it simplifies to +BXite Using the formulae and using the notations that n is the sample size, no is the number of observations that X₁ = 0, 7₁ is the number of observations that X₁ = 0. It is easy to see that X = n₁/n and the sample average for the 0-group Yo Eizo Yi/no and sample average for the 1-group Y₁ = Ei=1 Yi/m₁. Show the following results: (21): First show (2il): show that β = Σ (X - X) (r - r) Σ (Χ. - x)* 2 BỲ B no(0)(Yo-Y) +m₁(1 − ²)(Ÿ₁ – Ý) no(-)²+n₁(-)² 3₁ = Y₁ - Yo. Bo - Yo

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question
Consider the model
Yi = Bo+ Bi Xite
where X₂ = {0, 1}, that is it is a binary predictor. Using the formulae
Σ(X-X) (Yi-Y)
Σ (X - x)”
Then show it simplifies to
(2ii): show that
and using the notations that n is the sample size, no is the number of observations that X₁ = 0, n₁ is the
number of observations that X; = 0. It is easy to see that X = n₁/n and the sample average for the 0-group
Yo = Σi:z:=oYi/no and sample average for the 1-group Y₁ = E=1 Yi/m₁.
=0
Show the following results:
(2i): First show
3₁
3₁
=
=
B =Ỳ - BÀ
no(0)(Yo - Y) + ¹₁(1 − ¹)(Ỹ₁ − Ỹ)
no(-²+₁(-1) ²
3₁ = Y₁ - Yo-
Bo = Yo.
Transcribed Image Text:Consider the model Yi = Bo+ Bi Xite where X₂ = {0, 1}, that is it is a binary predictor. Using the formulae Σ(X-X) (Yi-Y) Σ (X - x)” Then show it simplifies to (2ii): show that and using the notations that n is the sample size, no is the number of observations that X₁ = 0, n₁ is the number of observations that X; = 0. It is easy to see that X = n₁/n and the sample average for the 0-group Yo = Σi:z:=oYi/no and sample average for the 1-group Y₁ = E=1 Yi/m₁. =0 Show the following results: (2i): First show 3₁ 3₁ = = B =Ỳ - BÀ no(0)(Yo - Y) + ¹₁(1 − ¹)(Ỹ₁ − Ỹ) no(-²+₁(-1) ² 3₁ = Y₁ - Yo- Bo = Yo.
Expert Solution
steps

Step by step

Solved in 5 steps with 1 images

Blurred answer
Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman