1.

Which of the following function actually fits the linear model?(a) lm.time()(b) lm.date()(c) lm.fit()(d) lm.interval()This question was posed to me during an interview.I would like to ask this question from R Profiler topic in portion Profiling, Simulation and Data Analysis of R Programming

Answer»

Correct option is (c) lm.fit()

The best explanation: lm() function does a BIT of pre-processing and CHECKING before it ACTUALLY FITS the model.



Discussion

No Comment Found

Related InterviewSolutions