[R] How to get the test statistic corresponding to the p-value in mtable?

2011-08-04 Thread Erich Striessnig
Dear R-Users, I want to use mtable from package "memisc" to produce Latex-style estimation output. However, mtable() only gives me a p-value and not the corresponding test-statistic. Does anyone know how to extract it, either from a glm/anova object or mtable? Here is a short example: # Run this

[R] How to change labels in scatterplot?

2011-02-08 Thread Erich Striessnig
Dear all, I'm trying to use "scatterplot" from package "car" to get a scatterplot with row-names as labels and I want my data to be divided into two groups defined by the column "tresh". Leaving away the groups-command gives me the right labels but they are not distinguished by colors according to

[R] Changing significant codes in mtable {memisc}

2011-01-31 Thread Erich Striessnig (IIASA)
Dear R-users! I've been trying to produce tables from glm-results using mtable from the memsic package but I'm not quite happy with the default of signif.codes in R. What I want to do is to change this line: Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 to that line: Signif. co

[R] ignore error in for-loop

2008-10-06 Thread Erich STRIESSNIG
ack to" or "skip error" ... ? Thanks in advance, Erich Erich STRIESSNIG IIASA International Institute for Applied Systems Analysis A-2361 Laxenburg, Austria E-Mail: [EMAIL PROTECTED] Phone : +43 2236 807-0 Fax : +43 2236 71313 __ R-help@r

[R] panel data analysis possible with mle2 (bbmle)?

2008-09-19 Thread Erich STRIESSNIG
Dear R community, I want to estimate coefficients in a (non-linear) system of equations using 'mle2' from the "bbmle" package. Right now the whole data is read in as just one long time series, when it's actually 9 cross sections with 30 observations each. I would like to be able to test and correc

[R] using function instead of formula in plm

2008-09-12 Thread Erich STRIESSNIG
Hi all, I am trying to use plm to estimate coefficients in a model consisting of a system of equations. So far I used mle2 from the package "bbmle", but now I need to test for autocorrelation and mle2 does not provide for the necessary tests. mle2 needs a 'function' as input that might as well con