Arne Henningsen-3 [via R]
> het volgende geschreven:
>
> Dear Annelies
>
> On 26 February 2015 at 09:12, hnlki <[hidden email]> wrote:
>
> > I estimated a tobit model
> > tobit.fit<-tobit(y~x,left=0, right=Inf) (library "AER")
> > or
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
Thank you for your answers. In fact I am using the HFCS dataset, but I need
3-SLS and SUR. Does the code work with system.fit as well?
My 5 imputed files are stacked together in one dataset. In order to use
(mitools) I need several imputed datasets. Does that mean
that I have to split my datase
Dear,
My dataset consists out of 5 imputed files (that I did not imputed myself).
Is was wondering what is the best way to analyse them in R. I am aware that
packages to perform multiple imputation (like Mice & Amelia) exist, but they
are used to perform MI. As my data is already imputed, I would
4 matches
Mail list logo