Hello,
I wanted to do a t-test using variables age and doctor-diagnosed asthma (ConDr) accounting also for my sample weight which is int121314.
I tried the commands ​ttest age, by(ConDr) [aweight=int121314wt] and ttest age, by(ConDr) [pweight=int121314wt] got option [ not allowed.
Can anyone tell me what would be the accurate command.
Thank you.
I wanted to do a t-test using variables age and doctor-diagnosed asthma (ConDr) accounting also for my sample weight which is int121314.
I tried the commands ​ttest age, by(ConDr) [aweight=int121314wt] and ttest age, by(ConDr) [pweight=int121314wt] got option [ not allowed.
Can anyone tell me what would be the accurate command.
Thank you.
Comment