Dear Mr Henningsen,
I have read the posting guide but apparently not well enough. I didn't find
how to include R code in my post. I'll read it again and I'll try to give a
clearer example.
Sorry for the inconvenience.
Kind regards,
Annelies
> Op 26-feb.-2015 om 21:59 heeft Arne Henningsen-3
Dear Annelies
On 26 February 2015 at 09:12, hnlki wrote:
> I estimated a tobit model
> tobit.fit<-tobit(y~x,left=0, right=Inf) (library "AER")
> or
> tobit2.fit<-censReg(y~x, left=0, right=Inf) (library"censReg")
> I' have estimated the partial effect at the average as:
> pea<-(pnorm((colMeans(x
Hi,
I estimated a tobit model
tobit.fit<-tobit(y~x,left=0, right=Inf) (library "AER")
or
tobit2.fit<-censReg(y~x, left=0, right=Inf) (library"censReg")
I' have estimated the partial effect at the average as:
pea<-(pnorm((colMeans(x)%*%tobit.fit$coef[-1])/tobit.fit$scale))%*%tobit.fitt$coef[-1]
a
3 matches
Mail list logo