Questions tagged [r-zelig]

Zelig is an easy-to-use, free, open source, general purpose statistics program for estimating, interpreting, and presenting results from any statistical method. Zelig turns the power of R, with thousands of open source packages — but with free ranging syntax, diverse examples, and documentation written for different audiences — into the same three commands and consistent documentation for every method.

"Zelig is an easy-to-use, free, open source, general purpose statistics program for estimating, interpreting, and presenting results from any statistical method. Zelig turns the power of R, with thousands of open source packages — but with free ranging syntax, diverse examples, and documentation written for different audiences — into the same three commands and consistent documentation for every method. Zelig uses R code from many researchers, making it "everyone’s statistical software." We hope it becomes everyone’s statistical software for applications too, as we designed it so anyone can use it or add their methods to it. We aim for Zelig to be the best way to do analysis, prepare replication files, learn new methods, or teach." - zeligproject.org

50 questions
2
votes
1 answer

How to get measures of model fit (AIC, F-statistics) in zelig for multiply imputed data?

Following up on an earlier post, I am interested in learning how to get the usual measures of the relative quality of a statistical model in zelig for regression using multiply imputed data (created with…
TiF
  • 615
  • 2
  • 12
  • 24
2
votes
1 answer

stargazer() with Zelig regression output

I'm working with the R package stargazer. I have a Zelig model that I can't get stargazer to create Latex code for. logit9.1 <- zelig(winner ~ treatment + count_parties + resp_OECD24 + DirExp + IndExp, data = outcome, model = "logit" ,robust =…
ZacharyST
  • 658
  • 2
  • 6
  • 22
1
vote
1 answer

Stargazer Table from Zelig Probitgee

I have (successfully) run a probitgee with clustered SEs in Zelig and want to get the output in a stargazer table. mod1z <- zprobitgee$new() mod1z$zelig(formula = dv ~ var1 + var2 +var3, id = "clusterid", data = df) For stargazer, I use the…
dc_ps_stat
  • 21
  • 4
1
vote
1 answer

Access z-value and other statistics in output of Zelig relogit

I want to compute a logit regression for rare events. I decided to use the Zelig package (relogit function) to do so. Usually, I use stargazer to extract and save regression results. However, there seem to be compatibility issues with these two…
deca
  • 730
  • 1
  • 8
  • 24
1
vote
0 answers

Creating Latex tables for Zelig Amelia output

I'm running into a problem creating a display table for a simple linear model using Zelig and Amelia II imputed data. > summary(z.out) Model: Combined Imputations Estimate Std.Error z value Pr(>|z|) (Intercept) …
Hermes
  • 11
  • 1
1
vote
2 answers

two-sided censored model in R (similar to Zeligs Tobit)?

Is there a model for dependent variables that are censored on both sides? And if so is there an implementation in R? I am only aware of tobit models (e.g. in Zelig package), but they´re obviously only censored on the left side... I wonder if it even…
Matt Bannert
  • 27,631
  • 38
  • 141
  • 207
1
vote
0 answers

ZeligMultilevel R v3.2.4 not available

I searched for this topic but didn't find any posts. If there's already a post, sorry about the double post! I tried to install ZeligMultilevel but my R version (3.2.4) is too new. Is there still a way to install ZeligMultilevel on 3.2.4? If yes,…
Tony
  • 11
  • 3
1
vote
0 answers

R: error from Zelig's coxph

I'm getting an error from the Cox's survival model provided in Zelig. Here's an example using dummy data: require(survival) require(Zelig) dat <- data.frame(survival = rnorm(1000, 100, 20), event = c(rep(1, 200), rep(0, 800)), ind =…
Dan Lewer
  • 871
  • 5
  • 12
1
vote
1 answer

Logistic Regression Using Zelig [R]

I'm running a logit model using the zelig package in R: z.out <- zelig(trade961a ~ age962 + education962 + personal962 + economy962 + partisan962 + employment962 + union962 + home962 + market962 + race962 + income962, data=data96,…
Tony
  • 11
  • 2
1
vote
0 answers

R error: "No terms component or attribute"

Using R, I am running regressions, simulations , and testing the significance on a simple data set ("approval" in Zelig). All is going well until I try to test the statistical significance. This is my code:…
Sarah
  • 11
  • 1
  • 3
1
vote
1 answer

texreg-ing Tobit output from zelig package (R)

This is a strange question, but here goes: I am trying to output my model results into a TeX table with texreg. reg <- zelig(Y ~ X, model = "tobit", below = 0, above = Inf) However, I'm getting an error from texreg: texreg(reg) Error in…
MichaelChirico
  • 33,841
  • 14
  • 113
  • 198
1
vote
1 answer

Summary statistics for imputed data from Zelig & Amelia

I'm using Amelia to impute the missing values. While I'm able to use Zelig and Amelia to do some calculations... How do I use these packages to find the pooled means and standard deviations of the newly imputed…
User7598
  • 1,658
  • 1
  • 15
  • 28
1
vote
1 answer

Using Amelia (multiple imputation) output for analysis using functions other than linear regression

Background Use of the Zelig package on Amelia output for linear regression is well outlined in the Amelia II documentation. Problem Unfortunately, I am unable to find any documentation of how to use this output for other analysis. The problem seems…
1
vote
0 answers

strange error when creating a model with zelig

dput(t) structure(list(Volume = c(2625941L, 4685483L, 3160694L, 2627816L, 2430273L, 2498011L, 2632445L, 3224434L, 2531941L, 5043867L, 2788003L, 3278796L, 3273977L, 3192613L, 3456297L, 2668175L, 2805861L, 2689392L, 2733510L, 3285889L, 2957370L,…
user1471980
  • 10,127
  • 48
  • 136
  • 235
1
vote
1 answer

Using an instrumental variable in a logit regression on an imputed data set

I have imputed missing value using the Amelia package. I am now analysing the data using regressions. I have been using the following code require(Zelig) z.out <- zelig(catastrophic ~ age + PC1 + sex + hh_size + wealth_quin + hh_exp_quin,…
Timothy Alston
  • 1,501
  • 5
  • 18
  • 29