b) A system analyst studied the effect of computer programming experience on ability to complete

within a specified time complex programming task. Fifteen people were selected for the study.

They had varying amounts of programming experience (in months). All the people were given

the same programming task, and the results of their success was recorded. The result was coded

in a binary fashion: y = 1 if the task was completed successfully in the allotted time, and y = 0

if the task was not completed successfully. The experience and whether the task was completed

successfully are shown in the table below.

Months of experience(x) 32 10 15 56 40 45 15 60 13 11 41 9 60 17 17

Task success(y) 1 0 0 1 0 1 1 1 0 0 1 0 1 1 0

(i) Write regression model would you fit to meet the objective of the study? Give reason(s)

for your answer. [2 marks]

(ii) Write a well commented R code to read the data and fit the model.

asked by guest
on Nov 29, 2024 at 2:30 am



Mathbot Says...

I wasn't able to parse your question, but the HE.NET team is hard at work making me smarter.