How to get the absorbed coefficients?
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 25/100
Rechercherichtung
Start with the public AbsorbingLS and AbsorbingLSResults interfaces, focusing on absorbed_effects and fitted_values. Use a small example with categorical D and X to trace what these results represent. Done when the documentation explains whether the absorbed coefficients can be recovered and how the reported values relate to the fitted values.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
I do a y = Xβ + Dθ + e by using the AbsorbingLS, where D is an absorbed category variable.
I want to get the value of θ. I fail to find it in the AbsorbingLSResults. I find the absorbed_effects, which has the dimension of the obs. I think this might be Dθ, however I find it have the number of unique values different from the number of the categories in D and thus I am confused about what this absorbed_effects is.
In addition, I want to know how can I get the value of Xβ when X contains other category variables. I have tried using dmatrix to create X and doing Xβ = np.asarray(X) @ res.params.values.reshape(-1,1). But the sum of Xβ and absorbed_effects is different from res.fitted_values.
Thanks.
- Vorherrschende Sprache
- Python
- Sterne
- 1.1k
- Forks
- 203
- Ø Merge
- 3 Std. 26 Min.
- Gemergte PRs (30 T.)
- 115
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus bashtage/linearmodels
-
enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 15/100
bashtage/linearmodels#832 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
bashtage/linearmodels#831 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
IV: LIML kappa with an endogenous regressor spanned by the instruments, kappa's unit dependence, scale-dependent instrument rank checkEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offenbug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
bashtage/linearmodels#823 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 18/100
bashtage/linearmodels#817 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
bashtage/linearmodels#780 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in bashtage/linearmodels
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
pytest-dev/pytest-html#1085 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 90/100
pollen-robotics/reachy_mini#1527 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 66/100
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
A seed and its negative give the same run, so realizations of a negative seed repeat each otherOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
Maintainer antworten meist innerhalb von 1 Tag