I am going through an R example of using interaction terms in a fixed effect model. The example can be found here.
The example uses the fixest package and uses the syntax var::fe(ref). I don't understand what ref is and what it does here. How do I select the value for ref?
I have come across this explanation on Google: "You can interact a numeric variable with a "factor-like" variable by using i(factor_var, continuous_var, ref), where continuous_var will be interacted with each value of factor_var and the argument ref is a value of factor_var taken as a reference (optional)." - I do not understand the role of this "reference" here.
Any insight will be highly appreciated.