+ Reply to Thread
Results 1 to 4 of 4

Thread: computing with R a linear combination of chi-squared

  1. #1
    Points: 2,938, Level: 33
    Level completed: 26%, Points required for next Level: 112

    Posts
    35
    Thanks
    2
    Thanked 0 Times in 0 Posts

    computing with R a linear combination of chi-squared



    Good morning!

    Please, do you know how to compute in R the distribution of a linear combination of chi-squared variables?

    I have found a package (tdist) to compute a linear combination of t-Student variables, but not for chi-squared.

    Thanks in advance and Regards,

  2. #2
    TS Contributor
    Points: 4,946, Level: 44
    Level completed: 98%, Points required for next Level: 4

    Location
    Nottingham
    Posts
    680
    Thanks
    0
    Thanked 27 Times in 27 Posts
    i do not know if this helps, but theoretically, the sum of chi squares is a chi square with df eaqual to the sum of the dfs of each chisq.

  3. #3
    Bhoot
    Points: 1,264, Level: 19
    Level completed: 64%, Points required for next Level: 36

    Posts
    1,758
    Thanks
    40
    Thanked 124 Times in 106 Posts
    Quote Originally Posted by Masteras View Post
    i do not know if this helps, but theoretically, the sum of chi squares is a chi square with df eaqual to the sum of the dfs of each chisq.
    He is interested in linear combination, not only the sum of chisquare rvs.

    Hi ruski,
    I don't think any R package support this.
    May be the following link is helpful ( it is not an R code)

    http://www.robertnz.net/QF.htm
    In the long run, we're all dead.

  4. #4
    Points: 2,938, Level: 33
    Level completed: 26%, Points required for next Level: 112

    Posts
    35
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Smile thanks


    Thanks a lot to both!
    vinux, thanks for the link. So perhaps I could try to compute the algorithm with R.
    It is a shame, I had the hope that R had the problem solved already!
    See you here!!
    ruski

+ Reply to Thread

Similar Threads

  1. Linear Regression - About R-squared and slope
    By non-sleeper in forum Regression Analysis
    Replies: 0
    Last Post: 03-20-2010, 12:01 PM
  2. unbiased linear combination
    By WeeG in forum Statistics
    Replies: 1
    Last Post: 04-12-2009, 11:47 AM
  3. Replies: 0
    Last Post: 10-01-2008, 12:13 PM
  4. non-linear combination of variables to obtain new ones
    By rocket in forum Psychology Statistics
    Replies: 0
    Last Post: 09-07-2006, 01:04 PM
  5. Prob w/Combination of At Least AND Combination
    By ckbeme in forum Probability
    Replies: 5
    Last Post: 04-23-2006, 08:38 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








Advertise on Talk Stats