Displaying 7 results from an estimated 7 matches for "ozusaglam".
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 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
...d dummies "automatically" (e.g., if
you use regression, etc.).
Actually - it'd be nice to know what you are building your dummies for.
Dimitri
On Fri, Apr 23, 2010 at 11:34 AM, David Winsemius
<dwinsemius@comcast.net> wrote:
>
> On Apr 23, 2010, at 11:26 AM, serdal ozusaglam wrote:
>
>>
>> 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 indust...
2010 Apr 08
1
plm package twoways effect problem
Hello everyone,
I have a peoblem to create the twoways effect in the plm package.
when i try to create the following
dsn1<-plm(lnQ~lnC+lnL+lnM+lnE+eco+RD,data=newdata,effect="twoways",model="within")
i have this error:
Error in rep.int(c(1, numeric(n)), n - 1L) : negative length vectors
are not allowed
and to be honest i have no idea what does it mean!! can someone
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 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 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