[R] Struggling to compute marginal effects !

Bert Gunter bgunter.4567 at gmail.com
Mon Mar 19 23:18:07 CET 2018


You are more likely to get a useful answer if you read **and follow** the
posting guide linked below. In particular, show us the code that elicited
the error. A small reproducible example would be even better, though may
not be needed.

Cheers,
Bert



Bert Gunter

"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )

On Mon, Mar 19, 2018 at 2:24 PM, Willy Byamungu <wmulimbi at email.uark.edu>
wrote:

> Dear Oscar,
> and any other R-project person,
>
> Can you please help me to figure out the meaning of the following error
> message in red ?
>
> Error in eval(predvars, data, env) :
>   numeric 'envir' arg not of length one
>
> I computed ordered logit models using 'polr' in R (I just followed the
> guidance a handout I found on princeton.edu about logit, probit and
> multinomial logit models) . The summary results are obtained without any
> problem. *However*, when I'm using the package 'erer' to compute the
> marginal effects for the ordered logit models, I'm just getting the error
> message above.
>
> Please HELP !!!!
>
> Willy
>
>
> --
> Willy Mulimbi B.
> AEAB Grad Student & Fulbright Scholar
> Tel. (+1) 479-316-5981
> Fayetteville, AR
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/
> posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

	[[alternative HTML version deleted]]



More information about the R-help mailing list