קובץ:Okuns law with confidence bands.svg

מתוך testwiki
קפיצה לניווט קפיצה לחיפוש
לקובץ המקורי (קובץ SVG, הגודל המקורי: 299 × 197 פיקסלים, גודל הקובץ: 95 ק"ב)

זהו קובץ מתוך ויקישיתוף וניתן להשתמש בו גם במיזמים אחרים. תיאורו בדף תיאור הקובץ שלו מוצג למטה.

תקציר

תיאור
English: Follow-up for the File:Okuns_law_quarterly_differences.svg file, additionally showing the confidence bands for the regression.
מקור נוצר על־ידי מעלה היצירה
יוצר Stpasha
גרסאות אחרות Okuns_law_quarterly_differences.svg

Source code (Mathematica)

Refer to the File:Okuns_law_quarterly_differences.svg to see the data set used.

n = Length[unempch];
sol = FindFit[data, \[Alpha] + \[Beta] x, {\[Alpha], \[Beta]}, x]
ts = Quantile[StudentTDistribution[n - 2], 0.975];
\[Alpha]h = \[Alpha] /. sol;
\[Beta]h = \[Beta] /. sol;
xm = Mean[unempch];
sx2 = Mean[(unempch - xm)^2];
s\[Epsilon]2 = 1/(n - 2) Total[(gdpch - \[Alpha]h - \[Beta]h unempch)^2];
s\[Beta] = Sqrt[1/n s\[Epsilon]2/sx2]; 
s\[Alpha] = s\[Beta] Sqrt[sx2 + xm^2];
sp = Sqrt[1/n s\[Epsilon]2 (1 + (x - xm)^2/sx2)];

Show[
  ListPlot[{{{-10, 0}}, {{-10, 0}}, data}, PlotMarkers->{Automatic, Small}, PlotStyle->Hue[0.6]],
  Plot[ \[Alpha]h + \[Beta]h x, {x, -1.1, 1.8}, PlotStyle->{GrayLevel[0], Thick}],
  Plot[ {\[Alpha]h + \[Beta]h x - ts sp, \[Alpha]h + \[Beta]h x + ts sp}, {x, -1.1, 1.8}, 
    Filling -> {1 -> {2}}, PlotStyle -> {Blue, Blue}],
  PlotRange -> {{-1.3, 2}, {-3, 5}},
  Axes -> False,
  Frame -> True,
  FrameLabel -> {"Quarterly change in the unemployment rate (\[CapitalDelta]%)", 
                 "Quarterly change in GDP (\[CapitalDelta]%)"},
  FrameStyle -> Directive[FontFamily -> "Arial"]
]

רישיון

Public domain ברצוני, בעלי זכויות היוצרים על יצירה זו, לשחרר יצירה זו לנחלת הכלל. זה תקף בכל העולם.
יש מדינות שבהן הדבר אינו אפשרי על פי חוק, אם כך:
אני מעניק לכל אחד את הזכות להשתמש בעבודה זו לכל מטרה שהיא, ללא תנאים כלשהם, אלא אם כן תנאים כאלה נדרשים על פי חוק.

כיתובים

נא להוסיף משפט שמסביר מה הקובץ מייצג

פריטים שמוצגים בקובץ הזה

מוצג

97,070 בית

image/svg+xml

checksum אנגלית

52846dea553a8b10f6ff91f5e0c69fa8096cb72d

היסטוריית הקובץ

ניתן ללחוץ על תאריך/שעה כדי לראות את הקובץ כפי שנראה באותו זמן.

תאריך/שעהתמונה ממוזערתממדיםמשתמשהערה
נוכחית15:33, 26 ביולי 2009תמונה ממוזערת לגרסה מ־15:33, 26 ביולי 2009‪197 × 299‬ (95 ק"ב)wikimediacommons>Stpasha{{Information |Description={{en|1=Follow-up for the File:Okuns_law_quarterly_differences.svg file, additionally showing the confidence bands for the regression.}} |Source=Own work |Author=Stpasha |Date= |Permission= |other_versions=O

הדף הבא משתמש בקובץ הזה: