<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.zelig">
    <title>gmane.comp.lang.r.zelig</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.zelig</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.zelig/795"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.zelig/794"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.zelig/793"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.zelig/792"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.zelig/791"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.zelig/790"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.zelig/789"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.zelig/788"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.zelig/787"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.zelig/786"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.zelig/785"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.zelig/784"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.zelig/783"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.zelig/782"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.zelig/781"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.zelig/780"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.zelig/779"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.zelig/778"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.zelig/777"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.zelig/776"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.zelig/795">
    <title>Re: readRDS</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.zelig/795</link>
    <description>&lt;pre&gt;Hi - I just installed from CRAN, and was able to correctly run a relogit model. Have you tried:
  library(Zelig)
  demo("reglogit")

This worked for me.

On May 24, 2012, at 1:20 PM, Larry Logue wrote:


&lt;/pre&gt;</description>
    <dc:creator>Matt Owen</dc:creator>
    <dc:date>2012-05-25T13:51:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.zelig/794">
    <title>Re: readRDS</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.zelig/794</link>
    <description>&lt;pre&gt;I used the install method you suggested and was successful, but the version
that was installed didn't include about half of the models that Zelig uses
(e.g., Relogit).

Thanks

______________________________________
CONFIDENTIALITY NOTE:  This communication may contain confidential information.  
If you are not the intended recipient or if you are not authorized to receive it, please 
notify and return the message to the sender.   Unauthorized reviewing, forwarding,  
copying, distributing or using this information is strictly prohibited.
&lt;/pre&gt;</description>
    <dc:creator>Larry Logue</dc:creator>
    <dc:date>2012-05-24T17:20:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.zelig/793">
    <title>Re: Value for log(oratio) in "blogit" model</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.zelig/793</link>
    <description>&lt;pre&gt;Many thanks Olivia for the quick response, and apologies for not making myself clearer. 

I have worked through the whole 3 steps and simulated fitted values across the range of the explanatory variable in my data. That worked fine. The problem is we have been asked to supply equations by reviewers, so when we looked at the documentation where the equations are provided, it was unclear which value for psi we should use because of the x3 variable in the equation. The inverse link part was no problem, rather it was the manual calculation of joint probabilities that caused me to come unstuck. If we knew which part of the model output gives x3 (assuming log(oratio) is given by exp((intercept):3)), then I think that would solve our problem.

In no way would I want to (or be able to) reengineer the prediction process!

Thanks for any clarifications, and please excuse my lack of base knowledge about this kind of model.

Dave


-----Original Message-----
From: monkeykupo-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org [mail&lt;/pre&gt;</description>
    <dc:creator>David Auty</dc:creator>
    <dc:date>2012-05-09T22:27:46</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.zelig/792">
    <title>Re: Value for log(oratio) in "blogit" model</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.zelig/792</link>
    <description>&lt;pre&gt;I would suggest that you run through the whole 3 steps:  zelig, setx,
and sim -- sim will output the predicted probabilities so you can
examine further, no need to re-engineer the predicted probability
process.  :)

You can also use the predict() function in the VGAM library, which
just takes the inverse link function.  To find the inverse link
function, take the output from vglm (say vout) and use:

vout&amp;lt; at &amp;gt;family&amp;lt; at &amp;gt;inverse

The inverse function takes the linear predictor (x %*% beta), but only
works (well) in predict because additional objects are not called with
proper lexical scoping (and are passed implicitly from the vout object
itself).  But if you want to learn how predicted probabilities work, I
would start here.

HTH.

Olivia

On Wed, May 9, 2012 at 1:27 PM, David Auty &amp;lt;auty.david.1-qLLbaQniQ8D3fQ9qLvQP4Q&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:
&lt;/pre&gt;</description>
    <dc:creator>Olivia Lau</dc:creator>
    <dc:date>2012-05-09T20:50:18</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.zelig/791">
    <title>Value for log(oratio) in "blogit" model</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.zelig/791</link>
    <description>&lt;pre&gt;Hi there,

I'm fitting a bivariate logistic (blogit) model using Zelig and would like to use the equations given in the documentation to hard code some predictions, and to understand further how the model works.  The problem is that while it is easy to calculate the marginal probabilities, it is unclear from the documentation what value of psi to use in the equations for the joint probabilities. The documentation gives:

