R functions for Exam 3 Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

cor ( )

A

this function computes the correlation of two variables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

pf ( )

A

computes cumulative probabilites from F distributions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

qf ( )

A

computes quantiles for F distributions. The input you give is a probability

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

lm ( )

A
is used to get regression coefficients.
in lm (variable1 -variable2 + variable 3)
variable 1 is the outcome variable 2 and 3 are predictors
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

summary ( ) of a regression

A

a set of statistics for hypothesis tests for that regression. First you get everything related to testing the reliability of each regression coefficient, including the name of the predictor that coefficient is for, the value of the coefficient in the sample, the coefficient’s standard error, that t value (which is the coefficient divided by its standard error) and the two tailed p value.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

anova

A

If you input the model for ANOVA – from lm () to the anova ( ) funciton, you get a set of statistics for hypothesis tests for the ANOVA.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly