Programming the statistical procedures from SAS

Peoc Loess for Binary Response

Reply
N/A
Posts: 0

Peoc Loess for Binary Response

Hi,
I have a binary response data.Is it possible for me to use Proc Loess for fitting those Binary Response? If so, do I need to specify some where that response is binary?
Trusted Advisor
Posts: 2,114

Re: Peoc Loess for Binary Response

TEchnically, it is possible to do by just scoring the dependent variable 0-1. However, it is not recommended, see
http://www.gotstat.com/category/SAS.aspx
Contributor n6
Contributor
Posts: 62

Re: Peoc Loess for Binary Response

I had only looked some on the SAS software help. I looked at the SAS website just now and it says the output from the two PROCs should be the same, which is what I originally thought. So I'll have to check the code again but I could've sworn it's the same with both GENMOD and GLM.

Actually it's not the regular GENMOD and GLM output that was different (I diidn't even check that actually) but rather the results from the ESTIMATE statements that were different. So maybe even though the procs give the same output in general they give different output on identical ESTIMATE statements, perhaps because different paramaterizations are used. I'll check into it but if anyone has any idea off the top of their heads please pipe up.
Contributor n6
Contributor
Posts: 62

Re: Peoc Loess for Binary Response

Oops, my response was meant to go in the GENMOD / GLM thread. I've copied it there. Please ignore it here. Sorry about that.
SAS Employee
Posts: 242

Re: Peoc Loess for Binary Response

You can use PROC GAM, rather than PROC LOESS, to fit a model to a logistic model to a binary response that includes loess- or spline-smoothed predictors. For details and examples, see the GAM documentation:

http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/gam_toc.htm
Ask a Question
Discussion stats
  • 4 replies
  • 303 views
  • 0 likes
  • 4 in conversation