Odds ratio (psi )= exp(x3*beta3)

But we don't know what to substitute for x3 in this equation. Using exp((intercept):3) from the model does not give plausible answers, which leads us to assume we are missing something obvious and important.

Have searched the archives and also the VGAM documentation with no luck, so would be grateful for any pointers.

R2.15.0 on Windows 7.

Thanks in advance for any help.

Regards,

David Auty
Stagiaire Postdoctoral
Département des sciences du bois et de la forêt
Université Laval
Québec (QC) G1V 0A6



&lt;/pre&gt;</description>
    <dc:creator>David Auty</dc:creator>
    <dc:date>2012-05-09T20:27:24</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.zelig/790">
    <title>Gamma regression</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.zelig/790</link>
    <description>&lt;pre&gt;Please I need your help!

This code sometimes predicts negative values because it is based on the inverse 
link. What is the modification to calculate de parameters using the loglink 
option?



 z.out = zelig(PT ~ Q + S + T + TDG, model = "gamma", data = PT)
 summary(z.out)
 x.out = setx(z.out)
 s.out = sim(z.out, x = x.out)
 plot(s.out)



 Thanks a lot for your advice

&lt;/pre&gt;</description>
    <dc:creator>Salvador Becerra-Munoz</dc:creator>
    <dc:date>2012-04-30T20:53:45</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.zelig/789">
    <title>Conditional Frailty Models in Zelig</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.zelig/789</link>
    <description>&lt;pre&gt;Hi,

I am trying to estimate a conditional frailty survival model, as in
Box-Steffensmeier,  et al (2007 Political Analysis).  I have run them
previously in R but would like to implement them in Zelig for
post-estimation purposes.  Is there a way to do this?  While the Cox PH
with time-varying covariates is closest to my needs, it does not completely
fit the bill.  Is this an option in the current Zelig version?

Thanks,
B Peterson
&lt;/pre&gt;</description>
    <dc:creator>Brenton Peterson</dc:creator>
    <dc:date>2012-04-27T01:20:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.zelig/788">
    <title>Re: readRDS</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.zelig/788</link>
    <description>&lt;pre&gt;Hi - try installing the version found on CRAN with:
  install.packages("Zelig")

On Apr 23, 2012, at 4:38 PM, MP Sylvestre wrote:


&lt;/pre&gt;</description>
    <dc:creator>Matt Owen</dc:creator>
    <dc:date>2012-04-23T20:52:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.zelig/787">
    <title>Re: readRDS</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.zelig/787</link>
    <description>&lt;pre&gt;
patch available tomorrow.
getting an error message:


Hello,
I am using R 15.0 and I have just downloaded Zelig from the harvard mirror.

#install.packages("Zelig", repos="http://r.iq.harvard.edu/", type="source")

However, when I try to load Zelig, I get an error similar to that described in
the initial post.


## In French (translation below)
Error : .onAttach a échoué dans attachNamespace() pour 'Zelig', détails :
  appel : NULL
  erreur : '.readRDS' est obsolète et retiré de R.
Utilisez plutôt 'readRDS'
Voir help("Defunct")
Erreur : le chargement du package / espace de noms a échoué pour ‘Zelig’

## 
Error : .onAttach failed in attachNamespace() for 'Zelig', details :
  call : NULL
  errorr : '.readRDS' is obsolete et removed from R.

Erreur : loading of package failed for ‘Zelig’


Where can I find the patch that was mentionned by  your email on April 5th?

Best,

MP





-
--
Zelig Mailing List, served by HUIT
Send messages: zelig&amp;lt; at &amp;gt;lists.gking.harvard.edu
[un]subscribe Options: http://l&lt;/pre&gt;</description>
    <dc:creator>MP Sylvestre</dc:creator>
    <dc:date>2012-04-23T20:38:01</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.zelig/786">
    <title>Cox Proportional Hazards Regression</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.zelig/786</link>
    <description>&lt;pre&gt;To whom this may concern,

I am trying to run a Cox Proportional Hazards Regression in the 
following way, using Zelig:

z.out &amp;lt;- zelig(Surv(duration, Censored) ~ Ethnic1 + Type + Year1, model 
= "coxph", data = data)

but I get the following error:

