Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7632021
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T06:30:39+00:00 2026-05-31T06:30:39+00:00

I am trying to build a windows phone 7 app with vb.net And i

  • 0

I am trying to build a windows phone 7 app with vb.net

And i need to clear my listbox:

932 100 592 21 924 641 200 1230 5200 842 951 658

I would like to remove the “wrong numbers” because i want to get the average.
In this case the wrong numbers are:
too low: 100, 21, 200
too high: 5200

I just figure out a way to do this

For each items in listbox 
 calc the avarage
Next

for each item in listbox
 if item < avarage/2 then
 remove item
 end if
 if item > avarage*2 then
 remove item
 end if
next

for each item in listbox
calc the avarage
next
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T06:30:41+00:00Added an answer on May 31, 2026 at 6:30 am

    This is how to find outliers in a series of values:

    1. Compute the mean of all the points: m

    2. Compute the standard deviation: s

    3. For each point with value v if abs(v - m) > s then v is an outlier.

    Here is the pseudo code to do that:

    m = sum(v0, v1, ...) / N
    diff = sum((v0-m)^2, (v1-m)^2, ...) / N
    s = sqrt(diff)
    
    for each value v
        if abs(v - m) > s then
            remove v
        end if
    end for
    

    Now, you have M values and you can compute their average:

    average = sum(V0, V1, ...) / M
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to build a Windows Phone 7.1 application in which I need to
I'm trying to build JPG upload functionality into our Windows Phone app. The server-side
I am trying to build a downloaded Python app on Windows that uses Pygame.
I am trying to build my iphone app from a swf in windows using
I am attempting to build a phonegap app for Windows Phone 7. I am
I'm trying to build the Windows version of my app. The program compiles and
I am trying to build a Windows phone 7.1 project on Windows 8 ,
I am trying to make a Windows Phone App. I could not find any
What I'm trying to do is to build custom web-browser into my windows phone
I am trying to build a Windows 8 metro-style app that will operate as

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.