1 / 10

Predicting Completion through Programming Experience: Logistic Regression Example

This programming example demonstrates using logistic regression to predict task completion based on programming experience. The code includes data input, sorting, scatterplot with smoothing, logistic regression modeling, and hypothesis testing. By analyzing the relationship between experience and task completion, it showcases the application of statistical methods in programming tasks. The example provides insight into how programming experience, measured in months, influences completion outcomes. The demonstration aims to enhance understanding of applying statistical techniques in programming scenarios.

jacqui
Download Presentation

Predicting Completion through Programming Experience: Logistic Regression Example

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Sigmoidal Response (knnl558.sas)

  2. Programming Example: knnl565.sas Y = completion of a programming task (1 = yes, 0 = no) X2 = amount of programming experience (months) n = 25

  3. Programming Example: input data programming; infile‘H:\My Documents\Stat 512\CH14TA01.DAT'; input experience complete; procprintdata=programming; run;

  4. Programming Example: Scatterplot procsortdata=programming; by experience; title1'scatterplot with smoothing'; symbol1v=square i=sm60 c=blue; procgplotdata=programming; plot complete*experience; run;

  5. Programming Example: Scatterplot (cont)

  6. Programming Experience: Logistic Regression procgenmoddata=programming descending; model complete = experience/dist=binomial link=logittype1 aggregate; run;

  7. Programming Experience: Logistic Regression (cont) PROC GENMOD is modeling the probability that complete='1'.

  8. Programming Experience: Logistic Regression (Cont)

  9. Programming Example: Fitted Curve symbol1v=square i=nonec=blue; symbol2v=nonei=join c=blue; procgplotdata=fit; plot complete*experience pred*experience/overlay; run;

  10. Programming Example: Hypothesis test

More Related