Re: [R] question about the degrees of freedom

2010-05-03 Thread serdal ozusaglam
Hi Serdal, > There is a lot of confusion here (how much is yours and how much is > mine remains to be seen). See specific comments in line. Also inline comments. > > On Mon, May 3, 2010 at 9:19 AM, serdal ozusaglam > wrote: >> >> Dear R users, >> >&

Re: [R] question about the degrees of freedom‏

2010-05-03 Thread serdal ozusaglam
Thank you for your advice, ill try to be more explicit now, i wasnt in the first mail because i thought it is a simple question to answer, so; i have a panel data which contains 48858 observations during 3 year therefore, there are 146574 observations in total, i have 22 different industri

Re: [R] question about the degrees of freedom‏

2010-05-03 Thread serdal ozusaglam
Thank you for your advice, ill try to be more explicit now, i wasnt in the first mail because i thought it is a simple question to answer, so; i have a panel data which contains 48858 observations during 3 year therefore, there are 146574 observations in total, i have 22 different industries d

[R] question about the degrees of freedom

2010-05-03 Thread serdal ozusaglam
Dear R users, I think i have a simple question which i want to explain by an example; i have several 2-digit industry codes that i want to use for conducting by-industry analysis but i think there is a problem with the degrees of freedom! for example, when i do my analysis without any 2-digit

Re: [R] creating dummy with loop command‏

2010-04-23 Thread serdal ozusaglam
dummies by using loop since there are many dummies to create, but i dont know how to do it. i hope i could be more explicit now, and you could help me more at this time. Thank you for your help in advance -- Serdal, I think what David is saying: just take those 2 variables

[R] creating dummy with loop command

2010-04-23 Thread serdal ozusaglam
Dear R users, I have a simple question (probably) but i couldnt how to find a solution for that. i am using 2 digit industry codes and 3 digit industry codes for my model, and i need to create dummies for the industries. The case is simple for the 2-digit industries since there are not that m

[R] total. factor. prodctvty. help!!

2010-04-14 Thread serdal
Dear all, I have a basic(!) econometric question which i couldnt find the way to do it in R. Well this could be also because of my wrong interpretation of the econometric process that i am trying to implemet.so here i wanna ask if am doing a logical mistake!!! so here is the question with the exp

[R] plm package "twoways" problem

2010-04-07 Thread serdal
uot;stno","year")) dsn1<-plm(lnQ~lnC+lnL+lnM+lnE+eco+RD,data=newdata,effect="twoways",model="within") but i have this error: Error in rep.int(c(1, numeric(n)), n - 1L) : negative length vectors are not allowed thank your for your help in advance Serdal --

[R] decomposing the error term into time-specific &indiviual specific effect + transitory term

2010-03-31 Thread serdal
hi all! i am a beginner in R so i need a command that i couldnt find on the net. i need to transform the error term and i should decompose it into time-specific, indiviual specific effect and transitory term like here (åit =ui + vt + wit) the individual effect in my model is called "stno" and t

[R] plm package duplication problem

2010-03-29 Thread serdal
hi, i am writing my master 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