Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(a) To investigate the distributions, simulate from this model 2500 times. To do so, calculate P[Y = 1 | X =x] for an observation, and

image text in transcribed
(a) To investigate the distributions, simulate from this model 2500 times. To do so, calculate P[Y = 1 | X =x] for an observation, and then make a random draw from a Bernoulli distribution with that success probability. (Note that a Bernoulli distribution is a Binomial distribution with parameter n = 1. There is no direction function in R for a Bernoulli distribution.) Each time, fit the model: log D(x) 1 - p(x) = Bo + BIT1 + B212 + B313 Store the test statistics for two tests: . The Wald test for Ho : B2 =0, which we say follows a standard normal distribution for "large" samples

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transportation A Global Supply Chain Perspective

Authors: John J. Coyle, Robert A. Novak, Brian Gibson, Edward J. Bard

8th edition

9781305445352, 1133592961, 130544535X, 978-1133592969

More Books

Students also viewed these Mathematics questions