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: RE: fw with noninteger numbers


From   "Radwin, David" <dradwin@rti.org>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: fw with noninteger numbers
Date   Mon, 28 Oct 2013 15:12:19 -0400

Your email is vague ("some totals") about the statistic you are trying to replicate in Stata. Also, you are admonished in the FAQ to use your full real name, even if you do post through a third-party website.

If you only care about totals and not counts of observations, standard errors, statistical significance, etc., you could use [pw=fexp] or [iw=fexp] with the -total- command. For example:


. sysuse nlsw88, clear
(NLSW, 1988 extract)

. total wage [fw=grade]

Total estimation                    Number of obs    =   29394

--------------------------------------------------------------
             |      Total   Std. Err.     [95% Conf. Interval]
-------------+------------------------------------------------
        wage |   238954.8   1010.528      236974.1    240935.4
--------------------------------------------------------------

. total wage [iw=grade]

Total estimation                    Number of obs    =   29394

--------------------------------------------------------------
             |      Total   Std. Err.     [95% Conf. Interval]
-------------+------------------------------------------------
        wage |   238954.8   1010.528      236974.1    240935.4
--------------------------------------------------------------

. total wage [pw=grade]

Total estimation                    Number of obs    =    2242

--------------------------------------------------------------
             |      Total   Std. Err.     [95% Conf. Interval]
-------------+------------------------------------------------
        wage |   238954.8   3802.351      231498.3    246411.3
--------------------------------------------------------------


David
--
David Radwin
Senior Research Associate
Education and Workforce Development Division
RTI International
2150 Shattuck Ave., Suite 800
Berkeley, CA 94704
Phone: 510-665-8274

www.rti.org


> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-
> statalist@hsphsun2.harvard.edu] On Behalf Of jfca283
> Sent: Monday, October 28, 2013 11:59 AM
> To: statalist@hsphsun2.harvard.edu
> Subject: st: fw with noninteger numbers
> 
> Hi
> I know the option [fw=fexp] must be with fexp containing only integer
> data.
> However, spss can use noninteger numbers. I don't like spss, but i need to
> compare some totals elaborated with spss. What can i do?
> Thanks for your posts.
> 
> 
> 
> --
> View this message in context: http://statalist.1588530.n2.nabble.com/fw-
> with-noninteger-numbers-tp7580446.html
> Sent from the Statalist mailing list archive at Nabble.com.

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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