Dear all,
I am currently trying to conduct quantile regression in Zelig and it does not work out.
In the net I can find two vignettes:
Rq: Quantile Regression for Continuous Dependent Variables
http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.205.1968
quantile: Quantile Regression for Continuous Dependent Variables
http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.205.3837
Independent of which specification I use (model="rq"; model="quantile"), I get the following message:
** The model "rq" is not available with the currently loaded packages,
** and is not an official Zelig package.
** The model's name may be a typo.
I greatly appreciate any help
Best regards,
Philipp
Philipp Korom
____________________________________
Senior Researcher
Max Planck Institute for the Study of Societies
Institut Max Planck pour l'étude des sociétés
Paulstr. 3 | 50676 Cologne | Germany
kr(a)mpifg.de | www.mpifg.de
Phone +49 221 2767-274 | Fax +49 221 2767-555
Greetings,
I am attempting to run a gamma.mixed model on five imputed datasets from Amelia II. I used mi() to combine the datasets in the zelig run. As with some others, when I call the summary () , I receive the error
*Error in object[[1]]$result$call :
$ operator not defined for this S4 class*
I can get the summaries for each individual dataset,but I cannot retrieve the summary of the combined datasets. I can combine the datasets using Rubin's rules, but given this analysis will use several different models and plots,
having the combined results would be far simpler.
Thanks,
David
David Hill
Associate Professor of Political Science
Stetson University
DeLand, FL 32723
(386) 822-7579
> LU2010 -> zelig(Result~ Wetland + Developed+ Grasses+Crops,
model="logit.gee", id="Location",corstr="exchangeable", data=y2010)
> LU2010$residuals
NULL
I am running Zelig 4.2-1 and using the "logit.gee" model link to fit a
model. I am trying to get a print out of the model residuals to use to test
for spatial autocorrelation; however, when I try to get the print out it
says null.
My model is. I do not get any errors when I run the model and I get
coefficients and cun run Wald test.
Any help or ideas would be greatly appreciated.
Hi All,
I think I'm having an issue either with setx() or sim()--not sure which
one. The zelig() command runs fine and summary(z.out) output has the
correct results--the same I get from lm(). Setx() and Sim() also both run
without a problem, but summary(s.out) prints without any actual results and
when I try to plot(s.out) I get an error saying there are no y values. The
output and my code are below. I feel like I'm missing something pretty
obvious here, but am about out of ideas. Thanks in advance for any help!
Cheers,
Laura
>
masculinityscorewhole<-zelig(qual~masculinityscore+female+age+education+black+latino+republican+working+homemaker+partnered+kids+homemaker*kids+partnered*kids+polinterest+vote12b,
weights=cces3$postweight, model="normal", data=cces3)
> x.high<- setx(masculinityscorewhole, female=1)
> x.low <- setx(masculinityscorewhole, female=0)
> exp.out2<- sim(masculinityscorewhole, x = x.low, x1 = x.high)
> summary(exp.out2)
Model: normal
Number of simulations: 1000
Values of X
(Intercept) masculinityscore female age education black latino
republican working homemaker partnered kids polinterest
vote12b homemaker:kids partnered:kids
attr(,"assign")
[1] 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Values of X1
(Intercept) masculinityscore female age education black latino
republican working homemaker partnered kids polinterest
vote12b homemaker:kids partnered:kids
attr(,"assign")
[1] 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15