File:Plot-uncertainty-num-of-measurements-200.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(SVG file, nominally 462 × 295 pixels, file size: 118 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
English: Plot of uncertainty vs. number of measurements of normal distributed measurement values. Measurement uncertainty calculated with , with the number of measurements and the corrected sample standard deviation
Date
Source Own work
Author MikeRun
SVG development
InfoField
created on a Raspberry Pi 18px.
 
The SVG code is valid.
 
This diagram was created with Mathematica.
Source code
InfoField

Mathematica code

mean = 1.65;
stdDev = 0.1;
maxSampleSize = 200;

data = RandomVariate[NormalDistribution[mean, stdDev], maxSampleSize];

stdDevList = 
  Table[StandardDeviation[data[[1 ;; i]]], {i, 2, maxSampleSize}];

uncertaintyList = 
  Table[1/Sqrt[i]*StandardDeviation[data[[1 ;; i]]], {i, 2, 
    maxSampleSize}];

uncertaintyListPlot = 
 ListPlot[uncertaintyList, 
  PlotRange -> {{0, maxSampleSize}, {0, Max[uncertaintyList]}}, 
  AxesLabel -> {N, Subscript[u, x]}]

Licensing

[edit]
I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current09:18, 6 March 2022Thumbnail for version as of 09:18, 6 March 2022462 × 295 (118 KB)MikeRun (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

Metadata