Using a Cube to store Histogram information?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I am running regressions off of SQL server using VBA for calculation.
In addition to this, I would like to be able to create histograms with
that bucket all the variables. It should be able to create
cross-distributions for 1, 2, or 3 variables, and do so with a simple
..AddRow() method or something like that.

Since there are lots of variables in the regression, I do not want to
create a huge array with a dimension for each variable. I expect most
cross-buckets (sub-cubes) to be empty, so I think that a SparseCube
object could do the trick, if such a thing were to exist.

Also, I am calculating directly off a SQL statement that returns
millions of rows, so whatever solution I take must be able to handle
that and not slow down the regression calculation too much.

If there is an entirely different way to bucket and store the data such
that I can easily aggregate over variables to get a 1, 2, or 3
dimensional grid of data that an Excel histogram can easily display,
however, I would be open to it. Of the class of things that work,
whatever is fastest to obtain or build...

Any help would be appreciated.

.



Relevant Pages

  • Re: 2.6.30-rc deadline scheduler performance regression for iozone over NFS
    ... A patch added in the 2.6.30 development cycle caused a performance ... regression in my NFS iozone testing. ... commit 47a14ef1af48c696b214ac168f056ddc79793d0e ... the calculation doesn't look right. ...
    (Linux-Kernel)
  • Re: Using Recursion looping through a ADO RS
    ... % is the modulo division operator in SQL 2000. ... itemId = 20" to SQL Server Query Analyzer, ... >> calculation. ... I open the recordset, exctract the RawData and after doing some ...
    (microsoft.public.dotnet.languages.vb)
  • Re: calculate only visible data in the report
    ... I'm not understanding - If you are talking about a standard Sql Server ... If you are referring to data extracted to a report that may make more ... footer, I need to show only visible rows grand total. ... I dont no how to avoid those hidden rows values from the calculation. ...
    (microsoft.public.sqlserver)
  • Re: RAMDRIVE for better performance ?
    ... and I/O stalls. ... It's hard to believe sql server is only using 80MB, ... With one hard drive you can never separate the data files ... Mb (from 70 Mb at start to 150 Mb after finishing the calculation). ...
    (microsoft.public.sqlserver.tools)
  • Re: Using a Cube to store Histogram information?
    ... I cannot help with the SQL and Cube, but if you'd like to look at VBA code ... for histograms, take a look at the free, unprotected add-in at my "Better ... >I am running regressions off of SQL server using VBA for calculation. ...
    (microsoft.public.excel.programming)