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 at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: ivpois- received a coefficientfor for var. that wasn't specified


From   Austin Nichols <austinnichols@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: ivpois- received a coefficientfor for var. that wasn't specified
Date   Wed, 3 Oct 2012 15:09:33 -0400

Anat (Manes) Tchetchik <anatmanes@gmail.com> :
If you put ln_ years_ abroad
in your varlist, you are requesting 3 variables, not one. Compare
ds ln_ years_ abroad
to
ds ln_years_abroad

On Wed, Oct 3, 2012 at 2:20 PM, Anat (Manes) Tchetchik
<anatmanes@gmail.com> wrote:
> Hi Austin,
> Not sure I understood.. my variables list include both "years_abroad"
> and "ln_years_abroad" (which is just the ln of the previous. I specify
> in the ivpois comand just the "ln_years_abroad" var. but somehow I
> recieved estimates for both vars.
> I ran the -ds- comand and both vars. appear .
> Any idea what else can it be?
> Many thanks
> Anat
>
> On Wed, Oct 3, 2012 at 6:42 PM, Austin Nichols <austinnichols@gmail.com> wrote:
>>
>> Anat (Manes) Tchetchik <anatmanes@gmail.com>:
>> Did you specify
>> ln_ years_ abroad
>> in your varlist, and is years_ an acceptable abbreviation for years_abroad?
>> The command and output shown below do not agree, so it is hard to
>> diagnose any problem.
>> Maybe precede your call to -ivpois- with a -ds- to see if you have the
>> desired varlist:
>>
>> ds  met_abroad lnage US italy france etc.
>>
>> On Wed, Oct 3, 2012 at 9:13 AM, Anat (Manes) Tchetchik
>> <anatmanes@gmail.com> wrote:
>> > Austin Hi,
>> >
>> > I have ran the ivpois and received a coefficient for a var, which
>> > wasn't specified: years_abroad. What am I missing here?
>> >
>> >
>> >  ivpois  met_abroad lnage US italy france brussiarussia
>> > other_west_EUUK  income obligation FUN  ln_ years_ abroad ,
>> > exog(FR_return  FR_native FR_work FR_student FR_immigrant livealone
>> > first_deg_family secnd_deg_family third_deg_family forth_deg_family
>> > flighttime native_israel have_kids Health male education religious
>> > south_reside) endog(facebook email  phone skype_msn)
*
*   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