Hi!
I am working with survey data , and I want to run a regression with several dummy variables.
Initially, I wanted to run the following regression:
svy: areg cost wage age female white black asian disease1 disease2 disease3 disease4 disease5 d_year*
, where following variables are dummy variables: female, white, black, asian, diseaseX, d_year*
Unfortunately, I cannot combine the -svy- and -areg- commands.
Do you know any way around this?
Would this be correct, in terms of weights?
areg cost wage age female white black asian disease1 disease2 disease3 disease4 disease5 d_year*, [aweight = perwgt]?
It would be great if you could give some guidance on this. Thanks a lot in advance!
I am working with survey data , and I want to run a regression with several dummy variables.
Initially, I wanted to run the following regression:
svy: areg cost wage age female white black asian disease1 disease2 disease3 disease4 disease5 d_year*
, where following variables are dummy variables: female, white, black, asian, diseaseX, d_year*
Unfortunately, I cannot combine the -svy- and -areg- commands.
Do you know any way around this?
Would this be correct, in terms of weights?
areg cost wage age female white black asian disease1 disease2 disease3 disease4 disease5 d_year*, [aweight = perwgt]?
It would be great if you could give some guidance on this. Thanks a lot in advance!
Comment