Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: t-test and missing values


From   Navid Asgari <[email protected]>
To   [email protected]
Subject   st: t-test and missing values
Date   Sat, 26 May 2012 21:29:48 +0800

Hi all,

I am facing a simple but a bit confusing situation...

I am running a simple unpaired t-test on equality of means of two
variables, say var1 and var2

var1              var2
------------------------------
1                    3.4
2                    3
3                    1
.                     2
4                    .
0                    .
.

I want Stata to ignore the missing values? In other words, these
records should not be counted as a sample point?

Does "unpaired" option after ttest do this?

Thanks,
Navid
*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index