[R] PEA and APE Tobit

2015-02-26 Thread hnlki
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) (librarycensReg) 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] and the

Re: [R] PEA and APE Tobit

2015-02-26 Thread hnlki
[via R] ml-node+s789695n4703915...@n4.nabble.com 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 tobit2.fit-censReg(y~x, left=0, right=Inf

Re: [R] multiple imputed files

2015-01-26 Thread hnlki
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 imputationList (mitools) I need several imputed datasets. Does that mean that I have to

[R] multiple imputed files

2015-01-26 Thread hnlki
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