-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation issue: est.att.avg
does not exist, is it rather est.avg
#92
Comments
See xuyiqing#92 And correct typo
it seems also library(gsynth)
#> ## Syntax has been updated since v.1.2.0.
#> ## Comments and suggestions -> yiqingxu@stanford.edu.
data(gsynth)
out <- gsynth(Y ~ D + X1 + X2, data = simdata, parallel = FALSE,
index = c("id","time"), force = "two-way",
CV = TRUE, r = c(0, 5), se = FALSE)
#> Cross-validating ...
#> r = 0; sigma2 = 1.84865; IC = 1.02023; PC = 1.74458; MSPE = 2.37280
#> r = 1; sigma2 = 1.51541; IC = 1.20588; PC = 1.99818; MSPE = 1.71743
#> r = 2; sigma2 = 0.99737; IC = 1.16130; PC = 1.69046; MSPE = 1.14540*
#> r = 3; sigma2 = 0.94664; IC = 1.47216; PC = 1.96215; MSPE = 1.15032
#> r = 4; sigma2 = 0.89411; IC = 1.76745; PC = 2.19241; MSPE = 1.21397
#> r = 5; sigma2 = 0.85060; IC = 2.05928; PC = 2.40964; MSPE = 1.23876
#>
#> r* = 2
"Y.tr.cnt" %in% names(out)
#> [1] FALSE
"Y.ct.cnt" %in% names(out)
#> [1] FALSE Created on 2024-10-07 with reprex v2.1.1 |
Dear Matthieu,
Does your data require recentering? Could you attached a panelView plot so
that it is easier to diagnose?
We're also migrating the package to "fect". We will make sure this get
addressed in the new version.
…---------- Forwarded message ---------
From: Matthieu ***@***.***>
Date: Mon, Oct 7, 2024 at 4:14 AM
Subject: Re: [xuyiqing/gsynth] Documentation issue: `est.att.avg` does not
exist, is it rather `est.avg` (Issue #92)
To: xuyiqing/gsynth ***@***.***>
Cc: Subscribed ***@***.***>
it seems also Y.tr.cnt and Y.ct.cnt are mentioned in the doc, but not
present in the data?
library(gsynth)#> ## Syntax has been updated since v.1.2.0.#> ##
Comments and suggestions -> ***@***.***
data(gsynth)out <- gsynth(Y ~ D + X1 + X2, data = simdata, parallel = FALSE,
index = c("id","time"), force = "two-way",
CV = TRUE, r = c(0, 5), se = FALSE) #> Cross-validating
... #> r = 0; sigma2 = 1.84865; IC = 1.02023; PC = 1.74458; MSPE =
2.37280#> r = 1; sigma2 = 1.51541; IC = 1.20588; PC = 1.99818; MSPE =
1.71743#> r = 2; sigma2 = 0.99737; IC = 1.16130; PC = 1.69046; MSPE =
1.14540*#> r = 3; sigma2 = 0.94664; IC = 1.47216; PC = 1.96215; MSPE
= 1.15032#> r = 4; sigma2 = 0.89411; IC = 1.76745; PC = 2.19241; MSPE
= 1.21397#> r = 5; sigma2 = 0.85060; IC = 2.05928; PC = 2.40964; MSPE
= 1.23876#> #> r* = 2"Y.tr.cnt" %in% names(out)#> [1] FALSE"Y.ct.cnt"
%in% names(out)#> [1] FALSE
Created on 2024-10-07 with reprex v2.1.1 <https://reprex.tidyverse.org>
—
Reply to this email directly, view it on GitHub
<#92 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB2PKGBDCCXQ3AAEFMYK7N3Z2JULDAVCNFSM6AAAAABPCZSK6GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJWGYZTCNJSGU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
Yiqing Xu
Assistant Professor
Department of Political Science
Stanford University
https://yiqingxu.org/
|
Hi This is just a reprex using the default Ok, are you saying Thank a lot! |
also, interesting to hear about |
The documentation of
gsynth
mentionsest.att.avg=inference for att.avg.
but the slot does not exist!?It seems it is instead called
est.avg
it is called?gsynth/R/core.R
Line 2868 in 114fdce
Created on 2024-09-30 with reprex v2.1.1
The text was updated successfully, but these errors were encountered: