[R] probit regression marginal effects

2011-04-25 Thread Quark
Dear R-community, I am currently replicating a study and obtain mostly the same results as the author. At one point, however, I calculate marginal effects that seem to be unrealistically small. I would greatly appreciate if you could have a look at my reasoning and the code below and see if I a

Re: [R] stata.get labels glm()

2011-02-27 Thread Quark
Thanks for the idea, Ben. It works, but unfortunately the numbers assigned by as.numeric() do not correspond to the original coding. Any other suggestions are very much appreciated. Best regards, Tobias Original-Nachricht > Datum: Sun, 27 Feb 2011 15:13:47 + > Von: Ben B

[R] stata.get labels glm()

2011-02-27 Thread Quark
Dear R community, I would like to import data saved with Stata and then run a Probit model using R. My data comes from the World Values Surveys and in the Probit model I want to control for countries. So far I figured out that I should put "convert.factors = FALSE" when using stata.get() in o

[R] Error using write.xlsx library(xlsx)

2011-01-28 Thread Quark
Dear Adrian, I would like to export a quite large matrix from R to Excel (40 columns, 257 597 rows). After 10 minutes of work, I get the following error message: Error in .jcall(row[[ir]], "Lorg/apache/poi/ss/usermodel/Cell;", "createCell", : Java Exception This is the code I used: write.