Exercise

# Factor scores & regression

Factor scores can be extracted from a structural equation model and used as inputs in other models, with some loss of information and stability. Previously, we used `lavaan`

to regress spending on our three dimensions of brand quality. What happens if we take the factor scores from the brand quality dimensions, *then* regress spending on them *outside* of `lavaan`

? Let's find out!

`dplyr`

and `lavaan`

have been loaded into your environment.

Instructions 1/4

**undefined XP**

- A scaled data frame containing three independent variables, factors
`F1`

,`F2`

,`F3`

and the dependent variable,`spend`

, has been loaded as`bq_fs_spend`

. Build this regression using`lm()`

and assign the results to`bq_fs_reg`

.