Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: RE: sample size reduced significantly


From   "Yu Chen, PhD" <profyuchen@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: sample size reduced significantly
Date   Fri, 12 Apr 2013 11:17:41 -0500

Thank you, Arya.



On Thu, Apr 11, 2013 at 3:22 PM, Arya Eskamani
<Arya.Eskamani@assist-rx.com> wrote:
> In your explanatory variables, do you have any rows that with a missing field?  When you run an OLS it only runs on observations for which all data is available.
>
> Try seeing if you do by using -codebook [varname]- , it will tell you if it holds any missing values. Hope this helps :)
>
> Arya Eskamani, M.S.
> Project Manager
> 4700 Millenia Blvd | Ste 500 | Orlando, FL 32839
> 407.367.2880 Phone | 877.313.4412 eFax
> www.assist-rx.com | arya.eskamani@assist-rx.com
>
>
> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Yu Chen, PhD
> Sent: Thursday, April 11, 2013 4:17 PM
> To: statalist@hsphsun2.harvard.edu
> Subject: st: sample size reduced significantly
>
> Dear Statalist,
> I have several variables with each of them having at least 6000 observations (non-missing values). However, when I put them into OLS regression, the number of observations reduced to only about 1000. I cannot figure out what causes the problem. Could you please help me find out the causes? What code can I use to analyze the problem?
> Thank you in advance.
>
> Yu Chen
> *
> *   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/
>
> *
> *   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/



-- 
Yu Chen, Ph.D.
Assistant Professor of Accounting
A. R. Sanchez, Jr. School of Business, WHTC 218D
Texas A&M International University
5201 University Boulevard
Laredo, Texas 78041-1900
USA
956-326-2513 (office)
956-326-2479 (fax)

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index