Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Add "partial prediction" (initially at the factor level)

Aperta
#64 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
data

Direzione di ricerca

Nell’issue non vengono nominati file, test o punti di ingresso. Inizia leggendo l’issue #63 e il lavoro sulla previsione dei fattori che identifica come prerequisito; completato significa supportare previsioni parziali a livello di fattore, verificare che ogni ipotesi richiesta sia ben definita e produrre la differenza corrispondente della matrice di progetto.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

statsmodels-request well-defined-task-definitely-do-this

In many cases when working with linear models, one has a model like y ~ 1 + a + b:c and you want to test a hypothesis like "y at a = a1 is significantly different from y at a = a2 (with the other predictors set to arbitrary values)". In this particular case, for a linear model, this is a well-defined and can be expressed as a linear hypothesis test. By contrast, a hypothesis like "y at b = b1 is significantly different from y at b = b2", because the difference between these is undefined without knowing c. OTOH, a hypothesis like "y at b = b1 and c = c1 is significantly different from y at b = b2 and c = c2" is also well-defined.

So we want some way for users to request a "prediction" of the difference between the design matrices at these sorts of partially-specified locations, and then patsy would (a) check that this actually makes sense, and (b) figure it out.

Initially, for simplicity, this should probably be done for "factor prediction" (so #63 would be a precondition). It would be nice to have it for "data-level prediction" too, but this will require more metadata about which data variables are referred to in which factors. Possibly we will get that soon because we need somewhat similar information to allow pickling (#25).

Lingua principale
Python
Stelle
990
Fork
106
Merge medio
7g 34m
PR unite (30g)
1

Preparare l'ambiente

Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pydata/patsy

Tutte le issue di pydata/patsy

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.