Displaying 2 results from an estimated 2 matches for "cgdp".
Did you mean:
cdp
2007 Jul 12
2
how to get the p-values from an lm function ?
Hi, dear R-users,
I am computing a liner regression by rating category using the 'by' function
as stated below:
tmp <- by(projet, rating, function(x) lm(defaults ~ CGDP+CSAVE+SP500, data =
x))
I would like to get not only the coefficients but also their p-values. I
can't find the command in the help pages to get them.
Does anyone have a suggestion ?
Thank you,
Benoit.
[[alternative HTML version deleted]]
2008 Sep 21
1
diff() for panel data
Hello, everyone!
I'd like to find out how I can do first log differences in a panel?
(The Penn World Table data that's available in the PWT package)
The regular diff() function ignores the country/index/"panel unit",
with depressing results.
A second request, how can I best "filter" the data (e.g. generate a
data frame with the data for a single country or a single