Search Header Logo

FDA FINAL QUIZ

Authored by SRINIVASARAO 22PHD7042

Computers

University

Used 5+ times

FDA FINAL QUIZ
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a basic data type in R?

Numeric

Integar

String

Logical

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given the following vector: my_vector <- c(1, 2, 3, 4, 5), what will length(my_vector) return?

1

5

4

6

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which R function is used to convert a character to a numeric data type?

as.numeric()
to.numeric()
convert.numeric()
change.numeric()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Multiple Linear Regression, the dependent variable is:

The variable you want to predict

A function of a single independent variable

An additional variable for accuracy

A constant value

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The summary() function in R provides:

A detailed report of the dataset

A graphical representation of the data

A summary of the statistical analysis
A list of all the variables in the dataset

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to fit a multiple linear regression model in R using the lm() function?

lm(y ~ x1 + x2 + x3, data = mydata)
lm(x1 + x2 + x3, y, data = mydata)
lm(y ~ x1, x2, x3, data = mydata)
lm(y, x1 + x2 + x3, data = mydata)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which R function is used to sort a vector in ascending order?

sort()
order()

ascending()

arrange()

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?