cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Discussions

Solve problems, and share tips and tricks with other JMP users.
%3CLINGO-SUB%20id%3D%22lingo-sub-4403%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EAdding%20error%20bars%20in%20JMP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-4403%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CP%3EHi%20guys%2C%20I%20have%20a%20simple%20problem%20which%20I%20have%20been%20unable%20to%20solve.%20I%20have%20a%20dataset%20which%20I%20would%20like%20to%20plot%20in%20a%20Fit%20Y%20by%20X%20style%20scatterplot%20against%20another%20dataset.%20For%20each%20datapoint%20I%20know%20the%20standard%20deviation%20and%20I%20would%20like%20to%20add%20these%20standard%20deviations%20as%20error%20bars%20to%20the%20plot%2C%20is%20there%20anyway%20to%20do%20this%3F%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EIt%20seems%20like%20JMP%20only%20does%20this%20normally%20if%20it%20has%20calculated%20the%20standard%20deviation%20itself%2C%20I%20don't%20want%20this%20as%20I%20already%20know%20the%20standard%20deviation%20for%20each%20and%20every%20datapoint.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EThanks%20for%20any%20help%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-4406%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Adding%20error%20bars%20in%20JMP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-4406%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ETHis%20was%20very%20helpful%20for%20me%2C%20i%20am%20trying%20to%20write%20JSL%20script%20so%20that%20I%20can%20plot%20standard%20deviation%20error%20bars%20on%20a%20control%20chart%20as%20each%20datapoint%20on%20the%20control%20chart%20is%20the%20average%20of%20x%20individual%20points.%20Is%20there%20a%20way%20that%20the%20JSL%20script%20used%20for%20Graph%20Builder%20can%20be%20used%20in%20Run%20Chart%2C%20XBar%2C%20IR%2C%20UWMA%2C%20or%20PreSummarize%20Control%20Chart%20script%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-4405%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EAdding%20error%20bars%20in%20JMP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-4405%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EIt's%20possible%20to%20use%20Graph%20Builder%20to%20show%20error%20bars%20without%20stacking%20the%20data.%26nbsp%3B%20I.e.%20you%20have%203%20separate%20columns%3A%20center%20point%2C%20upper%20limit%20and%20lower%20limit.%26nbsp%3B%20Using%20the%20data%20above%2C%20you%20drag%20the%20X%20variable%20(age)%20to%20the%20X%20axis.%26nbsp%3B%20Then%20highlight%20upper%20and%20lower%20and%20drag%20them%20to%20the%20Y%20axis.%26nbsp%3B%20Right%20click%20in%20the%20center%20of%20the%20graph%2C%20click%20Points%20%26gt%3B%20Change%20to%20%26gt%3B%20Bar.%26nbsp%3B%20Then%20right%20click%20in%20the%20graph%2C%20click%20Bar%20%26gt%3B%20Bar%20Style%20%26gt%3B%20Interval.%26nbsp%3B%20Now%20drag%20the%20column%20Mean(height)%20just%20to%20the%20right%20of%20the%20Y%20axis.%26nbsp%3B%20Next%20add%20connecting%20lines%20and%20remove%20the%20connecting%20lines%20for%20upper%20and%20lower.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere's%20a%20JSL%20script%20that%20does%20it%2C%20along%20with%20some%20formatting%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3E%2F%2F%20Make%20an%20example%20table%0Adt%20%3D%20Open(%20%22%24ENGLISH_SAMPLE_DATA%2FBig%20Class.jmp%22%20)%3B%0Adtsum%20%3D%20dt%20%26lt%3B%26lt%3B%20Summary(%20Group(%20%3Aage%20)%2C%20Mean(%20%3Aheight%20)%2C%20Std%20Err(%20%3Aheight%20)%20)%3B%0A%20%0A%2F%2F%20Add%20columns%20with%20Mean%20%C2%B1%20SE%0Adtsum%20%26lt%3B%26lt%3B%20New%20Column(%20%22lower%22%2C%20numeric%2C%0A%20%20%20%20values(%0A%20%20%20%20%20%20%20%20(%3AName(%20%22Mean(height)%22%20)%20%26lt%3B%26lt%3B%20get%20as%20matrix)%20%E2%80%93%0A%20%20%20%20%20%20%20%20(%3AName(%20%22Std%20Err(height)%22%20)%20%26lt%3B%26lt%3B%20get%20as%20matrix)%0A%20%20%20%20)%0A)%3B%0A%20%0Adtsum%20%26lt%3B%26lt%3B%20New%20Column(%20%22upper%22%2C%0A%20%20%20%20numeric%2C%0A%20%20%20%20values(%0A%20%20%20%20%20%20%20%20(%3AName(%20%22Mean(height)%22%20)%20%26lt%3B%26lt%3B%20get%20as%20matrix)%20%2B%0A%20%20%20%20%20%20%20%20(%3AName(%20%22Std%20Err(height)%22%20)%20%26lt%3B%26lt%3B%20get%20as%20matrix)%0A%20%20%20%20)%0A)%3B%0A%20%0AGraph%20Builder(%0A%20%20%20%20Show%20Control%20Panel(%200%20)%2C%0A%20%20%20%20Variables(%0A%20%20%20%20%20%20%20%20X(%20%3Aage%20)%2C%0A%20%20%20%20%20%20%20%20Y(%20%3Alower%20)%2C%0A%20%20%20%20%20%20%20%20Y(%20%3Aupper%2C%20Position(%201%20)%20)%2C%0A%20%20%20%20%20%20%20%20Y(%20%3AName(%20%22Mean(height)%22%20)%2C%20Position(%201%20)%20)%0A%20%20%20%20)%2C%0A%20%20%20%20Elements(%0A%20%20%20%20%20%20%20%20Bar(%0A%20%20%20%20%20%20%20%20%20%20%20%20X%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20Y(%201%20)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20Y(%202%20)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20Y(%203%20)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20Legend(%202%20)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20Bar%20Style(%20%22Interval%22%20)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20Summary%20Statistic(%20%22Mean%22%20)%0A%20%20%20%20%20%20%20%20)%2C%0A%20%20%20%20%20%20%20%20Line(%20X%2C%20Y(%203%20)%2C%20Legend(%204%20)%2C%20Row%20order(%200%20)%2C%20Summary%20Statistic(%20%22Mean%22%20)%20)%0A%20%20%20%20)%2C%0A%20%20%20%20SendToReport(%0A%20%20%20%20%20%20%20%20Dispatch(%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%7D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22400%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20ScaleBox%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%7BLegend%20Model(%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%202%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Properties(%200%2C%20%7BLine%20Color(%200%20)%7D%20)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Properties(%201%2C%20%7BLine%20Color(%200%20)%2C%20Marker(%20%22FilledCircle%22%20)%7D%20)%0A%20%20%20%20%20%20%20%20%20%20%20%20)%7D%0A%20%20%20%20%20%20%20%20)%2C%0A%20%20%20%20%20%20%20%20Dispatch(%20%7B%7D%2C%20%22Graph%20Builder%22%2C%20FrameBox%2C%20%7BMarker%20Size(%203%20)%7D%20)%0A%20%20%20%20)%0A)%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-4404%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EAdding%20error%20bars%20in%20JMP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-4404%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EIt%20is%20possible%20but%20I%20have%20not%20found%20a%20straightforward%20way%20to%20do%20it.%20First%20you%20need%20to%20calculate%20mean-SE%20and%20mean%2BSE.%20Then%20you'll%20get%20the%20best%20result%20if%20you%20first%20stack%20the%20columns.%20Try%20the%20script%20below.%20It%20illustrates%20some%20ways%20to%20do%20it%20in%20JMP%209.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%20font%3A%2014.0px%20Courier%3B%20color%3A%20%23009800%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3E%2F%2F%20Make%20an%20example%20table%0Adt%20%3D%20Open(%20%22%24ENGLISH_SAMPLE_DATA%2FBig%20Class.jmp%22%20)%3B%0Adtsum%20%3D%20dt%20%26lt%3B%26lt%3B%20Summary(%20Group(%20%3Aage%20)%2C%20Mean(%20%3Aheight%20)%2C%20Std%20Err(%20%3Aheight%20)%20)%3B%0A%20%0A%2F%2F%20Add%20columns%20with%20Mean%20%C2%B1%20SE%0Adtsum%20%26lt%3B%26lt%3B%20New%20Column(%20%22lower%22%2C%0A%20%20%20%20%20%20%20%20%20%20numeric%2C%0A%20%20%20%20%20%20%20%20%20%20values(%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20(%3AName(%20%22Mean(height)%22%20)%20%26lt%3B%26lt%3B%20get%20as%20matrix)%20-%20(%3AName(%20%22Std%20Err(height)%22%20)%20%26lt%3B%26lt%3B%20get%20as%20matrix)%0A%20%20%20%20%20%20%20%20%20%20)%0A)%3B%0Adtsum%20%26lt%3B%26lt%3B%20New%20Column(%20%22upper%22%2C%0A%20%20%20%20%20%20%20%20%20%20numeric%2C%0A%20%20%20%20%20%20%20%20%20%20values(%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20(%3AName(%20%22Mean(height)%22%20)%20%26lt%3B%26lt%3B%20get%20as%20matrix)%20%2B%20(%3AName(%20%22Std%20Err(height)%22%20)%20%26lt%3B%26lt%3B%20getasmatrix)%0A%20%20%20%20%20%20%20%20%20%20)%0A)%3B%0A%2F%2F%20Stack%20columns%0Adtstacked%20%3D%20dtsum%20%26lt%3B%26lt%3B%20Stack(%0A%20%20%20%20%20%20%20%20%20%20columns(%20%3AName(%20%22Mean(height)%22%20)%2C%20%3Alower%2C%20%3Aupper%20)%2C%0A%20%20%20%20%20%20%20%20%20%20Source%20Label%20Column(%20%22Label%22%20)%2C%0A%20%20%20%20%20%20%20%20%20%20Stacked%20Data%20Column(%20%22Data%22%20)%2C%0A%20%20%20%20%20%20%20%20%20%20Name(%20%22Non-stacked%20columns%22%20)(Keep(%20%3Aage%20))%0A)%3B%0A%20%0A%2F%2F%20Three%20ways%20to%20make%20a%20graph%20with%20mean%20and%20error%20bars%20based%20known%20SE%0A%2F%2F%201.%20Overlay%20plot%20with%20range%20plot.%20Ugly%20graph%20and%20markers%20are%20visible%20for%20%C2%B1%20SE%0Adtsum%20%26lt%3B%26lt%3B%20Overlay%20Plot(%20X(%20%3Aage%20)%2C%20Y(%20%3AName(%20%22Mean(height)%22%20)%2C%20%3Alower%2C%20%3Aupper%20)%2C%20Range%20Plot(%201%20)%20)%3B%0A%20%0A%2F%2F%202.%20Graph%20builder.%20Nicer%20graph%20but%20table%20must%20be%20stacked%20first.%0Adtstacked%20%26lt%3B%26lt%3B%20Graph%20Builder(%0A%20%20%20%20%20%20%20%20%20%20Show%20Control%20Panel(%200%20)%2C%0A%20%20%20%20%20%20%20%20%20%20Variables(%20X(%20%3Aage%20)%2C%20Y(%20%3AData%20)%20)%2C%0A%20%20%20%20%20%20%20%20%20%20Elements(%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Points(%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20X%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Y%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Legend(%200%20)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Jitter(%200%20)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Summary%20Statistic(%20%22Mean%22%20)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Error%20Bars(%20%22Range%22%20)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20)%0A%20%20%20%20%20%20%20%20%20%20)%0A)%3B%0A%0A%2F%2F%203.%20Chart%20platform.%20Similar%20to%20graph%20in%202.%0Adtstacked%20%26lt%3B%26lt%3B%20Chart(%0A%20%20%20%20%20%20%20%20%20%20X(%20%3Aage%20)%2C%0A%20%20%20%20%20%20%20%20%20%20Y(%20Mean(%20%3AData%20)%20)%2C%0A%20%20%20%20%20%20%20%20%20%20Add%20Error%20Bars%20to%20Mean(%20Range%20)%2C%0A%20%20%20%20%20%20%20%20%20%20Overlay%20Axis%20%26lt%3B%26lt%3B%20%7B%7BMin(%2052.5%20)%2C%20Max(%2072.5%20)%2C%20Inc(%205%20)%2C%20Minor%20Ticks(%201%20)%7D%7D%2C%0A%20%20%20%20%20%20%20%20%20%20Y%5B1%5D%20%26lt%3B%26lt%3B%20Point%20Chart(%201%20)%0A)%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%20style%3D%22margin%3A%200.0px%200.0px%200.0px%200.0px%3B%20font%3A%2014.0px%20Courier%3B%22%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-47653%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Adding%20error%20bars%20in%20JMP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-47653%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EThere%20is%20an%20easier%20option%20-%20even%20without%20the%20jitter-problem%20when%20you%20use%20an%20additional%20overlay%20variable.%20First%20create%20a%20column%20for%20lower%20and%20the%20upper%20value%20each%20(as%20descripted%20above).%20Then%20stack%20the%20data%20(central%20point%2C%20upper%20value%2C%20lower%20value).%20Open%20graph-builder%20and%20add%20the%20stacked%20data%20to%20the%20y-axis.%20Then%20choose%20summary%20statistic%20%22mean%22%20and%20Error%20bars%20%22range%22.%20That's%20it.%20Even%20without%20the%20jitter%20problem!%20Good%20luck%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Acara_con_una_leve_sonrisa%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-845705%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Adding%20error%20bars%20in%20JMP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-845705%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThere%20is%20an%20'Interval'%20feature%20that%20allows%20you%20to%20add%20the%20error%20bars%20(i.e.%2C%20with%20a%20column%20containing%20the%20standard%20deviations%20for%20each%20row%2Fsample)%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22jstanfill4911_0-1741044734850.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jstanfill4911_0-1741044734850.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jstanfill4911_0-1741044734850.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jstanfill4911_0-1741044734850.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jstanfill4911_0-1741044734850.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jstanfill4911_0-1741044734850.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jstanfill4911_0-1741044734850.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F73536i17858F7C0EC43CC4%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22jstanfill4911_0-1741044734850.png%22%20alt%3D%22jstanfill4911_0-1741044734850.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-845708%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Adding%20error%20bars%20in%20JMP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-845708%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EFor%20example%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22jstanfill4911_1-1741045019635.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jstanfill4911_1-1741045019635.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jstanfill4911_1-1741045019635.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jstanfill4911_1-1741045019635.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jstanfill4911_1-1741045019635.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jstanfill4911_1-1741045019635.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F73537i96A95F8B5EAC1DA9%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22jstanfill4911_1-1741045019635.png%22%20alt%3D%22jstanfill4911_1-1741045019635.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22jstanfill4911_2-1741045101554.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jstanfill4911_2-1741045101554.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jstanfill4911_2-1741045101554.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jstanfill4911_2-1741045101554.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jstanfill4911_2-1741045101554.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jstanfill4911_2-1741045101554.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F73538i3AEC5E04F63DC9C6%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22jstanfill4911_2-1741045101554.png%22%20alt%3D%22jstanfill4911_2-1741045101554.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-4411%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Adding%20error%20bars%20in%20JMP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-4411%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThere%20is%20an%20add-in%20from%20Ian%20Cox%20that%20might%20be%20what%20you%20are%20looking%20for.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Fdocs%2FDOC-6298%22%20target%3D%22_blank%22%3EJMP%20Add-In%20that%20plots%20uncertainty%20in%20X%20and%20Y%20values%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-4407%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Adding%20error%20bars%20in%20JMP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-4407%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThis%20is%20really%20useful%20but%20how%20do%20you%20remove%20the%20connecting%20lines%20for%20upper%20and%20lower%20(other%20than%20by%20scripting)%3F%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EPhil%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-4408%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Adding%20error%20bars%20in%20JMP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-4408%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ERight%20click%20on%20the%20graph%20and%20select%20%3CSTRONG%3ELine%20%26gt%3B%20Y%20%26gt%3B%20upper%3C%2FSTRONG%3E%20(or%20whatever%20you%20called%20your%20upper%20bound%20column).%26nbsp%3B%20Repeat%20for%20the%20lower%20bound.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-4409%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Adding%20error%20bars%20in%20JMP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-4409%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EBrilliant.%20I%20did%20not%20realise%20that%20is%20was%20that%20simple.%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
laurence
Level I

Adding error bars in JMP

Hi guys, I have a simple problem which I have been unable to solve. I have a dataset which I would like to plot in a Fit Y by X style scatterplot against another dataset. For each datapoint I know the standard deviation and I would like to add these standard deviations as error bars to the plot, is there anyway to do this?

It seems like JMP only does this normally if it has calculated the standard deviation itself, I don't want this as I already know the standard deviation for each and every datapoint.

Thanks for any help

11 REPLIES 11

Re: Adding error bars in JMP

There is an 'Interval' feature that allows you to add the error bars (i.e., with a column containing the standard deviations for each row/sample):

 

jstanfill4911_0-1741044734850.png

 

Re: Adding error bars in JMP

For example

 

jstanfill4911_1-1741045019635.png

jstanfill4911_2-1741045101554.png

 

 

Recommended Articles