Find R square with different length vectors
조회 수: 5 (최근 30일)
I have two vectors, first with 50 elements and second with 3000 elements. Second vector is a Gompertz Function modeling of the first, and I need to calculate the R2, but in all the functions that I found the problem is I need two same size vectors... Can you help me?
Image Analyst 2021년 8월 6일
You can't as far as I know. You can only correlate the 50 "test" data values with the 50 corresponding modeled versions of them -- those same values run through the model. How did you even get the other 250 input values to do the model on?