in Education by
Function used for linear regression in R is __________ (a) lm(formula, data) (b) lr(formula, data) (c) lrm(formula, data) (d) regression.linear(formula, data) The question was asked by my college professor while I was bunking the class. My query is from Linear Regression in chapter Commands, Packages, Visualizing Data and Linear Regression of R Programming Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
Right option is (a) lm(formula, data) Easiest explanation: lm(formula, data) refers to a linear model in which formula is the object of the class “formula”, representing the relation between variables. Now this formula is on applied on the data to create a relationship model.

Related questions

0 votes
    If Linear regression model perfectly first i.e., train error is zero, then _____________________ (a) Test error ... of R Programming Select the correct answer from above options...
asked Feb 9, 2022 in Education by JackTerrance
0 votes
    What do we do the curvilinear relationship in linear regression? (a) consider (b) ignore (c) may be ... Regression of R Programming Select the correct answer from above options...
asked Feb 9, 2022 in Education by JackTerrance
0 votes
    Which of the following determine the least-squares regression line? (a) histo() (b) lm (c) barlm() (d ... Regression of R Programming Select the correct answer from above options...
asked Feb 9, 2022 in Education by JackTerrance
0 votes
    In practice, Line of best fit or regression line is found when _____________ (a) Sum of residuals (∑(Y ... Regression of R Programming Select the correct answer from above options...
asked Feb 9, 2022 in Education by JackTerrance
0 votes
    Which function is used for loading packages? (a) Library (b) Interface (c) Loader (d) Linker The ... Regression of R Programming Select the correct answer from above options...
asked Feb 10, 2022 in Education by JackTerrance
0 votes
    Which function is used for seeing currently active libraries? (a) Curlib() (b) Currlib() (c) .libpaths( ... Regression of R Programming Select the correct answer from above options...
asked Feb 9, 2022 in Education by JackTerrance
0 votes
    Which of the following will add the title R language to the graph? (a) titleAdd( R language ) (b ... Regression of R Programming Select the correct answer from above options...
asked Feb 10, 2022 in Education by JackTerrance
0 votes
    Which of the following package provide namespace management functions not yet present in base R? (a) stringr (b) ... of R Programming Select the correct answer from above options...
asked Feb 9, 2022 in Education by JackTerrance
0 votes
    Which of the following statement applies the function (FUN) to either rows (1) or columns (2) on object ... Regression of R Programming Select the correct answer from above options...
asked Feb 9, 2022 in Education by JackTerrance
0 votes
    Which of the following is a library for statistical quality control? (a) gcc (b) qcc (c) anc (d) ... Regression of R Programming Select the correct answer from above options...
asked Feb 10, 2022 in Education by JackTerrance
0 votes
    ______ specializes in functions for analytical Customer Relationship Management. (a) adagio (b) ada (c) aCRM (d) ... of R Programming Select the correct answer from above options...
asked Feb 10, 2022 in Education by JackTerrance
0 votes
    Which of the following finds row sums for each level of a grouping variable? (a) rowSums (x, na.rm = ... Regression of R Programming Select the correct answer from above options...
asked Feb 9, 2022 in Education by JackTerrance
0 votes
    Which of the following is lattice command for producing a scatterplot? (a) plot() (b) lm() (c) xyplot( ... Regression of R Programming Select the correct answer from above options...
asked Feb 9, 2022 in Education by JackTerrance
0 votes
    Predicting y for a value of x that's outside the range of values we actually saw for x in the original ... Regression of R Programming Select the correct answer from above options...
asked Feb 9, 2022 in Education by JackTerrance
0 votes
    Which of the following is Mac menu command? (a) browse.workspace (b) browse.works (c) browser.workspace ... of R Programming Select the correct answer from above options...
asked Feb 10, 2022 in Education by JackTerrance
...