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]

RE: st: regression where independant var with gaps


From   tashi lama <[email protected]>
To   <[email protected]>
Subject   RE: st: regression where independant var with gaps
Date   Fri, 15 Jun 2012 16:56:58 +0000

True. Since my data are readership hits, I populated the days without readership hits zero. 

I was thinking somewhere in the line where in a real research, you will have missing values. Say, you are trying to identify the income solely based on education. If you pick 25 ppl for the research and you know the incomes of all 25 ppl but education of only 24 ppl. You would have a missing value unless you decide to ignore it all and take 24 ppl for your research. How would you do regression in this case where you decide to include all the ppl and hence have a missing value. 

 

Thanx 

----------------------------------------
> From: [email protected]
> To: [email protected]
> Subject: Re: st: regression where independant var with gaps
> Date: Fri, 15 Jun 2012 17:25:51 +0100
>
> You have shown data examples like
> this with values every day but some zeros. Be advised: if the gaps are
> known to contain zeros, then they are not gaps. This is not a matter
> of convention or preference.
>
> Nick
>
>
> On 15 Jun 2012, at 16:54, tashi lama <[email protected]> wrote:
>
> >
> > Hello all,
> >
> > I have a univariate time series with gaps like following
> >
> >
> >
> > date hits
> >
> > 01/01/2011 40
> >
> > 01/02/2011 20
> >
> > 01/03/2011 9
> >
> > 01/06/2011 6
> >
> > 01/10/2011 2
> >
> > ........
> >
> >
> >
> >
> >
> > Can I run a regression since the my independant vars have gaps?
> *
> * 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/


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