1.

How do you create log linear models in R language?(a) loglm()(b) logmn()(c) logfn()(d) loghy()The question was posed to me during a job interview.This interesting question is from Functions topic in division Control Structures, Functions, Scoping Rules, Loop Functions and Debugging of R Programming

Answer»

The correct option is (a) loglm()

Explanation: loglm is fit log-linear models by iterative PROPORTIONAL scaling. This function PROVIDES a front-end of the STANDARD function, loglin, to allow log-linear models to be SPECIFIED and fitted in a MANNER similar to that of other fitting functions.



Discussion

No Comment Found

Related InterviewSolutions