+ Reply to Thread
Results 1 to 5 of 5

Histogram + Frequency + Statistical Analysis

  1. #1
    Registered User
    Join Date
    08-28-2007
    Posts
    2

    Histogram + Frequency + Statistical Analysis

    I have a collection of data points that look something like this:

    0.123 5
    0.235 7
    0.245 3
    0.456 6
    1.109 4

    Column 1 = label (load time)
    Column 2 = frequency

    I have up to 50,000 Rows of Data!

    I'm able to do a generic Histogram chart, but what I am looking for is to obtain the standard statistical data set off of this data: mean, median, mode, standard deviation...etc.

    The issue I'm having is that all the formulas want raw data (no frequency calculations). Is there an easy way to get the statistical analysis either by using the frequency numbers or by using some kind of VBA code or other function to convert the frequency back into the original data elements?

    The report I receive is auto aggregated into frequency counts and I have no way of receiving the original raw data points.

    Thanks for the help in advance!

  2. #2
    Forum Expert
    Join Date
    09-09-2005
    Location
    England
    MS-Off Ver
    2007
    Posts
    1,500
    I started going down the formula route, bur decided a macro would be quicker, just as long as you do not run out of rows

    See the attached workbook

    Regards

    Dav
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    08-28-2007
    Posts
    2

    Macro worked

    Thanks for the help. That did the trick. I've expanded the macro to go to the next column after 65000 entries. I think my largest data set was 65000x8 (approx).

  4. #4
    Registered User
    Join Date
    04-22-2015
    Location
    london,england
    MS-Off Ver
    10
    Posts
    2

    Re: Histogram + Frequency + Statistical Analysis

    I need to do a similar thing but with car names...is this possible?

    Ford 356
    Volkswagen 273
    Vauxhall 205
    Toyota 157
    Peugeot 140
    BMW 135
    Nissan 132
    Honda 130
    Audi 124
    Citroen 103
    BMW Mini 101
    Mercedes Benz 97
    Renault 96
    Fiat 88
    Mazda 83
    Hyundai 74
    Skoda 72
    Volvo 64
    Land Rover 55
    Kia Motors UK 54
    Seat 42
    Suzuki 42
    Other 29
    Saab 24
    Jaguar 20
    Mitsubishi 20
    (Chevrolet) Jeep 17
    Alfa Romeo 15
    Smart Car 14
    Lexus 13
    Rover 11
    Subaru 10
    Porsche 9
    Chrysler 2
    Daewoo 2
    Daihatsu 2
    Bentley 0

  5. #5
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Histogram + Frequency + Statistical Analysis

    You will very likely get a better response to your question if you start a new thread instead of adding yours to an already existing thread. Adding your question to that of another person is called "Hijacking" and is against the rules.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1