Hi everyone,
I wonder where the error is in the following code:
local ivs trustmean C02_SQ001 C03 C04_SQ001
local cvs gender age1 age2 age3 age4
foreach IV of varlist `ivs' {
reg D04_SQ001 `cvs' `IV'
estat ic
}
varlist required
r(100);
Any comment is highly appreciated! Thanks!
Regards,
Filip
I wonder where the error is in the following code:
local ivs trustmean C02_SQ001 C03 C04_SQ001
local cvs gender age1 age2 age3 age4
foreach IV of varlist `ivs' {
reg D04_SQ001 `cvs' `IV'
estat ic
}
varlist required
r(100);
Any comment is highly appreciated! Thanks!
Regards,
Filip
Comment