Linear regression without intercept in NCL

From: wuhui <pop122344_at_nyahnyahspammersnyahnyah>
Date: Fri Jan 04 2013 - 09:59:03 MST

Hi all in mail-list,

        I calculated the linear regression coefficient using build-in
        function regline(), and recognized that the function regline()
        is for a linear regression with a constant (i.e. intercept).
        So, I wonder that is there any function/script for a linear
        regression without intercept, that is, when x=0, y=0?
        Further more, are there some functions/scripts which calculate
        common statistical errors of linear regression, for example,
        RMSE/D (Root-Mean-Square Error/Deviation), R^2 (Coefficient of
        Thanks in advance!
Best regards
Hui Wu

ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Fri Jan 4 09:59:26 2013

This archive was generated by hypermail 2.1.8 : Mon Jan 14 2013 - 14:31:38 MST