Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Strange questions from a nitpicker ... ;p

Strange questions from a nitpicker ... ;p

Scheduled Pinned Locked Moved The Lounge
questiondiscussion
28 Posts 19 Posters 6 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 0 0x01AA

    I need to show some value for continous measurement(s): a.) Current Measurement Value b.) Mean Value of the measurements c.) Standard deviation of the measurements c.) In case there is no or only one measurement... From my point of view, I should not show any value here. Not even 0 b.) I have my doubts. The mean value is the current value. Or should I also show blank? a.) Is easy. As soon one has measured it is easy to show current valu Especally b.) drives me crazy Any suggestions/thoughts? Thank you very much in advance ;)

    G Offline
    G Offline
    Gary Wheeler
    wrote on last edited by
    #21

    Know your audience. Ask the user who will be looking at these values what they think they should see. The answers might surprise you. For example, I have an application where I don't display statistical data until a certain number of 'stable' samples have been seen. Stability is determined by a filter on the input data, which isn't useful while the process being measured is starting.

    Software Zen: delete this;

    1 Reply Last reply
    0
    • 0 0x01AA

      I need to show some value for continous measurement(s): a.) Current Measurement Value b.) Mean Value of the measurements c.) Standard deviation of the measurements c.) In case there is no or only one measurement... From my point of view, I should not show any value here. Not even 0 b.) I have my doubts. The mean value is the current value. Or should I also show blank? a.) Is easy. As soon one has measured it is easy to show current valu Especally b.) drives me crazy Any suggestions/thoughts? Thank you very much in advance ;)

      M Offline
      M Offline
      maze3
      wrote on last edited by
      #22

      the question for more context is that it depends. so go back to the user and ask for more clerification what is useful to them or what is the end goal of said mesaurement. a number on it's own is meaningless Someone needs to know if value is within tolerance - so current value unless said tolerance is based on a time window and so would need to be able to clearly indicate what that time window is used over the mean

      1 Reply Last reply
      0
      • 0 0x01AA

        I need to show some value for continous measurement(s): a.) Current Measurement Value b.) Mean Value of the measurements c.) Standard deviation of the measurements c.) In case there is no or only one measurement... From my point of view, I should not show any value here. Not even 0 b.) I have my doubts. The mean value is the current value. Or should I also show blank? a.) Is easy. As soon one has measured it is easy to show current valu Especally b.) drives me crazy Any suggestions/thoughts? Thank you very much in advance ;)

        K Offline
        K Offline
        kholsinger
        wrote on last edited by
        #23

        How often do values update? Once every 0.1 second? Once per second? Minute? Hour? Day? In the first two cases, display probably doesn't matter. If user has more than a few seconds of looking at the display, then it matters. (And how big is the display? "blank" you'd have space for, but I'm guessing not a "can't display value due to insufficient data" message would be too large.

        1 Reply Last reply
        0
        • 0 0x01AA

          I need to show some value for continous measurement(s): a.) Current Measurement Value b.) Mean Value of the measurements c.) Standard deviation of the measurements c.) In case there is no or only one measurement... From my point of view, I should not show any value here. Not even 0 b.) I have my doubts. The mean value is the current value. Or should I also show blank? a.) Is easy. As soon one has measured it is easy to show current valu Especally b.) drives me crazy Any suggestions/thoughts? Thank you very much in advance ;)

          M Offline
          M Offline
          Martijn Smitshoek
          wrote on last edited by
          #24

          I would really like to add to your confusion. You're talking about sample count = 1 etc, but you're talking of a continuous stream of samples, have you thought about what "average" means if you have had 94760434786353845 samples accumulated over 72 hours in a changing signal, would you *seriously* want to report the average of all that? My engineering self wants to suggest that you use a sliding average window of a fixed size, say, 10, but it could be anything reasonable considering the rate of change, and any noise that you would otherwise want to average out. Then, if you pick that number, say, N=10, then you can only start reporting after you've had at least 10 samples. And that would answer your original question.

          1 Reply Last reply
          0
          • 0 0x01AA

            I need to show some value for continous measurement(s): a.) Current Measurement Value b.) Mean Value of the measurements c.) Standard deviation of the measurements c.) In case there is no or only one measurement... From my point of view, I should not show any value here. Not even 0 b.) I have my doubts. The mean value is the current value. Or should I also show blank? a.) Is easy. As soon one has measured it is easy to show current valu Especally b.) drives me crazy Any suggestions/thoughts? Thank you very much in advance ;)

            B Offline
            B Offline
            BernardIE5317
            wrote on last edited by
            #25

            Just wear green socks.

            1 Reply Last reply
            0
            • 0 0x01AA

              I need to show some value for continous measurement(s): a.) Current Measurement Value b.) Mean Value of the measurements c.) Standard deviation of the measurements c.) In case there is no or only one measurement... From my point of view, I should not show any value here. Not even 0 b.) I have my doubts. The mean value is the current value. Or should I also show blank? a.) Is easy. As soon one has measured it is easy to show current valu Especally b.) drives me crazy Any suggestions/thoughts? Thank you very much in advance ;)

              D Offline
              D Offline
              Dani6
              wrote on last edited by
              #26

              Blanks can be mistaken for a missed value. I suggest a "null". A quick and thorough guide to ‘null’: what it is, and how you should use it

              1 Reply Last reply
              0
              • 0 0x01AA

                I need to show some value for continous measurement(s): a.) Current Measurement Value b.) Mean Value of the measurements c.) Standard deviation of the measurements c.) In case there is no or only one measurement... From my point of view, I should not show any value here. Not even 0 b.) I have my doubts. The mean value is the current value. Or should I also show blank? a.) Is easy. As soon one has measured it is easy to show current valu Especally b.) drives me crazy Any suggestions/thoughts? Thank you very much in advance ;)

                M Offline
                M Offline
                MikeCO10
                wrote on last edited by
                #27

                I'd say it is an exception case that yields "Insufficient Data". One measurement is a data point. You can't infer any unbiased statistics when n=1. There is no average, mean, or SD. If you're stuck having to show a number for some reason, that's an issue. I suppose you could treat it as a null, the same as having no data.

                1 Reply Last reply
                0
                • 0 0x01AA

                  I need to show some value for continous measurement(s): a.) Current Measurement Value b.) Mean Value of the measurements c.) Standard deviation of the measurements c.) In case there is no or only one measurement... From my point of view, I should not show any value here. Not even 0 b.) I have my doubts. The mean value is the current value. Or should I also show blank? a.) Is easy. As soon one has measured it is easy to show current valu Especally b.) drives me crazy Any suggestions/thoughts? Thank you very much in advance ;)

                  J Offline
                  J Offline
                  jschell
                  wrote on last edited by
                  #28

                  For zero. Don't show anything. So don't even show the text. Either for a report or a dashboard instead of those values display "No measurements" For one, the calculated values still work. Presumably you also display a count of values.

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups