jeudi 26 septembre 2019

Stata help: How to test if two independent variables have the same effect when given values

So, I have this question. I need to test if being male has the same effect as aging 10 years, on the total expenditure on health. I have variables age (beginning from 65) and female (1 if female and 0 if male). I have written something like:

regress totexp age female (other indep var) test i0.female=age/10

But I know it's probably incorrect. Can anyone help on this specific issue?

Aucun commentaire:

Enregistrer un commentaire