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: Making Cohorts
From
ajjee <[email protected]>
To
[email protected]
Subject
st: Re: Making Cohorts
Date
Fri, 29 Oct 2010 04:51:57 -0700 (PDT)
http://statalist.1588530.n2.nabble.com/file/n5686173/attitudes.dta
attitudes.dta
Dear Maarten
Thanks for you replies. I'm attching my data file with some variables. My
dependent variable is Y and independent variables sex I.age I.edur I.pol
I.inc.
When I give xtset country year.....it gives the error of repeated values. I
hope now it will be esay to understand my problem.
Thanks in advance.
Ajjee
Maarten buis wrote:
>
> --- On Fri, 29/10/10, ajjee wrote:
>> "Suppose that yit is a 0–1 variable indicating whether a
>> household has access to a telephone or not, and that this
>> indicator variable is a linear function of explanatory
>> variables. We acknowledge this being an unusual assumption
>> as in reality it is not possible for a 0–1 indicator to be a
>> linear function of variables, since the linear function can
>> take any value whereas the indicator is binary. However, the
>> estimation procedure which we have adopted involves subsequent
>> aggregation of the individual data. We removed yit to be
>> linear in the explanatory variables in order for the
>> aggregation to give a relation between the share of 1’s
>> and the average of the explanatory variables."
>>
>> Thats why I wrote a linear function and asked for how to
>> make a cohort data according to that.
>
> The average of a dummy variable is a proportion, which is
> still bounded between 0 and 1 (inclusive). So the averaging
> does not solve the problem of boundedness of your dependent
> variable.
>
> If I understand you correctly, you go through this excercise
> because you don't have real panel data. You can use -xtlogit-
> or -xtmelogit- for your data. The higher level unit is than
> country not individual, which seems to be what your technique
> usuccessfuly tries to do as well.
>
> Hope this helps,
> Maarten
>
> --------------------------
> Maarten L. Buis
> Institut fuer Soziologie
> Universitaet Tuebingen
> Wilhelmstrasse 36
> 72074 Tuebingen
> Germany
>
> http://www.maartenbuis.nl
> --------------------------
>
>
>
>
>
>
>
> *
> * 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/
>
>
--
View this message in context: http://statalist.1588530.n2.nabble.com/Making-Cohorts-tp5681938p5686173.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/statalist/faq
* http://www.ats.ucla.edu/stat/stata/