Hi- need to fit the following logistic model to data, where Y=binary (1=diseased, 0=no-disease) and X is continuous. The model is similar to a logistic but with an added parameter, lambda. Any advice on how to proceed in JMP will be appreciated.
Hi @vincem : That is the Logistic 3p model in the Nonlinear platform Model Library, where lambda (your model) = theta1, alpha ( your model) = ln(theta2), beta (your model) = theta3.
thank you very much. however my response is biinary (diseased =1, or not diseased=0) im unsure whether the non-linear platfrom can handle a binary response. appreciate your help. thanks again.
Hi @vincem It can be done via the method described by @peng_liu here. The log-likelihood will be different though. See here.
https://community.jmp.com/t5/Discussions/fitting-truncated-data-to-a-continuous-distribution/m-p/772507#M95290
And see section 12.2.1 here (you will need to adapt it slightly to include lambda).
https://www.stat.cmu.edu/~cshalizi/uADA/12/lectures/ch12.pdf
for the log-likelihood function (use the negative log-likelihood as @peng_liu explains)
Questions, come back.
Thanks again..I have fitted the nonlinear model and fitted the below, where prop=n/N in below table. Parameter estimates noted below. i think its worked as its should..
Data is from the publication
https://pubmed.ncbi.nlm.nih.gov/21983214/