Displaying 1 result from an estimated 1 matches for "sumyj".
Did you mean:
sumy
2006 Jul 11
1
test regression against given slope for reduced major axis regression (RMA)
...### Two one dimensional arrays XjArray and YjArray containing the X
### and Y vectors.
###
### XjArray = [0 0.9 1.8 2.6 3.3 4.4 5.2 6.1 6.5 7.4]
### YjArray = [5.9 5.4 4.4 4.6 3.5 3.7 2.8 2.8 2.4 1.5]
###
### Output:
###
### A list with the following:
###
### sumXjYj As Double
### sumXj As Double, sumYj As Double
### sumXjSquared As Double, sumYjSquared As Double
### n As Long
### varXj, varYj
### output(7)
###
### ============================================================
sumXjYj <- 0
sumXj <- 0
sumYj <- 0
n <- 0
n <- length(XjArray)
sumXjSquared <- 0
sumYjSqua...