LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (September 2007, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 11 Sep 2007 10:53:17 -0700
Reply-To:     Robin High <robinh@UOREGON.EDU>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Robin High <robinh@UOREGON.EDU>
Subject:      Re: How to calculate the coefficient in Logistic regression?
Comments: To: yair <harel_yair@YAHOO.COM>
In-Reply-To:  A<1189505191.300181.50260@y42g2000hsy.googlegroups.com>
Content-Type: text/plain; charset="us-ascii"

You should look at a book on "Generalized Linear Models"; e.g., Chapter 7 of the 2nd ed. of a book with that title by Annette Dobson is a good starting point with a similar example to the one you included. Also, books on Logistic Regression also provide details.

Robin High University of Oregon

-----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of yair Sent: Tuesday, September 11, 2007 3:07 AM To: SAS-L@LISTSERV.UGA.EDU Subject: How to calculate the coefficient in Logistic regression?

Hello, Does some one know how to estimate to coefficients in Proc Logistic? I took an example from SAS on-line support. (http://support.sas.com/ onlinedoc/913/docMainpage.jsp) the example is in "The Logistic Procedure"->"Getting Started".

This is the code:

data ingots; input Heat Soak r n @@; datalines; 7 1.0 0 10 14 1.0 0 31 27 1.0 1 56 51 1.0 3 13 7 1.7 0 17 14 1.7 0 43 27 1.7 4 44 51 1.7 0 1 7 2.2 0 7 14 2.2 2 33 27 2.2 0 21 51 2.2 0 1 7 2.8 0 12 14 2.8 0 31 27 2.8 1 22 51 4.0 0 1 7 4.0 0 9 14 4.0 0 19 27 4.0 1 16 ; proc logistic data=ingots; model r/n=Heat Soak; run;

and here are the results:

Analysis of Maximum Likelihood Estimates Parameter DF Estimate Standard Error Wald Chi- Square Pr > ChiSq Intercept 1 -5.5592 1.1197 24.6503 <.0001 Heat 1 0.0820 0.0237 11.9454 0.0005 Soak 1 0.0568 0.3312 0.0294 0.8639

My question is what are the mathmatical calculations to get: -5.5592, 0.0820, 0.0568. Thanks


Back to: Top of message | Previous page | Main SAS-L page