Problem set for logistic regression, Applied Statistics

Assignment Help:

(1) What values can the response variable Y take in logistic regression, and hence what statistical distribution does Y follow? The response variable can take the value of either a 1 or a 0, and follows a binomial distribution.

(2) How are the parameters estimated in logistic regression?  Is this different from how the parameters are estimated in Ordinary Least Squares (OLS) regression? Logistic regressionparameters are estimated utilizing the maximum likelihood method, which is the same underlying method for OLS regression.  However, with logistic regression, an iterative method conducted via software because it is more complicated to estimate nonlinear parameters β0 and β1.  This differs from OLS, because the OLS method is by differentiating the sum of squared deviations.  This is an easier method because those deviations are linear in relation to β.

Coefficient estimates in logistic regression can also be found by utilizing the following methods

- noniterative weighted least squares

- discriminant function analysis

(3) How do we define a "residual" in logistic regression, and how is it computed?

In Logistic Regression, the Deviance fills the same role as the residual sumo f squares in linear regression. 

This is computed by calculating what is known as the likelihood-ratio test, Illustrated below:

D=-2ln ( likelihood of the fitted model / likelihood of the saturated model)

 Model 1:  Let's consider the logistic regression model, which we will refer to as Model 1, given by

                                log(pi / [1-pi]) = 0.25 + 0.32*X1 + 0.70*X2 + 0.50*X3                         (M1),

where X3 is an indicator variable with X3=0 if the observation is from Group A and X3=1 if the observation is from Group B.  The likelihood value for this fitted model on 100 observations is 0.0850.

(4)    (6 points) For X1=2 and X2=1 compute the log-odds for each group, i.e. X3=0 and X3=1.

Group A (X3=0);

Group B (X3=1);

(5) For X1=2 and X2=1 compute the odds for each group, i.e. X3=0 and X3=1. 

(6) For X1=2 and X2=1 compute the probability of an event for each group, i.e. X3=0 and X3=1. 

(7) Using the equation for M1, compute the relative odds associated with X3, i.e. the relative odds of Group B compared to Group A. 

(8) Use the odds for each group to compute the relative odds of Group B to Group A. How does this number compare to the result in Question #7.  Does this make sense?

Model 2:  Now let's consider an alternate logistic regression model, which we will refer to as Model 2, given by

                                log(pi / [1-pi]) = 0.25 + 0.32*X1 + 0.70*X2 + 0.50*X3 + 0.1*X4       (M2),

where X3 is an indicator variable with X3=0 if the observation is from Group A and X3=1 if the observation is from Group B.  The likelihood value from fitting this model to the same 100 observations as M1 is 0.0910.

(9) Use the G statistic to perform a likelihood ratio test of nested models for M1 and M2.  State the hypothesis that is being tested, compute the test statistic, and test the statistical significance using a critical value for alpha=0.05 from Table A.3 on page 375 in Regression Analysis By Example.  From these results should we prefer M1 or M2?


Related Discussions:- Problem set for logistic regression

Mean deviation, First Moment of Dispersion or Mean Deviation Mean devia...

First Moment of Dispersion or Mean Deviation Mean deviation or the average deviation is the measure if dispersion which   is based upon all the items in a variable .It is the a

Riemannian integral approximations, Investigate the use of fixed and perce...

Investigate the use of fixed and percentile meshes when applying chi squared goodness-of- t hypothesis tests. Apply the oversmoothing procedure to the LRL data. Compare the res

How many possible latin square designs are there, In an agricultural experi...

In an agricultural experiment, we wish to compare the yields of three different varieties of wheat. Call these varieties A, B and C. We have a ?eld that has been marked into a 3 *

Question with R - Bioinformatics, Hi There, I have a question regarding R,...

Hi There, I have a question regarding R, and I am wondering if anyone can help me. Here is a code that I would like to understand: squareFunc g f(x)^2 } return(g) } sin

Hortons initial infiltration capacity, (a) The Horton's initial infiltratio...

(a) The Horton's initial infiltration capacity for a catchment is 204 mm/h and the constant infiltration value at saturation is 60 mm/h. For a rainfall in excess of 204 mm/h mainta

Define sampling unit , Define sampling unit and population for selecting a ...

Define sampling unit and population for selecting a random sample in every case. a) 100 voters from a constituency b) 20 stocks of National Stock Exchange c) 50 account ho

Time series, merits and demerits of methods to determin trends

merits and demerits of methods to determin trends

Weibull distribution, slope parameter of 1.4 and scale parameter of 550.cal...

slope parameter of 1.4 and scale parameter of 550.calculate Reliability, MTTF, Variance, Design life for R of 95%

Histogram, Histogram: It is generally used for charting continuous fre...

Histogram: It is generally used for charting continuous frequency   distribution. In histogram, data are plotted as a series  of rectangle one over the other. Class intervals

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd