Displaying 1 result from an estimated 1 matches for "coef2000".
Did you mean:
cf7f2000
2009 Jun 15
0
books on Time serie
...ustry, for the lm function:
> ff<-Y~b1 + b2.X1 + b3.X3
>
> So what I’ve done was: subset the dataframe by year, so I have 3
> dataframes corresponding to the 3 years (dataframe2000,
> dataframe2001, … ) and then I applied a function that I’ve found
> in R-help mails:
> coef2000<-
> as
> .data
> .frame
> (t(sapply(split(dataframe2000,dataframe2000$industry),function(x)
> {coef(lm(ff,data=x))})))
>
> I need help in two ways:
> First: I’d like to have in the dataframe of the coefficients more
> statistics information that helps me to unde...