Skills Lab 11- Mediation Flashcards

1
Q

The direct and indirect effect will never be bigger than the

A

Total effect

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

Within the model definition code what does ~ mean

A

Is predicted from

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

Within the model definition code what does = mean

A

Is created from

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

What is the code for defining the model

A

my_mod

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

What is the code to fit the model

A

my_fit

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

What function is used to fit the model

A

sem() from the lavaan package

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

What is listwise deletion

A

Where an entire participant is excluded from analysis if any single variable is missing

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

What is a better method to use than “listwise deletion” from the sem() function

A
  • full information maximum likelihood (FIML)

- multiple imputation

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

What does FIML produce

A

Unbiased parameter estimates and standard errors where there is missing data

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

FIML can only be used when what is used

A

maximum likelihood estimators

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

Maximum estimators work by

A

Choosing the parameters that make the data most likely to have happened

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

What needs to be added to get maximum likelihood estimators

A

estimator = “ML”

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

What code adds maximum likelihood estimators with robust standard errors

A

estimator = “MLR”

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

What code can be used to look at how good the model is (the model fit statistics)

A

broom::glance()

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

What code can be used to look at the actual effects (the model parameters)

A

broom::tidy(my_fit, conf.int = TRUE)

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

What code can be used to create a diagram of the pathways

A

semPlot::semPaths()