Whether it makes sense depends on the theories and questions at hand, such I
don't have the intention to comment on that.

Besides lme4, you may also want to have a look at gplm which is dedicated to
panel models in econometric sense.

Regards

On 24 May 2011 08:29, Stanislav Chankov <stanislav.m.chankov@gmail.com>wrote:

> Dear all,
>
> I am new to this list, so please accept my apologies if my question is too
> basic.
>
> I am trying to run a logit model on panel data and would really appreciate
> your advice on how to do that.
>
> I am analysing the effects of different variables on car production in a
> given country for a given year. Therefore, I am using the plm function to
> run a fixed effects model on my Country-Year panel data. However, I am also
> interested in running a logit model in order to find out what determines if
> a country produces cars or not. I believe I need to run a fixed effects
> logit model.
>
> I am trying to do that by using the lmer package in the following way:
>
> model <- lmer(Production ~ some variables + (1|Country)+(1|Year),
> family=binomial)
> where Production is a binary variable.
>
> Could you please let me know if this makes sense or should I be using some
> other R-package.
>
> Any advice will be appreciated.
>
> Many thanks and kind regards,
> Stanislav
>
>        [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-mixed-models@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
>



-- 
Wincent Ronggui HUANG
Sociology Department of Fudan University
PhD of City University of Hong Kong
http://asrr.r-forge.r-project.org/rghuang.html

	[[alternative HTML version deleted]]


