ee.ImageCollection.formaTrend
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מחשבת את המגמות לטווח ארוך ולטווח קצר של סדרת זמן, או לחלופין, את המגמות של היחס בין סדרת הזמן לבין משתנה מסביר. הערכת המגמה לטווח ארוך מבוססת על המונח הלינארי של רגרסיה בסדרת הזמן המלאה. מגמת הטווח הקצר מחושבת כמינימום של חלון על פני סדרת הזמן.
הציפייה היא שסדרת הזמן וסדרת המשתנים המסבירים יכילו כל אחת פס יחיד, ושהמרווחים בין נקודות הזמן בסדרת הזמן יהיו שווים. הפלט הוא 4 רצועות של מספרים ממשיים: המגמות לטווח הארוך ולטווח הקצר, מבחן t של המגמה לטווח הארוך מול סדרת הזמן, ומבחן Bruce Hansen של יציבות הפרמטרים.
שימוש | החזרות |
---|
ImageCollection.formaTrend(covariates, windowSize) | תמונה |
ארגומנט | סוג | פרטים |
---|
זה: timeSeries | ImageCollection | האוסף שממנו יש לחלץ את המגמות. |
covariates | ImageCollection, ברירת מחדל: null | גורמים משותפים לשימוש בניתוח המגמות. |
windowSize | מספר שלם, ברירת מחדל: 6 | גודל חלון הזמן לניתוח מגמות לטווח קצר, במספר תמונות. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eCalculates long-term and short-term trends of a time series, optionally considering a covariate for ratio trends.\u003c/p\u003e\n"],["\u003cp\u003eLong-term trends are determined through linear regression over the entire series, while short-term trends use a windowed minimum approach.\u003c/p\u003e\n"],["\u003cp\u003eOutputs include the long and short-term trends, a t-test for the long-term trend's significance, and a stability test.\u003c/p\u003e\n"],["\u003cp\u003eRequires an evenly spaced time series ImageCollection and an optional covariate ImageCollection.\u003c/p\u003e\n"],["\u003cp\u003eUsers can customize the short-term trend analysis by adjusting the window size.\u003c/p\u003e\n"]]],[],null,["# ee.ImageCollection.formaTrend\n\nComputes the long and short term trends of a time series or optionally, the trends of the ratio of the time series and a covariate. The long term trend is estimated from the linear term of a regression on the full time series. The short term trend is computed as the windowed minimum over the time series.\n\n\u003cbr /\u003e\n\nThe time series and covariate series are expected to contain a single band each, and the time series is expected to be evenly spaced in time. The output is 4 float bands: the long and short term trends, the t-test of the long term trend against the time series, and the Bruce Hansen test of parameter stability.\n\n| Usage | Returns |\n|---------------------------------------------------------------|---------|\n| ImageCollection.formaTrend`(`*covariates* `, `*windowSize*`)` | Image |\n\n| Argument | Type | Details |\n|--------------------|--------------------------------|---------------------------------------------------|\n| this: `timeSeries` | ImageCollection | Collection from which to extract trends. |\n| `covariates` | ImageCollection, default: null | Cofactors to use in the trend analysis. |\n| `windowSize` | Integer, default: 6 | Short term trend analysis window size, in images. |"]]