Displaying 6 results from an estimated 6 matches for "serdal".
Did you mean:
serdar
2010 May 03
2
question about the degrees of freedom
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 industry code, i got the following summary (i have 146574 observations in total):
>
2010 Apr 23
1
creating dummy with loop command
...h is not i want.
in fact i know that people create this kind of 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 you have and
specify them as factors. Assuming your data frame is called "MyData":
MyData$Ind_1<-as.factor(MyData$Ind_1)
MyData$Ind_2<-as.factor(MyData$Ind_2)
This way R will know they are not numeric variables but categ...
2010 Apr 23
1
creating dummy with loop command
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 mcuh of them, so i am creating my dummies as following
ind_2da<-(ind_2d==11)#for the 11th industry
2010 Mar 29
1
plm package duplication problem
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(ds, c("stno", "year")) ds=name of my data, stno=individual
2010 Apr 14
0
total. factor. prodctvty. help!!
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 explanation of the process, hope there will
be someone who can help me!
suppose i have a basic
2010 May 03
1
question about the degrees of freedom
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 defined by 2-digit codes
such as 11, 13,14,16...40 therefore, ind_2d contains 22 2-digit codes
for