Error in fitter(X, Y, strats, offset, init, control, weights = weights,  :
   NA/NaN/Inf in foreign function call (arg 6)
In addition: Warning message:
In fitter(X, Y, strats, offset, init, control, weights = weights,  :
   Ran out of iterations and did not converge

Does anyone know just what that means and how I can get around it?

Johannes

&lt;/pre&gt;</description>
    <dc:creator>Johannes Castner</dc:creator>
    <dc:date>2012-04-08T03:15:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.zelig/785">
    <title>AUTO: Tom Aldenberg is out of the office (returning Fri04/13/2012)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.zelig/785</link>
    <description>&lt;pre&gt;
I am out of the office from Sat 03/31/2012 until Fri 04/13/2012.




Note: This is an automated response to your message  "Zelig Digest, Vol 20,
Issue 1" sent on 5-4-2012 18:00:02.

This is the only notification you will receive while this person is away.

&lt;/pre&gt;</description>
    <dc:creator>Tom Aldenberg</dc:creator>
    <dc:date>2012-04-06T09:48:24</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.zelig/784">
    <title>Re: readRDS</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.zelig/784</link>
    <description>&lt;pre&gt;It seems that R is no longer supporting the readRDS function. There will be a patch available tomorrow. Thanks for the notification.
- M
________________________________________
From: zelig-bounces-boHuZhbfW+Y6DHxCPSz5rL5+avTOL6Rl&amp;lt; at &amp;gt;public.gmane.org [zelig-bounces-boHuZhbfW+Y6DHxCPSz5rA&amp;lt; at &amp;gt;public.gmane.orgard.edu] On Behalf Of Matthias Kretschmer [mkretschmer2012-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org]
Sent: Wednesday, April 04, 2012 3:13 PM
To: zelig-boHuZhbfW+Y6DHxCPSz5rL5+avTOL6Rl&amp;lt; at &amp;gt;public.gmane.org
Subject: [zelig] readRDS

I tried to install Zelig on R 2.15 (on a Windows 7, 64bit machine) and keep getting an error message:

Error : .onAttach failed in attachNamespace() for 'Zelig', details:
  call: NULL
  error: '.readRDS' is defunct.
Use 'readRDS' instead.
See help("Defunct")
Error: package/namespace load failed for ‘Zelig’

Any idea what that means?

Matthias
&lt;/pre&gt;</description>
    <dc:creator>Owen, Matthew</dc:creator>
    <dc:date>2012-04-04T23:23:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.zelig/783">
    <title>readRDS</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.zelig/783</link>
    <description>&lt;pre&gt;I tried to install Zelig on R 2.15 (on a Windows 7, 64bit machine) and keep
getting an error message:

*Error : .onAttach failed in attachNamespace() for 'Zelig', details:
  call: NULL
  error: '.readRDS' is defunct.
Use 'readRDS' instead.
See help("Defunct")
Error: package/namespace load failed for ‘Zelig’
*
Any idea what that means?

Matthias
&lt;/pre&gt;</description>
    <dc:creator>Matthias Kretschmer</dc:creator>
    <dc:date>2012-04-04T19:13:37</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.zelig/782">
    <title>Re: summary with imputations bug ... any workarounds?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.zelig/782</link>
    <description>&lt;pre&gt;

Is there any update or workaround? Amelia imputed data but I don't seem 
to be able to use it as with zelig logit.mixed model. 

Valeriy


&lt;/pre&gt;</description>
    <dc:creator>Valeriy</dc:creator>
    <dc:date>2012-03-08T22:45:03</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.zelig/781">
    <title>Re: Plot.ci function to logit.survey</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.zelig/781</link>
    <description>&lt;pre&gt;Thanks! I'll get this into including this into the next release.

On Mar 2, 2012, at 3:16 PM, Rogério Barbosa wrote:


&lt;/pre&gt;</description>
    <dc:creator>Matt Owen</dc:creator>
    <dc:date>2012-03-02T22:24:21</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.zelig/780">
    <title>Plot.ci function to logit.survey</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.zelig/780</link>
    <description>&lt;pre&gt;Hey all again,

I would like to inform that the most updated version of plot.ci function
doesn't have the item "logit.survey" listed on its algorithm. So it is not
possible to plot confidence intervals for predicted values calculated using
this model.

I tried to make that inclusion myself -- and it worked.

Here it goes the modified function.
(I found the original at:
http://r.iq.harvard.edu/src/contrib/Zelig/R/plot.ci.R)

Best,





plot.ci &amp;lt;- function(x, CI=95, qi = "ev", main = "",

                    ylab = NULL, xlab = NULL, xlim = NULL,

                    ylim = NULL, col = c("red", "blue"), ...) {

  "%w/o%" &amp;lt;- function(x,y) x[!x %in% y] #--  x without y

  if (class(x) != "zelig")

    stop(" plot.ci() works only for sim() output.")

  if (!(x$zelig.call$model) %in%

        c("ls", "logit",* "logit.survey"*, "normal.survey","probit", "exp",
"gamma", "lognorm",

          "weibull", "normal", "poisson", "tobit", "relogit",

          "negbin", "logit.bayes", "probit.bayes",

          "poisson.ba&lt;/pre&gt;</description>
    <dc:creator>Rogério Barbosa</dc:creator>
    <dc:date>2012-03-02T20:16:26</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.zelig/779">
    <title>Re: Fwd: setx "incorrect number of dimensions" error</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.zelig/779</link>
    <description>&lt;pre&gt;Good to hear!

On Mar 2, 2012, at 11:28 AM, Rogério Barbosa wrote:


&lt;/pre&gt;</description>
    <dc:creator>Matt Owen</dc:creator>
    <dc:date>2012-03-02T16:33:01</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.zelig/778">
    <title>Re: Fwd: setx "incorrect number of dimensions" error</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.zelig/778</link>
    <description>&lt;pre&gt;Now it worked! It was an stata database, readed using "foreign". I
converted the data to csv. Problem solved.

Thank you, Matt.

2012/3/2 Matt Owen &amp;lt;mowen-zvdtVsPQyYJu6/7BKvT5pw&amp;lt; at &amp;gt;public.gmane.org&amp;gt;

&lt;/pre&gt;</description>
    <dc:creator>Rogério Barbosa</dc:creator>
    <dc:date>2012-03-02T16:28:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.zelig/777">
    <title>Re: Fwd:  setx "incorrect number of dimensions" error</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.zelig/777</link>
    <description>&lt;pre&gt;The only other though that I have is that "pda" is not a standard data.frame object. If this is the case, you may have to restructure the data set before using it with the logit model.

On Mar 2, 2012, at 10:54 AM, Rogério Barbosa wrote:


&lt;/pre&gt;</description>
    <dc:creator>Matt Owen</dc:creator>
    <dc:date>2012-03-02T15:59:56</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.zelig/776">
    <title>Fwd:  setx "incorrect number of dimensions" error</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.zelig/776</link>
    <description>&lt;pre&gt;Hi Matt,

Thanks for your help! But, unfortunately, it didn't work. The error keep
happening even if I use just one independent variable.
For instance:

*Error in dta[complete.cases(mf), names(dta) %in% vars, drop = FALSE] : *
*  incorrect number of dimensions*

Just an observation: it stated to occur suddenly. The day before the model
was working fine.

- - - - -
Rogério J. Barbosa
Researcher at Centre for Metropolitan Studies/Cebrap
São Paulo - Brazil






2012/3/2 Matt Owen &amp;lt;mowen-zvdtVsPQyYJu6/7BKvT5pw&amp;lt; at &amp;gt;public.gmane.org&amp;gt;

&lt;/pre&gt;</description>
    <dc:creator>Rogério Barbosa</dc:creator>
    <dc:date>2012-03-02T15:54:50</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.zelig/775">
    <title>Re: setx "incorrect number of dimensions" error</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.zelig/775</link>
    <description>&lt;pre&gt;My best guess is that the error occurs because the values for "gender" and "race.white" have a different length than "age" and "age2"

Try something like:

setx(z.out, age=age.sim, age2=age2.sim, gender=rep(0, length(age.sim)), race.white=rep(1, length(age.sim)))


On Mar 1, 2012, at 11:06 PM, Rogério Barbosa wrote:


&lt;/pre&gt;</description>
    <dc:creator>Matt Owen</dc:creator>
    <dc:date>2012-03-02T14:35:05</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.lang.r.zelig">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.lang.r.zelig</link>
  </textinput>
</rdf:RDF>

