[math] JDBC output to generate statistical results.

2014-08-26 Thread Kulpanowski, David
Using jdbc I am querying my database of ambulance response times. My goal is to take the output and process it into statistics using Jakarta Commons Math library. So far I am successful in querying my database and outputting the response times to the console. My next step is to process this

Re: [math] JDBC output to generate statistical results.

2014-08-26 Thread Benedikt Ritter
Hello David, the problem you're encountering is a problem with scopes. A variable is only available in the scope it was defined. In you're code the variable values is defined within the scope of the while loop. This means, that the variable is only defined between the curly brackets of the while

Re: [math] JDBC output to generate statistical results.

2014-08-26 Thread Benedikt Ritter
In you're code the variable values is defined within the scope of the while loop. D'oh worst of typos... should be in your code of corse ;-) 2014-08-26 15:13 GMT+02:00 Benedikt Ritter brit...@apache.org: Hello David, the problem you're encountering is a problem with scopes. A variable is

RE: [math] JDBC output to generate statistical results.

2014-08-26 Thread Kulpanowski, David
To: Commons Users List Subject: Re: [math] JDBC output to generate statistical results. In you're code the variable values is defined within the scope of the while loop. D'oh worst of typos... should be in your code of corse ;-) 2014-08-26 15:13 GMT+02:00 Benedikt Ritter brit...@apache.org: Hello

Re: [math] JDBC output to generate statistical results.

2014-08-26 Thread Bernd Eckenfels
List user@commons.apache.org Betreff: RE: [math] JDBC output to generate statistical results. Thank you Mr. Ritter: Two issues: 1.) I am attempting to obtain univariate statistics from thousands of ambulance responses. For example, ambulance responses (in seconds) 534, 678, 943, 194 would

Re: [math] JDBC output to generate statistical results.

2014-08-26 Thread Brent Worden
: ‎26.‎08.‎2014 15:55 An: Commons Users List user@commons.apache.org Betreff: RE: [math] JDBC output to generate statistical results. Thank you Mr. Ritter: Two issues: 1.) I am attempting to obtain univariate statistics from thousands of ambulance responses. For example, ambulance responses

RE: [math] JDBC output to generate statistical results.

2014-08-26 Thread Kulpanowski, David
...@gmail.com] Sent: Tuesday, August 26, 2014 11:00 AM To: Commons Users List Subject: Re: [math] JDBC output to generate statistical results. Another alternative is to use a org.apache.commons.math3.stat.descriptive.DescriptiveStatistics object to collect all the data and then use it to compute

Re: [math] JDBC output to generate statistical results.

2014-08-26 Thread Phil Steitz
not store the full data array so can be used with very large samples. Phil -Original Message- From: Brent Worden [mailto:brent.wor...@gmail.com] Sent: Tuesday, August 26, 2014 11:00 AM To: Commons Users List Subject: Re: [math] JDBC output to generate statistical results. Another

Re: [math] JDBC output to generate statistical results.

2014-08-26 Thread Bernd Eckenfels
? -Original Message- From: Brent Worden [mailto:brent.wor...@gmail.com] Sent: Tuesday, August 26, 2014 11:00 AM To: Commons Users List Subject: Re: [math] JDBC output to generate statistical results. Another alternative is to use a org.apache.commons.math3