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

st: AW: table no obs and missings

From   "Martin Weiss" <>
To   <>
Subject   st: AW: table no obs and missings
Date   Fri, 12 Feb 2010 09:53:24 +0100


The missing option pertains to the statistics within the -table- being
missing, not the values of the row variable:

webuse apple, clear
replace treatment=.z in 1/5
oneway weight treatment
table treatment if r(F)>= .25, c(m we sd we med we)

Do you really want to condition on your F-statistic being more than 0.25?


-----Ursprüngliche Nachricht-----
[] Im Auftrag von Kaulisch, Marc
Gesendet: Freitag, 12. Februar 2010 09:46
Betreff: st: table no obs and missings

Dear Statalisters,

Using Stata 11 MP 64bit (Win Server 2008R2) I am confused about some
functionality of -table-.

I use the following code:

.	oneway `var' fachuhdfak, means scheffe
.	table fachuhdfak if r(F)>= .25, c(m `var' sd `var' med `var')

.	ttest `var', by(muhd)
.	table muhd if r(p) <= .05, c(m `var' sd `var' med `var')

The first -table- command line reports also missing values of variable
fachuhdfak - although missing as an option is not specified. Do I
misinterpret the missing option?
Table looks like:

The second -table- command line produces the error no observatios (r(2000))
as r(p) is higher than .05. I wonder why -tab2- is ignoring that there are
no observations but -table- produces an error?

Any ideas/hints/clarifications?


Institut für Forschungsinformation und Qualitätssicherung
Godesberger Allee 90
53175 Bonn, Germany
Tel.: *49 - 228 - 9 72 73 - 25
Fax: *49 - 228 - 9 72 73 - 49

*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2020 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index