Hi, I am new to STATA. I have panel data (based on survey results) with various respondent invariant independent variables like gender and age. I would like to investigate if these respondent invariant variables have an effect on my dependent variable of interest, car ownership, but am not sure which model to use. I read through various topics in the forum that deal with time-invariant variables. I saw suggestions to use xtreg, re or xtreg, be, since of course, the fixed effects model cannot be applied here.

May I know if I can apply xtreg, re or xtreg, be to respondent invariant independent variables?

Any help will be appreciated. Thank you.