Файл:Random-data-plus-trend-r2.png

Матеріал з Вікіпедії — вільної енциклопедії.
Перейти до навігації Перейти до пошуку

Random-data-plus-trend-r2.png(601 × 447 пікселів, розмір файлу: 9 КБ, MIME-тип: image/png)

Wikimedia Commons logo Відомості про цей файл містяться на Вікісховищі — централізованому сховищі вільних файлів мультимедіа для використання у проектах Фонду Вікімедіа.

Image of random data plus trend, with best-fit line and different smoothings

The data is 1000 points (plotted in black), with an increasing trend of 1-in-100, with random normal noise of standard deviation 10 superimposed. The red-line is the same data but averaged every 10 points. The blue line is averaged every 100 points.

For the three series, the least squares fit line is virtually the same, with a slope of 0.01, as expected.

The r2 fit for the raw data is 0.08; for the 10-pt-filtered, 0.57; for 100-pt-filtered, 0.97.

Ignoring autocorrelation, a confidence limit for the slope of the fit line is [0.0082, 0.0127] for the raw data (which include 0.01, as it should). For the 10-pt-filtered the limits are slightly narrower at [0.0084, 0.0125] and for the 100pt-filtering the limits are again slightly narrower.

So what does that all mean?

  • for the raw data, the simple trend line explains almost none of the variance of the time series (only 8%).
  • for the 100-pt filtering, the trend line explains almost all of the data (97%).
  • nonetheless, the trend lines are almost identical as are the confidence levels.

The time series are, of course, very closely related: the same except for the filtering. This shows that a low r2 value should not be interpreted as evidence of lack of trend.

Source code

Source in IDL. pp_regress and reg_explain not given.

n=1000

data=10*randomn(seed,n)+indgen(n)/100.
y=indgen(n)
y1=y(indgen(n/10)*10+5)
y2=y(indgen(n/100)*100+5*10)

ret=pp_regress(y,data)
print,reg_explain(ret)

data1=reform(data,10,n/10)
data1=avg(data1,0)

ret1=pp_regress(y1,data1)
print,reg_explain(ret1)

data2=reform(data,100,n/100)
data2=avg(data2,0)

ret2=pp_regress(y2,data2)
print,reg_explain(ret2)

plot,y,data,yr=[-20,30]
pp_regress_plot,ret,th=3

oplot,y1,data1,col=2,th=3
oplot,y2,data2,col=3,th=3


GNU head Дозволяється копіювати, розповсюджувати та/або модифікувати цей документ на умовах ліцензії GNU FDL версії 1.2 або більш пізньої, виданої Фондом вільного програмного забезпечення, без незмінних розділів, без текстів, які розміщені на першій та останній обкладинці. Копія ліцензії знаходиться у розділі GNU Free Documentation License.
w:uk:Creative Commons
зазначення авторства поширення на тих же умовах
Цей файл ліцензований на умовах Creative Commons Attribution-Share Alike 3.0 Unported
Ви можете вільно:
  • ділитися – копіювати, поширювати і передавати твір
  • модифікувати – переробляти твір
При дотриманні таких умов:
  • зазначення авторства – Ви повинні вказати авторство, надати посилання на ліцензію і вказати, чи якісь зміни було внесено до оригінального твору. Ви можете зробити це в будь-який розсудливий спосіб, але так, щоб він жодним чином не натякав на те, наче ліцензіар підтримує Вас чи Ваш спосіб використання твору.
  • поширення на тих же умовах – Якщо ви змінюєте, перетворюєте або створюєте іншу похідну роботу на основі цього твору, ви можете поширювати отриманий у результаті твір тільки на умовах такої ж або сумісної ліцензії.
Цей шаблон ліцензування був доданий до файлу в рамках оновлення ліцензії GFDL.

Перенесено з en.wikipedia на Вікісховище користувачем Maksim.

Оригінальна сторінка опису знаходилась тут. Усі нижчезазначені імена користувачів стосуються en.wikipedia.
date/time username edit summary
21:25, 20 December 2004 en:User:Quadell (tagged)
22:13, 14 August 2004 en:User:Danakil (fmt)
21:17, 14 August 2004 en:User:William M. Connolley (Add code.)
14:05, 12 August 2004 en:User:William M. Connolley (I bumped up the SD to make the point obvious.)
14:00, 12 August 2004 en:User:William M. Connolley (Comments)
13:50, 12 August 2004 en:User:William M. Connolley (...partial before reload)
13:32, 12 August 2004 en:User:William M. Connolley (Image of random data plus trend, with best-fit line and different smoothings)

Підписи

Додайте однорядкове пояснення, що саме репрезентує цей файл

Об'єкти, показані на цьому файлі

зображує

Історія файлу

Клацніть на дату/час, щоб переглянути, як тоді виглядав файл.

Дата/часМініатюраРозмір об'єктаКористувачКоментар
поточний19:19, 20 березня 2006Мініатюра для версії від 19:19, 20 березня 2006601 × 447 (9 КБ)MaksimLa bildo estas kopiita de wikipedia:en. La originala priskribo estas: '''Image of random data plus trend, with best-fit line and different smoothings''' {{GFDL}} The data is 1000 points, with a trend of 1-in-100, with random normal noise of SD 10 super

Такі сторінки використовують цей файл:

Глобальне використання файлу

Цей файл використовують такі інші вікі: