in Education by
In syntax of linear model lm(formula,data,..), data refers to ______ (a) Matrix (b) Vector (c) Array (d) List This question was posed to me in an online quiz. My doubt is from Linear Regression topic in section Commands, Packages, Visualizing Data and Linear Regression of R Programming Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
Correct answer is (b) Vector To explain: Formula is just a symbol to show the relationship and is applied on data which is a vector. In General, data.frame are used for data.

Related questions

0 votes
    In the mathematical Equation of Linear Regression Y = β1 + β2X + ϵ, (β1, β2) refers to __________ (a) ... Regression of R Programming Select the correct answer from above options...
asked Feb 10, 2022 in Education by JackTerrance
0 votes
    How many coefficients do you need to estimate in a simple linear regression model (One independent variable)? (a) ... of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    When there are more than one independent variables in the model, then the linear model is termed as _______ (a ... of R Programming Select the correct answer from above options...
asked Feb 10, 2022 in Education by JackTerrance
0 votes
    In a simple linear regression model (One independent variable), If we change the input variable by 1 unit. How ... of R Programming Select the correct answer from above options...
asked Feb 10, 2022 in Education by JackTerrance
0 votes
    __________ function takes various parameters like formula, data, subset, labels, etc. (a) Pears (b) Pairs (c ... of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    __________ refers to a group of techniques for fitting and studying the straight-line relationship between two ... R Programming Select the correct answer from above options...
asked Feb 10, 2022 in Education by JackTerrance
0 votes
    How do you create log linear models in R language? (a) loglm() (b) logmn() (c) logfn() (d) ... and Debugging of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    Which of the following may be used for linear regression? (a) X %*% Y (b) solve(A) (c) solve(A ... Linear Regression of R Programming Select the correct answer from above options...
asked Feb 11, 2022 in Education by JackTerrance
0 votes
    ________ is a simple approach to supervised learning. It assumes that the dependence of Y on X1, X2, . ... Regression of R Programming Select the correct answer from above options...
asked Feb 10, 2022 in Education by JackTerrance
0 votes
    ______ Uses Grieg-Smith method on 2 dimensional spatial data. (a) G.S. (b) g.data (c) G1DBN (d) ... Linear Regression of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    ______ splits a data frame and results an array (hence the da). Hopefully you're getting the idea here. ... Regression of R Programming Select the correct answer from above options...
asked Feb 11, 2022 in Education by JackTerrance
0 votes
    ______ specializes in converting data from wide to long format. (a) gcc (b) reshape (c) reshape2 (d) ... Regression of R Programming Select the correct answer from above options...
asked Feb 10, 2022 in Education by JackTerrance
0 votes
    ______ let's you perform SQL queries on your R data frames. (a) sqldf (b) plyr (c) forecast (d) ... Linear Regression of R Programming Select the correct answer from above options...
asked Feb 10, 2022 in Education by JackTerrance
0 votes
    Write the syntax to set the path of the current working directory in R environment? (a) Setwd( dipath ) ... Debugging of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    Which of the following syntax is used to install forecast package? (a) install.pack( forecast ) (b) install ... of R Programming Select the correct answer from above options...
asked Feb 10, 2022 in Education by JackTerrance
...