Results 1 to 3 of 3
  1. #1
    noobplus's Avatar
    noobplus is offline Senior Member
    Join Date
    Feb 2012
    Location
    chennai,south of India(south east of asia)
    Posts
    232
    Rep Power
    3

    Question "at regular intervals" problem

    ive a notepad of 'n' lines, each value in an array xArray[n]
    now I've to find out "kurtosis" for every 5 values of 'n'
    (for example, kurtosis(first 5 values), kurtosis(next 5 values), etc)
    *kurtosis is a formula which can be written in an expression..
    Java Code:
    double zz=((TotalLineCount*(TotalLineCount+1))/((TotalLineCount-1)*(TotalLineCount-2)*(TotalLineCount-3))*(kurtbr))-((3*(TotalLineCount-1)*(TotalLineCount-1))/ (TotalLineCount-2)*(TotalLineCount-3));
    *kurtbr is already been calculated by an expression. and now,
    how do we create the loop to do it every five values.
    ive tried this:
    Java Code:
    for(int j=0;j<(n);j=j+5)
      {
         for(int k=j+0;k<j+5;k++)
           {
              double[] zz = /**the formula mentioned earlier**/ z1;
              
            }
       }
    is there a simpler technique?

    regards
    dhilip
    Last edited by noobplus; 03-17-2012 at 12:24 PM.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is online now Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,404
    Rep Power
    20

    Default Re: "at regular intervals" problem

    Don't misuse polls.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    noobplus's Avatar
    noobplus is offline Senior Member
    Join Date
    Feb 2012
    Location
    chennai,south of India(south east of asia)
    Posts
    232
    Rep Power
    3

    Default Re: "at regular intervals" problem

    Quote Originally Posted by DarrylBurke View Post
    Don't misuse polls.

    db
    ok soz. did u understand my thread? :P

    regards
    dhilip
    Last edited by noobplus; 03-17-2012 at 12:39 PM.

Similar Threads

  1. Replies: 2
    Last Post: 10-03-2011, 06:22 PM
  2. Replies: 23
    Last Post: 04-18-2010, 09:35 PM
  3. problem with argument list and precedence "(" and ")"
    By helpisontheway in forum Advanced Java
    Replies: 6
    Last Post: 12-24-2009, 07:50 AM
  4. Replies: 1
    Last Post: 10-20-2008, 07:35 AM

Posting Permissions

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