Displaying 4 results from an estimated 4 matches for "stno".
Did you mean:
sino
2010 Mar 29
1
plm package duplication problem
...thesis and i am dealing with 146474 observations
(panel data), i have just learned the R so i am a beginner!!
i am trying to use the "plm" package and i have a duplication problem;
i have written the following commands to read my data and create my model
>dsn<-plm.data(ds, c("stno", "year")) ds=name of my data, stno=individual
effect, year=time effect
this command works just fine, i can even get the summary of "dsn" with
>summary(dsn) which works fine also, however my problem starts when i define
my model and i cant find where do i make mistak...
2010 Jun 09
1
equivalent of stata command in R
....0880374 .2833503 0 1
lnE | 146353 .9256239 1.732912 -4.473922 10.51298
lnM | 146209 4.281903 1.862192 -4.847253 13.71969
2. Estimate model
. xi: xtreg lnLP lnC lnL lnE lnM eco inno eco_inno eco_lnE eco_lnM i.year, fe i(stno)
i.year _Iyear_1997-1999 (naturally coded; _Iyear_1997 omitted)
Fixed-effects (within) regression Number of obs = 146167
Group variable (i): stno Number of groups = 48855
R-sq: within = 0.9908 Obs per...
2010 Jun 09
1
equivalent of stata command in R
...have a predict function, so forget my former mail. To get
> to the coefficients, you just :
> coef(mdl)
>
> The rest of the calculations you can figure out I guess.
>
> I'm also not sure if you're doing what you think you're doing. You
> never specified the index stno in your pml call. Read the help files
> again. And while you're at it, read the posting guide for the list as
> well:
> http://www.R-project.org/posting-guide.html
>
> Cheers
> Joris
>
>
> On Wed, Jun 9, 2010 at 11:54 AM, mike mick <saint-filth@hotmail.com> w...
2010 Jun 09
1
equivalent of stata command in R
...4 .2833503 0 1
lnE | 146353 .9256239 1.732912 -4.473922 10.51298
lnM | 146209 4.281903 1.862192 -4.847253 13.71969
2. Estimate model
. xi: xtreg lnLP lnC lnL lnE lnM eco inno eco_inno eco_lnE eco_lnM i.year, fe i(stno)
i.year _Iyear_1997-1999 (naturally coded; _Iyear_1997 omitted)
Fixed-effects (within) regression Number of obs = 146167
Group variable (i): stno Number of groups = 48855
R-sq: within = 0.9908...