[R] Manage unbalanced panel with plm

2016-11-03 Thread laura roncaglia
Dear all, I am using an unbalanced panel dataframe to run my analysis. The df is based on a national survey and I know the reason why the df is unbalanced. I tried to understand if plm package corrects for unbalanced panel, so that I can use the plm package without problem. I create a plm.data u

Re: [R] Run a fixed effect regression and a logit regression on a national survey that need to be "weighted"

2016-09-20 Thread laura roncaglia
the glm() function. > > Jean > > On Tue, Sep 20, 2016 at 5:04 AM, laura roncaglia < > roncaglia.la...@gmail.com> wrote: > >> I am a beginner user of R. I am using a national survey to test what >> variables influence the partecipation in complementary pen

[R] Run a fixed effect regression and a logit regression on a national survey that need to be "weighted"

2016-09-20 Thread laura roncaglia
I am a beginner user of R. I am using a national survey to test what variables influence the partecipation in complementary pensions (the partecipation in complementary pension is voluntary in my country). Since the dependent variable is a dummy (1 if the person partecipate and 0 otherwise) I want

[R] apply weight to a data frame

2016-09-15 Thread laura roncaglia
I am a beginner user of R. I am writing the master thesis using a data frame from a national survey. The data frame contains several variables, one of which contains the survey weights. I need to apply the survey weights to the data frame, in order to use the data frame with the plm package (I ne