Sripal might want to take a look at:
-help ANOVA-;
the following example (flag: Stata 9.2/SE):
-------------------------------------------------
set obs 100
g Group=1 in 1/50
replace Group=2 in 51/100
g age = 50 *uniform()
g height=165*uniform()
oneway age Group [aweight = height]
oneway age Group [aweight = height], bonferroni
-----------------------------------------------
HTH and Kind Regards,
Carlo
-----Messaggio originale-----
Da: [email protected]
[mailto:[email protected]] Per conto di Sripal Kumar
Inviato: martedì 10 novembre 2009 15.14
A: statalist
Oggetto: st: t-test using analytic weights
Hi,
I am trying to use t-test of independent samples but by using analytic
weights. I tried the following:
ttest age1 == age2 [aweight = wt], unpaired
I get an error message saying "weights not allowed". Is there a way around
it?
thanks,
Sripal.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/